Table of Contents

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

image InputArray

Input 8-bit 3-channel image.

markers InputOutputArray

Input/output 32-bit single-channel image (map) of markers. It should have the same size as image.