Watershed
The WatershedSegmentation block uses a marker-based watershed algorithm (make-controlled flooding technique) for image segmentation.
Library
ComputerVision/Images/Segmentation
Description
The image is treated like a topographic map where the brightness of each pixel corresponds to its height.
The watershed algorithm floods the topographic image using a defined set of markers in order to segment the image.
Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
externalActivation | External activation | This parameter defines if the block receives or inherits an external activation. When External Activation is used, an additional activation port is added to the block. Default is OFF. | Number | 0 |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
src | explicit | input | 1 | |
markers(grayscale) | explicit | input | 2 | |
image | explicit | output | 1 | |
Port 4 | activation | input | externalActivation |