File Exchange

image thumbnail

shrinkWrap

version 1.1 (3.58 KB) by

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

10 Downloads

Updated

View License

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.

Comments and Ratings (3)

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

Sean de

Sean de (view profile)

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)

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

Updates

1.1

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

MATLAB Release
MATLAB 7.9 (R2009b)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video