Table of Contents

Method SetPairInfo

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

SetPairInfo(InputArray, InputArray, Size, Size)

Sets the keypoint and image size context for the next match() call. Must be called before match()/knnMatch()/radiusMatch() unless using automatic context from in-process ALIKED instances.

public void SetPairInfo(InputArray queryKpts, InputArray trainKpts, Size queryImageSize = default, Size trainImageSize = default)

Parameters

queryKpts InputArray

Query image keypoints (Nx2 float matrix with x,y coordinates).

trainKpts InputArray

Train image keypoints (Nx2 float matrix with x,y coordinates).

queryImageSize Size

Size of the query image (width, height).

trainImageSize Size

Size of the train image (width, height).