Snakes with class
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 (2025). Snakes with class (https://www.mathworks.com/matlabcentral/fileexchange/26124-snakes-with-class), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Image Processing and Computer Vision > Image Processing Toolbox > Image Segmentation and Analysis > Image Segmentation > Active contours >
Tags
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!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
snakes_with_class/
snakes_with_class/private/
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |