http://www.emgu.com
Detect the if the model features exist in the observed features. If true, an homography matrix is returned, otherwise, null is returned.

Namespace: Emgu.CV.Features2D
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.0.1717 (2.4.0.1717)

Syntax

C#
public static HomographyMatrix Detect(
	VectorOfKeyPoint modelKeyPoints,
	Matrix<TDescriptor> modelDescriptors,
	VectorOfKeyPoint observedKeyPoints,
	Matrix<TDescriptor> observedDescriptors,
	double uniquenessThreshold
)
Visual Basic
Public Shared Function Detect ( _
	modelKeyPoints As VectorOfKeyPoint, _
	modelDescriptors As Matrix(Of TDescriptor), _
	observedKeyPoints As VectorOfKeyPoint, _
	observedDescriptors As Matrix(Of TDescriptor), _
	uniquenessThreshold As Double _
) As HomographyMatrix
Visual C++
public:
static HomographyMatrix^ Detect(
	VectorOfKeyPoint^ modelKeyPoints, 
	Matrix<TDescriptor>^ modelDescriptors, 
	VectorOfKeyPoint^ observedKeyPoints, 
	Matrix<TDescriptor>^ observedDescriptors, 
	double uniquenessThreshold
)

Parameters

modelKeyPoints
Type: Emgu.CV.Util..::..VectorOfKeyPoint
The keypoints drom the model image
modelDescriptors
Type: Emgu.CV..::..Matrix<(Of <(<'TDescriptor>)>)>
The descriptors from the model image
observedKeyPoints
Type: Emgu.CV.Util..::..VectorOfKeyPoint
The keypoints from the observed image
observedDescriptors
Type: Emgu.CV..::..Matrix<(Of <(<'TDescriptor>)>)>
The descriptors from the descriptor image
uniquenessThreshold
Type: System..::..Double
The distance different ratio which a match is consider unique, a good number will be 0.8

Return Value

If the model features exist in the observed features, an homography matrix is returned, otherwise, null is returned.

See Also