There are two commons methods that help us autofit a contour.
- Snake : Snake is an evolution method. We divide an initial contour into many points. Then for each point, we evolue it by some constraints, for exemples, the first derivation, the second derivation, the curvature of contour, the distance between two neighbor points.
- Levelset : Levelset is also an evolution method. We consider the contour is a set of points at which the value of a function Phi is zeros. Instead of evolution of point, we evolue the function Phi.
Implementation:
There are many implementations of Active Contour available in the internet, but almost is in Matlab. In my way, I found some implementation in C++.
1. Snake in Java (we could easily convert to C++). http://www.developpez.net/forums/d498649/autres-langages/algorithmes/contribuez/image-snake-contour-actif/
2. Levelset in C++ . Ofeli at http://code.google.com/p/ofeli/
No comments:
Post a Comment