Table of Contents

Method ProcessImage

Namespace
OpenCvSharp.XImgProc.Segmentation
Assembly
OpenCvSharp.dll

ProcessImage(InputArray, OutputArray)

Segment an image and store output in dst

public virtual void ProcessImage(InputArray src, OutputArray dst)

Parameters

src InputArray

The input image. Any number of channel (1 (Eg: Gray), 3 (Eg: RGB), 4 (Eg: RGB-D)) can be provided

dst OutputArray

The output segmentation. It's a CV_32SC1 Mat with the same number of cols and rows as input image, with an unique, sequential, id for each pixel.