Table of Contents

Class XFeatures2DInvoke

Namespace
Emgu.CV.XFeatures2D
Assembly
Emgu.CV.dll

This class wraps the functional calls to the OpenCV XFeatures2D modules

public static class XFeatures2DInvoke
Inheritance
XFeatures2DInvoke
Inherited Members

Methods

MatchGMS(Size, Size, VectorOfKeyPoint, VectorOfKeyPoint, VectorOfDMatch, VectorOfDMatch, bool, bool, double)

GMS (Grid-based Motion Statistics) feature matching strategy

public static void MatchGMS(Size size1, Size size2, VectorOfKeyPoint keypoints1, VectorOfKeyPoint keypoints2, VectorOfDMatch matches1to2, VectorOfDMatch matchesGMS, bool withRotation = false, bool withScale = false, double thresholdFactor = 6)

Parameters

size1 Size

Input size of image1.

size2 Size

Input size of image2.

keypoints1 VectorOfKeyPoint

Input keypoints of image1.

keypoints2 VectorOfKeyPoint

Input keypoints of image2.

matches1to2 VectorOfDMatch

Input 1-nearest neighbor matches.

matchesGMS VectorOfDMatch

Matches returned by the GMS matching strategy.

withRotation bool

Take rotation transformation into account.

withScale bool

Take scale transformation into account.

thresholdFactor double

The higher, the less matches.

MatchLOGOS(VectorOfKeyPoint, VectorOfKeyPoint, VectorOfInt, VectorOfInt, VectorOfDMatch)

LOGOS (Local geometric support for high-outlier spatial verification) feature matching strategy

public static void MatchLOGOS(VectorOfKeyPoint keypoints1, VectorOfKeyPoint keypoints2, VectorOfInt nn1, VectorOfInt nn2, VectorOfDMatch matches1to2)

Parameters

keypoints1 VectorOfKeyPoint

Input keypoints of image1.

keypoints2 VectorOfKeyPoint

Input keypoints of image2.

nn1 VectorOfInt

Index to the closest BoW centroid for each descriptors of image1.

nn2 VectorOfInt

Index to the closest BoW centroid for each descriptors of image2.

matches1to2 VectorOfDMatch

Matches returned by the LOGOS matching strategy.