snakes (active contours) implemented with OpenCV