Method Watershed
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
Watershed(InputArray, InputOutputArray)
Performs a marker-based image segmentation using the watershed algorithm.
public static void Watershed(InputArray image, InputOutputArray markers)
Parameters
imageInputArrayInput 8-bit 3-channel image.
markersInputOutputArrayInput/output 32-bit single-channel image (map) of markers. It should have the same size as image.