Start » Filter Reference » OpenCV » Miscellaneous Image Transformations » cvWatershed
Module: | OpenCV |
---|
Does marker-based image segmentation using watershed algorithm.
Name | Type | Description | |
---|---|---|---|
inSrc | Image | UINT8, 3-channel input image. | |
inMarkers | Image | Input SInt32, single-channel image of markers. | |
outMarkers | Image | Output image of markers. |
Errors
This filter can throw an exception to report error. Read how to deal with errors in Error Handling.
List of possible exceptions:
Error type | Description |
---|---|
DomainError | inMarkers must be 1-channel, SInt32 image in cvWatershed. |
DomainError | Input image must be 3-channel, UINT8 in cvWatershed. |
DomainError | The inSrc and inMarkers must have this same size. |
Complexity Level
This filter is available on Basic Complexity Level.