OpenCV for Unity 2.6.5
Enox Software / Please refer to OpenCV official document ( http://docs.opencv.org/4.10.0/index.html ) for the details of the argument of the method.
Loading...
Searching...
No Matches
OpenCVForUnity.Xfeatures2dModule.Xfeatures2d Class Reference

Static Public Member Functions

static void matchGMS (in Vec2d size1, in Vec2d size2, MatOfKeyPoint keypoints1, MatOfKeyPoint keypoints2, MatOfDMatch matches1to2, MatOfDMatch matchesGMS)
 GMS (Grid-based Motion Statistics) feature matching strategy described in [Bian2017gms] .
 
static void matchGMS (in Vec2d size1, in Vec2d size2, MatOfKeyPoint keypoints1, MatOfKeyPoint keypoints2, MatOfDMatch matches1to2, MatOfDMatch matchesGMS, bool withRotation)
 GMS (Grid-based Motion Statistics) feature matching strategy described in [Bian2017gms] .
 
static void matchGMS (in Vec2d size1, in Vec2d size2, MatOfKeyPoint keypoints1, MatOfKeyPoint keypoints2, MatOfDMatch matches1to2, MatOfDMatch matchesGMS, bool withRotation, bool withScale)
 GMS (Grid-based Motion Statistics) feature matching strategy described in [Bian2017gms] .
 
static void matchGMS (in Vec2d size1, in Vec2d size2, MatOfKeyPoint keypoints1, MatOfKeyPoint keypoints2, MatOfDMatch matches1to2, MatOfDMatch matchesGMS, bool withRotation, bool withScale, double thresholdFactor)
 GMS (Grid-based Motion Statistics) feature matching strategy described in [Bian2017gms] .
 
static void matchGMS (in(double width, double height) size1, in(double width, double height) size2, MatOfKeyPoint keypoints1, MatOfKeyPoint keypoints2, MatOfDMatch matches1to2, MatOfDMatch matchesGMS)
 GMS (Grid-based Motion Statistics) feature matching strategy described in [Bian2017gms] .
 
static void matchGMS (in(double width, double height) size1, in(double width, double height) size2, MatOfKeyPoint keypoints1, MatOfKeyPoint keypoints2, MatOfDMatch matches1to2, MatOfDMatch matchesGMS, bool withRotation)
 GMS (Grid-based Motion Statistics) feature matching strategy described in [Bian2017gms] .
 
static void matchGMS (in(double width, double height) size1, in(double width, double height) size2, MatOfKeyPoint keypoints1, MatOfKeyPoint keypoints2, MatOfDMatch matches1to2, MatOfDMatch matchesGMS, bool withRotation, bool withScale)
 GMS (Grid-based Motion Statistics) feature matching strategy described in [Bian2017gms] .
 
static void matchGMS (in(double width, double height) size1, in(double width, double height) size2, MatOfKeyPoint keypoints1, MatOfKeyPoint keypoints2, MatOfDMatch matches1to2, MatOfDMatch matchesGMS, bool withRotation, bool withScale, double thresholdFactor)
 GMS (Grid-based Motion Statistics) feature matching strategy described in [Bian2017gms] .
 
static void matchGMS (Size size1, Size size2, MatOfKeyPoint keypoints1, MatOfKeyPoint keypoints2, MatOfDMatch matches1to2, MatOfDMatch matchesGMS)
 GMS (Grid-based Motion Statistics) feature matching strategy described in [Bian2017gms] .
 
static void matchGMS (Size size1, Size size2, MatOfKeyPoint keypoints1, MatOfKeyPoint keypoints2, MatOfDMatch matches1to2, MatOfDMatch matchesGMS, bool withRotation)
 GMS (Grid-based Motion Statistics) feature matching strategy described in [Bian2017gms] .
 
static void matchGMS (Size size1, Size size2, MatOfKeyPoint keypoints1, MatOfKeyPoint keypoints2, MatOfDMatch matches1to2, MatOfDMatch matchesGMS, bool withRotation, bool withScale)
 GMS (Grid-based Motion Statistics) feature matching strategy described in [Bian2017gms] .
 
static void matchGMS (Size size1, Size size2, MatOfKeyPoint keypoints1, MatOfKeyPoint keypoints2, MatOfDMatch matches1to2, MatOfDMatch matchesGMS, bool withRotation, bool withScale, double thresholdFactor)
 GMS (Grid-based Motion Statistics) feature matching strategy described in [Bian2017gms] .
 
static void matchLOGOS (MatOfKeyPoint keypoints1, MatOfKeyPoint keypoints2, MatOfInt nn1, MatOfInt nn2, MatOfDMatch matches1to2)
 LOGOS (Local geometric support for high-outlier spatial verification) feature matching strategy described in [Lowry2018LOGOSLG] .
 

Member Function Documentation

◆ matchGMS() [1/12]

static void OpenCVForUnity.Xfeatures2dModule.Xfeatures2d.matchGMS ( in Vec2d size1,
in Vec2d size2,
MatOfKeyPoint keypoints1,
MatOfKeyPoint keypoints2,
MatOfDMatch matches1to2,
MatOfDMatch matchesGMS )
static

GMS (Grid-based Motion Statistics) feature matching strategy described in [Bian2017gms] .

Parameters
size1Input size of image1.
size2Input size of image2.
keypoints1Input keypoints of image1.
keypoints2Input keypoints of image2.
matches1to2Input 1-nearest neighbor matches.
matchesGMSMatches returned by the GMS matching strategy.
withRotationTake rotation transformation into account.
withScaleTake scale transformation into account.
thresholdFactorThe higher, the less matches.

Since GMS works well when the number of features is large, we recommend to use the ORB feature and set FastThreshold to 0 to get as many as possible features quickly. If matching results are not satisfying, please add more features. (We use 10000 for images with 640 X 480). If your images have big rotation and scale changes, please set withRotation or withScale to true.

◆ matchGMS() [2/12]

static void OpenCVForUnity.Xfeatures2dModule.Xfeatures2d.matchGMS ( in Vec2d size1,
in Vec2d size2,
MatOfKeyPoint keypoints1,
MatOfKeyPoint keypoints2,
MatOfDMatch matches1to2,
MatOfDMatch matchesGMS,
bool withRotation )
static

GMS (Grid-based Motion Statistics) feature matching strategy described in [Bian2017gms] .

Parameters
size1Input size of image1.
size2Input size of image2.
keypoints1Input keypoints of image1.
keypoints2Input keypoints of image2.
matches1to2Input 1-nearest neighbor matches.
matchesGMSMatches returned by the GMS matching strategy.
withRotationTake rotation transformation into account.
withScaleTake scale transformation into account.
thresholdFactorThe higher, the less matches.

Since GMS works well when the number of features is large, we recommend to use the ORB feature and set FastThreshold to 0 to get as many as possible features quickly. If matching results are not satisfying, please add more features. (We use 10000 for images with 640 X 480). If your images have big rotation and scale changes, please set withRotation or withScale to true.

◆ matchGMS() [3/12]

static void OpenCVForUnity.Xfeatures2dModule.Xfeatures2d.matchGMS ( in Vec2d size1,
in Vec2d size2,
MatOfKeyPoint keypoints1,
MatOfKeyPoint keypoints2,
MatOfDMatch matches1to2,
MatOfDMatch matchesGMS,
bool withRotation,
bool withScale )
static

GMS (Grid-based Motion Statistics) feature matching strategy described in [Bian2017gms] .

Parameters
size1Input size of image1.
size2Input size of image2.
keypoints1Input keypoints of image1.
keypoints2Input keypoints of image2.
matches1to2Input 1-nearest neighbor matches.
matchesGMSMatches returned by the GMS matching strategy.
withRotationTake rotation transformation into account.
withScaleTake scale transformation into account.
thresholdFactorThe higher, the less matches.

Since GMS works well when the number of features is large, we recommend to use the ORB feature and set FastThreshold to 0 to get as many as possible features quickly. If matching results are not satisfying, please add more features. (We use 10000 for images with 640 X 480). If your images have big rotation and scale changes, please set withRotation or withScale to true.

◆ matchGMS() [4/12]

static void OpenCVForUnity.Xfeatures2dModule.Xfeatures2d.matchGMS ( in Vec2d size1,
in Vec2d size2,
MatOfKeyPoint keypoints1,
MatOfKeyPoint keypoints2,
MatOfDMatch matches1to2,
MatOfDMatch matchesGMS,
bool withRotation,
bool withScale,
double thresholdFactor )
static

GMS (Grid-based Motion Statistics) feature matching strategy described in [Bian2017gms] .

Parameters
size1Input size of image1.
size2Input size of image2.
keypoints1Input keypoints of image1.
keypoints2Input keypoints of image2.
matches1to2Input 1-nearest neighbor matches.
matchesGMSMatches returned by the GMS matching strategy.
withRotationTake rotation transformation into account.
withScaleTake scale transformation into account.
thresholdFactorThe higher, the less matches.

Since GMS works well when the number of features is large, we recommend to use the ORB feature and set FastThreshold to 0 to get as many as possible features quickly. If matching results are not satisfying, please add more features. (We use 10000 for images with 640 X 480). If your images have big rotation and scale changes, please set withRotation or withScale to true.

◆ matchGMS() [5/12]

static void OpenCVForUnity.Xfeatures2dModule.Xfeatures2d.matchGMS ( in(double width, double height) size1,
in(double width, double height) size2,
MatOfKeyPoint keypoints1,
MatOfKeyPoint keypoints2,
MatOfDMatch matches1to2,
MatOfDMatch matchesGMS )
static

GMS (Grid-based Motion Statistics) feature matching strategy described in [Bian2017gms] .

Parameters
size1Input size of image1.
size2Input size of image2.
keypoints1Input keypoints of image1.
keypoints2Input keypoints of image2.
matches1to2Input 1-nearest neighbor matches.
matchesGMSMatches returned by the GMS matching strategy.
withRotationTake rotation transformation into account.
withScaleTake scale transformation into account.
thresholdFactorThe higher, the less matches.

Since GMS works well when the number of features is large, we recommend to use the ORB feature and set FastThreshold to 0 to get as many as possible features quickly. If matching results are not satisfying, please add more features. (We use 10000 for images with 640 X 480). If your images have big rotation and scale changes, please set withRotation or withScale to true.

◆ matchGMS() [6/12]

static void OpenCVForUnity.Xfeatures2dModule.Xfeatures2d.matchGMS ( in(double width, double height) size1,
in(double width, double height) size2,
MatOfKeyPoint keypoints1,
MatOfKeyPoint keypoints2,
MatOfDMatch matches1to2,
MatOfDMatch matchesGMS,
bool withRotation )
static

GMS (Grid-based Motion Statistics) feature matching strategy described in [Bian2017gms] .

Parameters
size1Input size of image1.
size2Input size of image2.
keypoints1Input keypoints of image1.
keypoints2Input keypoints of image2.
matches1to2Input 1-nearest neighbor matches.
matchesGMSMatches returned by the GMS matching strategy.
withRotationTake rotation transformation into account.
withScaleTake scale transformation into account.
thresholdFactorThe higher, the less matches.

Since GMS works well when the number of features is large, we recommend to use the ORB feature and set FastThreshold to 0 to get as many as possible features quickly. If matching results are not satisfying, please add more features. (We use 10000 for images with 640 X 480). If your images have big rotation and scale changes, please set withRotation or withScale to true.

◆ matchGMS() [7/12]

static void OpenCVForUnity.Xfeatures2dModule.Xfeatures2d.matchGMS ( in(double width, double height) size1,
in(double width, double height) size2,
MatOfKeyPoint keypoints1,
MatOfKeyPoint keypoints2,
MatOfDMatch matches1to2,
MatOfDMatch matchesGMS,
bool withRotation,
bool withScale )
static

GMS (Grid-based Motion Statistics) feature matching strategy described in [Bian2017gms] .

Parameters
size1Input size of image1.
size2Input size of image2.
keypoints1Input keypoints of image1.
keypoints2Input keypoints of image2.
matches1to2Input 1-nearest neighbor matches.
matchesGMSMatches returned by the GMS matching strategy.
withRotationTake rotation transformation into account.
withScaleTake scale transformation into account.
thresholdFactorThe higher, the less matches.

Since GMS works well when the number of features is large, we recommend to use the ORB feature and set FastThreshold to 0 to get as many as possible features quickly. If matching results are not satisfying, please add more features. (We use 10000 for images with 640 X 480). If your images have big rotation and scale changes, please set withRotation or withScale to true.

◆ matchGMS() [8/12]

static void OpenCVForUnity.Xfeatures2dModule.Xfeatures2d.matchGMS ( in(double width, double height) size1,
in(double width, double height) size2,
MatOfKeyPoint keypoints1,
MatOfKeyPoint keypoints2,
MatOfDMatch matches1to2,
MatOfDMatch matchesGMS,
bool withRotation,
bool withScale,
double thresholdFactor )
static

GMS (Grid-based Motion Statistics) feature matching strategy described in [Bian2017gms] .

Parameters
size1Input size of image1.
size2Input size of image2.
keypoints1Input keypoints of image1.
keypoints2Input keypoints of image2.
matches1to2Input 1-nearest neighbor matches.
matchesGMSMatches returned by the GMS matching strategy.
withRotationTake rotation transformation into account.
withScaleTake scale transformation into account.
thresholdFactorThe higher, the less matches.

Since GMS works well when the number of features is large, we recommend to use the ORB feature and set FastThreshold to 0 to get as many as possible features quickly. If matching results are not satisfying, please add more features. (We use 10000 for images with 640 X 480). If your images have big rotation and scale changes, please set withRotation or withScale to true.

◆ matchGMS() [9/12]

static void OpenCVForUnity.Xfeatures2dModule.Xfeatures2d.matchGMS ( Size size1,
Size size2,
MatOfKeyPoint keypoints1,
MatOfKeyPoint keypoints2,
MatOfDMatch matches1to2,
MatOfDMatch matchesGMS )
static

GMS (Grid-based Motion Statistics) feature matching strategy described in [Bian2017gms] .

Parameters
size1Input size of image1.
size2Input size of image2.
keypoints1Input keypoints of image1.
keypoints2Input keypoints of image2.
matches1to2Input 1-nearest neighbor matches.
matchesGMSMatches returned by the GMS matching strategy.
withRotationTake rotation transformation into account.
withScaleTake scale transformation into account.
thresholdFactorThe higher, the less matches.

Since GMS works well when the number of features is large, we recommend to use the ORB feature and set FastThreshold to 0 to get as many as possible features quickly. If matching results are not satisfying, please add more features. (We use 10000 for images with 640 X 480). If your images have big rotation and scale changes, please set withRotation or withScale to true.

◆ matchGMS() [10/12]

static void OpenCVForUnity.Xfeatures2dModule.Xfeatures2d.matchGMS ( Size size1,
Size size2,
MatOfKeyPoint keypoints1,
MatOfKeyPoint keypoints2,
MatOfDMatch matches1to2,
MatOfDMatch matchesGMS,
bool withRotation )
static

GMS (Grid-based Motion Statistics) feature matching strategy described in [Bian2017gms] .

Parameters
size1Input size of image1.
size2Input size of image2.
keypoints1Input keypoints of image1.
keypoints2Input keypoints of image2.
matches1to2Input 1-nearest neighbor matches.
matchesGMSMatches returned by the GMS matching strategy.
withRotationTake rotation transformation into account.
withScaleTake scale transformation into account.
thresholdFactorThe higher, the less matches.

Since GMS works well when the number of features is large, we recommend to use the ORB feature and set FastThreshold to 0 to get as many as possible features quickly. If matching results are not satisfying, please add more features. (We use 10000 for images with 640 X 480). If your images have big rotation and scale changes, please set withRotation or withScale to true.

◆ matchGMS() [11/12]

static void OpenCVForUnity.Xfeatures2dModule.Xfeatures2d.matchGMS ( Size size1,
Size size2,
MatOfKeyPoint keypoints1,
MatOfKeyPoint keypoints2,
MatOfDMatch matches1to2,
MatOfDMatch matchesGMS,
bool withRotation,
bool withScale )
static

GMS (Grid-based Motion Statistics) feature matching strategy described in [Bian2017gms] .

Parameters
size1Input size of image1.
size2Input size of image2.
keypoints1Input keypoints of image1.
keypoints2Input keypoints of image2.
matches1to2Input 1-nearest neighbor matches.
matchesGMSMatches returned by the GMS matching strategy.
withRotationTake rotation transformation into account.
withScaleTake scale transformation into account.
thresholdFactorThe higher, the less matches.

Since GMS works well when the number of features is large, we recommend to use the ORB feature and set FastThreshold to 0 to get as many as possible features quickly. If matching results are not satisfying, please add more features. (We use 10000 for images with 640 X 480). If your images have big rotation and scale changes, please set withRotation or withScale to true.

◆ matchGMS() [12/12]

static void OpenCVForUnity.Xfeatures2dModule.Xfeatures2d.matchGMS ( Size size1,
Size size2,
MatOfKeyPoint keypoints1,
MatOfKeyPoint keypoints2,
MatOfDMatch matches1to2,
MatOfDMatch matchesGMS,
bool withRotation,
bool withScale,
double thresholdFactor )
static

GMS (Grid-based Motion Statistics) feature matching strategy described in [Bian2017gms] .

Parameters
size1Input size of image1.
size2Input size of image2.
keypoints1Input keypoints of image1.
keypoints2Input keypoints of image2.
matches1to2Input 1-nearest neighbor matches.
matchesGMSMatches returned by the GMS matching strategy.
withRotationTake rotation transformation into account.
withScaleTake scale transformation into account.
thresholdFactorThe higher, the less matches.

Since GMS works well when the number of features is large, we recommend to use the ORB feature and set FastThreshold to 0 to get as many as possible features quickly. If matching results are not satisfying, please add more features. (We use 10000 for images with 640 X 480). If your images have big rotation and scale changes, please set withRotation or withScale to true.

◆ matchLOGOS()

static void OpenCVForUnity.Xfeatures2dModule.Xfeatures2d.matchLOGOS ( MatOfKeyPoint keypoints1,
MatOfKeyPoint keypoints2,
MatOfInt nn1,
MatOfInt nn2,
MatOfDMatch matches1to2 )
static

LOGOS (Local geometric support for high-outlier spatial verification) feature matching strategy described in [Lowry2018LOGOSLG] .

Parameters
keypoints1Input keypoints of image1.
keypoints2Input keypoints of image2.
nn1Index to the closest BoW centroid for each descriptors of image1.
nn2Index to the closest BoW centroid for each descriptors of image2.
matches1to2Matches returned by the LOGOS matching strategy.

This matching strategy is suitable for features matching against large scale database. First step consists in constructing the bag-of-words (BoW) from a representative image database. Image descriptors are then represented by their closest codevector (nearest BoW centroid).


The documentation for this class was generated from the following files: