The shape constraint’s effect of avoiding boundary leakage.The yellow curve represents the initial contour, the red curve represents the contour in the process of evolution, and the green curve represents the contour drawn manually by the specialist. The red arrows display the forces of the LCV model near regions of easily occurring boundary leakage, and the blue arrows represent the shape constraint forces pointing toward the direction of the initial contour.