Snakes with class

Implementation of snakes using a class to enable automatic display of the snake over an image.

You are now following this Submission

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 (2026). Snakes with class (https://uk.mathworks.com/matlabcentral/fileexchange/26124-snakes-with-class), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: Parametric Active Model Toolbox

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0