Code covered by the BSD License  

Highlights from
shrinkWrap

Be the first to rate this file! 22 Downloads (last 30 days) File Size: 3.58 KB File ID: #29175
image thumbnail

shrinkWrap

by

 

29 Oct 2010 (Updated )

shrinkWrap creates a binary map for automatic segmentation of high intensity areas in a 2D/3D images

| Watch this File

File Information
Description

This function amplifies areas of high intensity and segments them using a front. The front is initialized on the convex hull (for speed) and erodes the map until it has converged on the edge of the areas to keep, maintaining edge geometry.

The idea and title for this function come from Dr. Tong Zhang's PhD Thesis (RPI, 2004), who used a fast marching level set method and a rapid change in gradient magnitude for the segmentation.

Acknowledgements

This file inspired Processing Script For Cryostratigraphy Using X Ray Computed Tomography Scans Of Permafrost Cores.

Required Products Image Processing Toolbox
MATLAB release MATLAB 7.9 (R2009b)
Other requirements The Image Processing Toolbox is selected as a requirement. It is only a requirement if a connected components analysis is requested. If you want to use this function and don't have the IPT set 'MinSize' to 1, and do not call 'Biggest'.
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (3)
23 Mar 2012 privatemeet none

Dear Sean, do you have some explanation of how all this work?

15 Nov 2010 Sean de

Harsha,
What M-LINT error?
If you are using an older version of MATLAB, the tilde (~) does not work as an output argument. It's recommended in newer versions to use this for speed and that would probably create an error. If this is the case, the error would be on line 195. To fix it just replace the '~' with a junk variable (something like junk)

14 Nov 2010 Harsha Vardhan

This file has some inherent mlint error, it does not run

Updates
08 Feb 2011

Fixed bug in 'myed' return for a blank image.

Contact us