Table of Contents

Constructor AffineBestOf2NearestMatcher

Namespace
OpenCvSharp.Detail
Assembly
OpenCvSharp.dll

AffineBestOf2NearestMatcher(bool, bool, float, int)

Constructs a "best of 2 nearest" matcher that expects affine transformation between images

public AffineBestOf2NearestMatcher(bool fullAffine = false, bool tryUseGpu = false, float matchConf = 0.3, int numMatchesThresh1 = 6)

Parameters

fullAffine bool

whether to use full affine transformation with 6 degress of freedom or reduced transformation with 4 degrees of freedom using only rotation, translation and uniform scaling

tryUseGpu bool

Should try to use GPU or not

matchConf float

Match distances ration threshold

numMatchesThresh1 int

Minimum number of matches required for the 2D affine transform estimation used in the inliers classification step