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.2.1.1150 (2.2.1.1150)
Syntax
C# | Visual Basic | Visual C++ |
public static Features2DTracker..::..MatchedImageFeature[] VoteForUniqueness( Features2DTracker..::..MatchedImageFeature[] matchedFeatures, double uniquenessThreshold )
Public Shared Function VoteForUniqueness ( _ matchedFeatures As Features2DTracker..::..MatchedImageFeature(), _ uniquenessThreshold As Double _ ) As Features2DTracker..::..MatchedImageFeature()
public: static array<Features2DTracker..::..MatchedImageFeature>^ VoteForUniqueness( array<Features2DTracker..::..MatchedImageFeature>^ matchedFeatures, double uniquenessThreshold )
Parameters
- matchedFeatures
- array<Features2DTracker..::..MatchedImageFeature>[]()[][]
The Matched Image features, each of them has the model feature sorted by distance. (e.g. SortMatchedFeaturesByDistance )
- uniquenessThreshold
- Double
The distance different ratio which a match is consider unique, a good number will be 0.8