answered Aug 28 '12
Try looking at active contours. OpenCV has it in their Legacy folder under the name cvSnake.