Microscopy Image Browser  1.233
All Classes Files Functions Variables Pages
ib_segmentation_RegionGrowing.m File Reference

Do segmentation using the Region Growing method. More...

Functions

function
handles = 
ib_segmentation_RegionGrowing (yxzCoordinate, modifier, handles)
 Do segmentation using the Region Growing method. More...
 

Detailed Description

Do segmentation using the Region Growing method.

Function Documentation

function handles = ib_segmentation_RegionGrowing (   yxzCoordinate,
  modifier,
  handles 
)

Do segmentation using the Region Growing method.

Based on Fast 3D/2D Region Growing (MEX), written by Christian Wuerslin, Stanford University. http://www.mathworks.com/matlabcentral/fileexchange/41666-fast-3d-2d-region-growing–mex- Requires: compiled RegionGrowing_mex.cpp To compile: "mex RegionGrowing_mex.cpp"

Parameters
yxzCoordinatea vector with [y,x,z] coodrinates of the starting point, for 2d case it is enough to have only [y, x].
modifiera string, to specify what to do with the generated selection
  • empty - makes new selection
  • 'shift' - add selection to the existing one
  • 'control' - removes selection from the existing one
handlesa handles structure of im_browser
Return values
handlesa handles structure of im_browser
Required fields of handles:

Examples:

yxzCoordinate = [50, 75];
handles = ib_segmentation_MagicWand(yxzCoordinate, modifier, handles); // start the magic wand tool from position [y,x]=50,75

References ib_do_backup().

Referenced by im_browser_WindowButtonDownFcn().

Here is the call graph for this function:

Here is the caller graph for this function: