Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » Miscellaneous Image Transformations » cvWatershed

cvWatershed


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 here: Error Handling

Error type Description
DomainError Input image must be 3-channel, UINT8 in cvWatershed.
DomainError inMarkers must be 1-channel, SInt32 image in cvWatershed.
DomainError The inSrc and inMarkers must have this same size.

Complexity Level

This filter is available on Basic Complexity Level.