[Top] [Up] [Prev] [Next] [Up] [Basic Concepts] [Demonstrations] [Functions] SDC Morphology Toolbox V1.1 15Jan02

mmiwatershed - Interactive watershed from markers.


Synopsis
[m,ws] = mmiwatershed( f, Bc )
Input
f: Gray-scale (uint8 or uint16) or binary image (logical uint8).
Bc: Structuring element. Connectivity. Default: mmsecross.
Output
[m,ws]: Gray-scale (uint8 or uint16) or binary image (logical uint8).
Description
The image is interactively segmented by placing markers with the mouse. The markers are placed by pointing the mouse and press any mouse button or key. Each key is associated to a different label, so the user can choose different keys to segment different regions. As the markers are placed, the image is segmented and the result presented immediately to the user. If DEL or BACK-SPACE is pressed on a marker, it is deleted. The key ESC is used to exit. Internally, the watershed is computed on the morphological gradient of the input image.
See Also
mmcwatershed - Detection of watershed from markers.
mmfreedom - Control automatic data type conversion.
mmsebox - Create a box structuring element.
mmsecross - Cross structuring element.
Source code
mmiwatershed.m

[Top] [Up] [Prev] [Next] [Up] [Basic Concepts] [Demonstrations] [Functions] Valid XHTML 1.0!
Copyright (c) 1998-2002 by SDC Information Systems