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
SizeInput size of image1.
size2
SizeInput size of image2.
keypoints1
VectorOfKeyPointInput keypoints of image1.
keypoints2
VectorOfKeyPointInput keypoints of image2.
matches1to2
VectorOfDMatchInput 1-nearest neighbor matches.
matchesGMS
VectorOfDMatchMatches returned by the GMS matching strategy.
withRotation
boolTake rotation transformation into account.
withScale
boolTake scale transformation into account.
thresholdFactor
doubleThe 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
VectorOfKeyPointInput keypoints of image1.
keypoints2
VectorOfKeyPointInput keypoints of image2.
nn1
VectorOfIntIndex to the closest BoW centroid for each descriptors of image1.
nn2
VectorOfIntIndex to the closest BoW centroid for each descriptors of image2.
matches1to2
VectorOfDMatchMatches returned by the LOGOS matching strategy.