Active Contour Segmentation

Finds foreground and background regions using level sets and active contours.
29.6K Downloads
Updated 31 Mar 2016

View License

This code implements the well-known Chan-Vese segmentation algorithm from the paper "Active Contours Without Edges."
This technique deforms an initial curve so that it separates foreground from background based on the means of the two regions. The technique is very robust to initialization and gives very nice results when there is a difference between the foreground and background means.

This code uses active contours and level sets in the implementation. It could also serve as a good framework for implementing all kinds of region-based active contour energies.

1.) Download
2.) Unzip
3.) Run >>region_seg_demo

See this site for experiments, videos, and more information on segmentation, active contours, and level sets:

[ http://www.shawnlankton.com/2007/05/active-contours/ ]

Cite As

Shawn Lankton (2024). Active Contour Segmentation (https://www.mathworks.com/matlabcentral/fileexchange/19567-active-contour-segmentation), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007a
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.0.0

improved code
Adding BSD Licence