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
queryKptsInputArrayQuery image keypoints (Nx2 float matrix with x,y coordinates).
trainKptsInputArrayTrain image keypoints (Nx2 float matrix with x,y coordinates).
queryImageSizeSizeSize of the query image (width, height).
trainImageSizeSizeSize of the train image (width, height).