Click or drag to resize

GraphSegmentationProcessImage Method

Segment an image and store output in dst

Namespace:  OpenCvSharp.XImgProc.Segmentation
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public virtual void ProcessImage(
	InputArray src,
	OutputArray dst
)

Parameters

src
Type: OpenCvSharpInputArray
The input image. Any number of channel (1 (Eg: Gray), 3 (Eg: RGB), 4 (Eg: RGB-D)) can be provided
dst
Type: OpenCvSharpOutputArray
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.
See Also