Click or drag to resize

Features2DToolboxDrawMatches Method (IInputArray, VectorOfKeyPoint, IInputArray, VectorOfKeyPoint, VectorOfVectorOfDMatch, IInputOutputArray, MCvScalar, MCvScalar, VectorOfVectorOfByte, Features2DToolboxKeypointDrawType)

http://www.emgu.com
Draw the matched keypoints between the model image and the observered image.

Namespace:  Emgu.CV.Features2D
Assembly:  Emgu.CV.Platform.NetStandard (in Emgu.CV.Platform.NetStandard.dll) Version: 4.3.0.3890
Syntax
public static void DrawMatches(
	IInputArray modelImage,
	VectorOfKeyPoint modelKeypoints,
	IInputArray observerdImage,
	VectorOfKeyPoint observedKeyPoints,
	VectorOfVectorOfDMatch matches,
	IInputOutputArray result,
	MCvScalar matchColor,
	MCvScalar singlePointColor,
	VectorOfVectorOfByte 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.CV.UtilVectorOfVectorOfByte
The mask for the matches. Use null for all matches.
flags (Optional)
Type: Emgu.CV.Features2DFeatures2DToolboxKeypointDrawType
The drawing type
See Also