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
imgFromInputArrayFirst image in a sequence (3-channel).
imgToInputArraySecond image in a sequence (3-channel).
pointsFromPoint[]Coordinates in
imgFromof each found correspondence.pointsToPoint[]Corresponding coordinates in
imgTo, parallel topointsFrom.matchingParamsGPCMatchingParamsAdditional matching parameters for fine-tuning. Uses the native defaults when null.