Opencv how to make edges more visible

because if I set like 10 I don’t get closed contour of white gummy. I tried to make so morpho operations like closing with a lot of iterations but it provides some displacements and more noise