Click or drag to resize
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 (in Emgu.CV.dll) Version: 3.0.0.2161 (3.0.0.2161)
Syntax
public 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
)

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