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

Do segmentation using the brush tool. More...

Functions

function  ib_segmentation_Brush (y, x, modifier, handles)
 Do segmentation using the brush tool. More...
 

Detailed Description

Do segmentation using the brush tool.

Function Documentation

function ib_segmentation_Brush (   y,
  x,
  modifier,
  handles 
)

Do segmentation using the brush tool.

Parameters
yy-coordinate of the mouse cursor at the starting point
xx-coordinate of the mouse cursor at the starting point
modifiera string, to specify what to do with the generated selection
  • empty - makes new selection
  • 'control' - removes selection from the existing one
handlesa handles structure of im_browser
Required fields of handles:

Examples:

ib_segmentation_Brush(50, 75, '', handles); // start the brush tool from position [y,x]=50,75,10

References drawregionboundaries(), ib_do_backup(), ib_updateCursor(), and im_browser_winMouseMotionFcn().

Referenced by im_browser_WindowButtonDownFcn().

Here is the call graph for this function:

Here is the caller graph for this function: