| 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
)
Public Overridable Sub ProcessImage (
src As InputArray,
dst As OutputArray
)
public:
virtual void ProcessImage(
InputArray^ src,
OutputArray^ dst
)
abstract ProcessImage :
src : InputArray *
dst : OutputArray -> unit
override ProcessImage :
src : InputArray *
dst : OutputArray -> unit
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