3.16667

3.2 | 6 ratings Rate this file 185 downloads (last 30 days) File Size: 10.49 KB File ID: #19567

Active Contour Segmentation

by Shawn Lankton

 

12 Apr 2008 (Updated 15 Apr 2008)

No BSD License  

Finds foreground and background regions using level sets and active contours.

Download Now | Watch this File

File Information
Description

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/ ]

MATLAB release MATLAB 7.4 (R2007a)
Zip File Content  
Other Files regionbased_seg/airplane.jpg,
regionbased_seg/region_seg.m,
regionbased_seg/region_seg_demo.m
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (7)
14 Apr 2008 James Malcolm

Great self-contained demo. It runs right out of the box, and is very fast.

27 May 2008 wang mian

hi,profess,when I run it,it says:"Error in ==> region_seg at 70
      showCurveAndPhi(I,phi,its); ",
I don't know how to deal it.Could you tell me how should I do next please.
Thank you very much!!

01 Aug 2008 Puteri Sulaiman

thank you, really helps a lot with my project.. been to your web site, also really usefull.. :)

15 Oct 2008 Mona Elshinawy

I tried the code on mammograms and it was working but the 250 iterations were not enough at all to get the breast contour, I was trying to figure out what to change in your code to have larger steps for each iteration. I use very large images(ex.4069x2084).Your cooperation is greatly appreciated

15 Oct 2008 Mona Elshinawy  
07 Mar 2009 Jun.C รน  
03 Nov 2009 Ben Hon  
Please login to add a comment or rating.
Updates
15 Apr 2008

Fixed mlint errors, streamlined code, added more help, corrected typos.

15 Apr 2008

improved code

Tag Activity for this File
Tag Applied By Date/Time
morphology Shawn Lankton 22 Oct 2008 09:57:40
segmentation Shawn Lankton 22 Oct 2008 09:57:40
active contour Shawn Lankton 22 Oct 2008 09:57:40
level sets Shawn Lankton 22 Oct 2008 09:57:40
computer vision Shawn Lankton 22 Oct 2008 09:57:40
image proce Shawn Lankton 22 Oct 2008 09:57:40
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com