Snakes with class

Implementation of snakes using a class to enable automatic display of the snake over an image.
3.6K Downloads
Updated 17 Dec 2009

View License

This package implements snakes (active contours) through a class `dip_snake`. The function `snakeminimize` modifies the snake to move it to a lower energy configuration, which typically corresponds to the snake following edges in an image. When the semicolon is left off a statement that returns an object of this class, the snake is automatically drawn on top of the image in the current figure window.

`snakeminimize` is very general in the sense that it can be used to implement many types of snakes found in the literature. The snake's external force is an input parameter, and hence the user can implement the GVF (gradient vector flow) or VFC (vector field convolution) external forces, or simply use the gradient. The balloon force is included.

This package add to and builds on DIPimage, a scientific image analysis toolbox for MATLAB. See http://www.diplib.org/

Cite As

Cris Luengo (2024). Snakes with class (https://www.mathworks.com/matlabcentral/fileexchange/26124-snakes-with-class), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: Parametric Active Model Toolbox

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

snakes_with_class/

snakes_with_class/private/

Version Published Release Notes
1.0.0.0