| MatWatershed Method |
Performs a marker-based image segmentation using the watershed algorithm.
Input matrix is 8-bit 3-channel image.
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public void Watershed(
InputOutputArray markers
)
Public Sub Watershed (
markers As InputOutputArray
)
public:
void Watershed(
InputOutputArray^ markers
)
member Watershed :
markers : InputOutputArray -> unit
Parameters
- markers
- Type: OpenCvSharpInputOutputArray
Input/output 32-bit single-channel image (map) of markers.
It should have the same size as image.
See Also