XFeatures2DInvokeMatchGMS Method |
http://www.emgu.com
GMS (Grid-based Motion Statistics) feature matching strategy
Namespace:
Emgu.CV.XFeatures2D
Assembly:
Emgu.CV.Platform.NetStandard (in Emgu.CV.Platform.NetStandard.dll) Version: 4.3.0.3890
Syntaxpublic static void MatchGMS(
Size size1,
Size size2,
VectorOfKeyPoint keypoints1,
VectorOfKeyPoint keypoints2,
VectorOfDMatch matches1to2,
VectorOfDMatch matchesGMS,
bool withRotation = false,
bool withScale = false,
double thresholdFactor = 6
)
Public Shared Sub MatchGMS (
size1 As Size,
size2 As Size,
keypoints1 As VectorOfKeyPoint,
keypoints2 As VectorOfKeyPoint,
matches1to2 As VectorOfDMatch,
matchesGMS As VectorOfDMatch,
Optional withRotation As Boolean = false,
Optional withScale As Boolean = false,
Optional thresholdFactor As Double = 6
)
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
)
static member MatchGMS :
size1 : Size *
size2 : Size *
keypoints1 : VectorOfKeyPoint *
keypoints2 : VectorOfKeyPoint *
matches1to2 : VectorOfDMatch *
matchesGMS : VectorOfDMatch *
?withRotation : bool *
?withScale : bool *
?thresholdFactor : float
(* Defaults:
let _withRotation = defaultArg withRotation false
let _withScale = defaultArg withScale false
let _thresholdFactor = defaultArg thresholdFactor 6
*)
-> unit
Parameters
- size1
- Type: System.DrawingSize
Input size of image1. - size2
- Type: System.DrawingSize
Input size of image2. - keypoints1
- Type: Emgu.CV.UtilVectorOfKeyPoint
Input keypoints of image1. - keypoints2
- Type: Emgu.CV.UtilVectorOfKeyPoint
Input keypoints of image2. - matches1to2
- Type: Emgu.CV.UtilVectorOfDMatch
Input 1-nearest neighbor matches. - matchesGMS
- Type: Emgu.CV.UtilVectorOfDMatch
Matches returned by the GMS matching strategy. - withRotation (Optional)
- Type: SystemBoolean
Take rotation transformation into account. - withScale (Optional)
- Type: SystemBoolean
Take scale transformation into account. - thresholdFactor (Optional)
- Type: SystemDouble
The higher, the less matches.
See Also