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.
3.) Run >>region_seg_demo
See this site for experiments, videos, and more information on segmentation, active contours, and level sets:
Shawn Lankton (2022). Active Contour Segmentation (https://www.mathworks.com/matlabcentral/fileexchange/19567-active-contour-segmentation), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!