/snakes

Active contours implementation.

Primary LanguagePython

Snakes with python

This is a simple snakes implementation using python outlined in [1] with help from [2]. The example file implements the example outlined in [2]. Python library dependencies are numpy, scipy, and matplotlib.

After cloning the repository, you should just be able to run

python example.py

to see the example problem. After that, run

python example2.py

to see a slightly more complicated shape.

[1]: Snakes: Active contour models. M Kass, A Witkin, D Terzopoulos - International journal of computer vision, 1988

[2]: A simple implementation of snakes, http://www.cb.uu.se/~cris/blog/index.php/archives/217