Table of Contents

Method GetMatch

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

GetMatch(int, int)

Specify pixel coordinates in the left image and get its corresponding location in the right image. This method should be always called after Process(Mat, Mat), otherwise the matches will not be correct.

public virtual Point2f GetMatch(int x, int y)

Parameters

x int

The x pixel coordinate in the left image channel.

y int

The y pixel coordinate in the left image channel.

Returns

Point2f

The location of the corresponding pixel in the right image, or (0, 0) if no match is found.