I am following a research paper in which contour of hand is determined as shown in Figure 4.
In this paper, snakes were used to perform segmentation. A snake can be defined as an energy-minimizing spline guided by external restraining forces and influenced by image forces, which tends to localize it in features such as lines and edges. It is therefore an active contour that evolves dynamically relevant to the contours of the image. The snake is represented as a parametric curve by r(s) = (x(s),y(s)), with s(0, 1). Its functional energy can be expressed as:
Where Eint represents the internal energy of the snake, Eimg image forces and Eres external restraining forces.
Can you help in coding for this?
This is the image whose contours I need to find.