Click or drag to resize
Features2DToolboxVoteForSizeAndOrientation Method
Eliminate the matched features whose scale and rotation do not aggree with the majority's scale and rotation.

Namespace: Emgu.CV.Features2D
Assembly: Emgu.CV (in Emgu.CV.dll) Version: (
public static int VoteForSizeAndOrientation(
	VectorOfKeyPoint modelKeyPoints,
	VectorOfKeyPoint observedKeyPoints,
	VectorOfVectorOfDMatch matches,
	Mat mask,
	double scaleIncrement,
	int rotationBins


Type: Emgu.CV.UtilVectorOfKeyPoint
The keypoints from the model image
Type: Emgu.CV.UtilVectorOfKeyPoint
The keypoints from the observed image
Type: Emgu.CV.UtilVectorOfVectorOfDMatch
Matches. Each matches[i] is k or less matches for the same query descriptor.
Type: Emgu.CVMat
This is both input and output. This matrix indicates which row is valid for the matches.
Type: SystemDouble
This determines the different in scale for neighbor hood bins, a good value might be 1.5 (which means matched features in bin i+1 is scaled 1.5 times larger than matched features in bin i
Type: SystemInt32
The numbers of bins for rotation, a good value might be 20 (which means each bin covers 18 degree)

Return Value

Type: Int32
The number of non-zero elements in the resulting mask
See Also