Snake Algorithm

Version 1.0 (226 KB) by Iman
The goal is to find a contour that best approximates the perimeter of an object.
5K Downloads
Updated 10 Feb 2016

View License

Editor's Note: This file was selected as MATLAB Central Pick of the Week

Snakes, or active contours, are curves defined within an image domain that can move under the influence of internal forces coming from within the curve itself and external forces computed from the image data. The goal is to find a contour that best approximates the perimeter of an object. It is helpful to visualize it as a rubber band of arbitrary shape that is capable of deforming during time, trying to get as close as possible to the target contour.
Please see the attached document "overview.pdf" to understand the underlying equations and algorithm used to develop this toolbox.
Please visit the following link to see an example:
https://www.youtube.com/watch?v=SdqBNFx-uNc

Cite As

Iman (2024). Snake Algorithm (https://www.mathworks.com/matlabcentral/fileexchange/51220-snake-algorithm), MATLAB Central File Exchange. Retrieved .

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

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0

Adding tags.
Description
Video
Image