Table of Contents

Method FindCorrespondences

Namespace
OpenCvSharp.OptFlow
Assembly
OpenCvSharp.dll

FindCorrespondences(InputArray, InputArray, out Point[], out Point[], GPCMatchingParams?)

Finds correspondences between two images using the trained forest.

public void FindCorrespondences(InputArray imgFrom, InputArray imgTo, out Point[] pointsFrom, out Point[] pointsTo, GPCMatchingParams? matchingParams = null)

Parameters

imgFrom InputArray

First image in a sequence (3-channel).

imgTo InputArray

Second image in a sequence (3-channel).

pointsFrom Point[]

Coordinates in imgFrom of each found correspondence.

pointsTo Point[]

Corresponding coordinates in imgTo, parallel to pointsFrom.

matchingParams GPCMatchingParams

Additional matching parameters for fine-tuning. Uses the native defaults when null.