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

Do segmentation using the Magic Wand tool. More...

Functions

function
handles = 
ib_segmentation_MagicWand (yxzCoordinate, modifier, handles)
 Do segmentation using the Magic Wand tool. More...
 

Detailed Description

Do segmentation using the Magic Wand tool.

Function Documentation

function handles = ib_segmentation_MagicWand (   yxzCoordinate,
  modifier,
  handles 
)

Do segmentation using the Magic Wand tool.

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: