Features2DToolboxDrawMatches Method |
http://www.emgu.com
Draw the matched keypoints between the model image and the observered image.
Namespace:
Emgu.CV.Features2D
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.0.3408 (4.1.0.3408)
Syntaxpublic static void DrawMatches(
IInputArray modelImage,
VectorOfKeyPoint modelKeypoints,
IInputArray observerdImage,
VectorOfKeyPoint observedKeyPoints,
VectorOfVectorOfDMatch matches,
IInputOutputArray result,
MCvScalar matchColor,
MCvScalar singlePointColor,
IInputArray mask = null,
Features2DToolboxKeypointDrawType flags = Features2DToolboxKeypointDrawType.Default
)
Public Shared Sub DrawMatches (
modelImage As IInputArray,
modelKeypoints As VectorOfKeyPoint,
observerdImage As IInputArray,
observedKeyPoints As VectorOfKeyPoint,
matches As VectorOfVectorOfDMatch,
result As IInputOutputArray,
matchColor As MCvScalar,
singlePointColor As MCvScalar,
Optional mask As IInputArray = Nothing,
Optional flags As Features2DToolboxKeypointDrawType = Features2DToolboxKeypointDrawType.Default
)
public:
static void DrawMatches(
IInputArray^ modelImage,
VectorOfKeyPoint^ modelKeypoints,
IInputArray^ observerdImage,
VectorOfKeyPoint^ observedKeyPoints,
VectorOfVectorOfDMatch^ matches,
IInputOutputArray^ result,
MCvScalar matchColor,
MCvScalar singlePointColor,
IInputArray^ mask = nullptr,
Features2DToolboxKeypointDrawType flags = Features2DToolboxKeypointDrawType::Default
)
static member DrawMatches :
modelImage : IInputArray *
modelKeypoints : VectorOfKeyPoint *
observerdImage : IInputArray *
observedKeyPoints : VectorOfKeyPoint *
matches : VectorOfVectorOfDMatch *
result : IInputOutputArray *
matchColor : MCvScalar *
singlePointColor : MCvScalar *
?mask : IInputArray *
?flags : Features2DToolboxKeypointDrawType
(* Defaults:
let _mask = defaultArg mask null
let _flags = defaultArg flags Features2DToolboxKeypointDrawType.Default
*)
-> unit
Parameters
- modelImage
- Type: Emgu.CVIInputArray
The model image - modelKeypoints
- Type: Emgu.CV.UtilVectorOfKeyPoint
The keypoints in the model image - observerdImage
- Type: Emgu.CVIInputArray
The observed image - observedKeyPoints
- Type: Emgu.CV.UtilVectorOfKeyPoint
The keypoints in the observed image - matches
- Type: Emgu.CV.UtilVectorOfVectorOfDMatch
Matches. Each matches[i] is k or less matches for the same query descriptor. - result
- Type: Emgu.CVIInputOutputArray
The image where model and observed image is displayed side by side. Matches are drawn as indicated by the flag - matchColor
- Type: Emgu.CV.StructureMCvScalar
The color for the match correspondence lines - singlePointColor
- Type: Emgu.CV.StructureMCvScalar
The color for highlighting the keypoints - mask (Optional)
- Type: Emgu.CVIInputArray
The mask for the matches. Use null for all matches. - flags (Optional)
- Type: Emgu.CV.Features2DFeatures2DToolboxKeypointDrawType
The drawing type
See Also