http://www.emgu.com
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.3.0.1416 (2.3.0.1416)
Filter the matched Features, such that if a match is not unique, it is rejected.
Namespace: Emgu.CV.Features2DAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.3.0.1416 (2.3.0.1416)
Syntax
C# |
---|
public static void VoteForUniqueness( Matrix<float> distance, double uniquenessThreshold, Matrix<byte> mask ) |
Visual Basic |
---|
Public Shared Sub VoteForUniqueness ( _ distance As Matrix(Of Single), _ uniquenessThreshold As Double, _ mask As Matrix(Of Byte) _ ) |
Visual C++ |
---|
public: static void VoteForUniqueness( Matrix<float>^ distance, double uniquenessThreshold, Matrix<unsigned char>^ mask ) |
Parameters
- distance
- Type: Emgu.CV..::..Matrix<(Of <(<'Single>)>)>
The matched distances, should have at lease 2 col
- uniquenessThreshold
- Type: System..::..Double
The distance different ratio which a match is consider unique, a good number will be 0.8
- mask
- Type: Emgu.CV..::..Matrix<(Of <(<'Byte>)>)>
This is both input and output. This matrix indicates which row is valid for the matches.