Image analysis in medicine, biology or in movie production usually requires thousands of images to be processed. Therefore automatization is crucial. For example, white may be given the value 1 and black the value 0. For each pixel in the image we measure the color intensity of the pixel and subtract the color intensity of nearby pixels. In the right image above, we have displayed the intensity difference.
White colors indicate a large difference in intensity of neighboring pixels.
Original image with an initial curve Our goal here is to extract the edge of the object within the square. The detected boundary. Here our algorithm has found the boundary that we are interested in. Extracted boundary Here the boundary of interest has been extracted. If the snake fits the boundary perfectly, the error is zero.