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 SURFTracker..::..MatchedSURFFeature[] VoteForUniqueness( SURFTracker..::..MatchedSURFFeature[] matchedFeatures, double uniquenessThreshold )
Public Shared Function VoteForUniqueness ( _ matchedFeatures As SURFTracker..::..MatchedSURFFeature(), _ uniquenessThreshold As Double _ ) As SURFTracker..::..MatchedSURFFeature()
public: static array<SURFTracker..::..MatchedSURFFeature>^ VoteForUniqueness( array<SURFTracker..::..MatchedSURFFeature>^ matchedFeatures, double uniquenessThreshold )
Parameters
- matchedFeatures
- array<SURFTracker..::..MatchedSURFFeature>[]()[][]
The Matched SURF 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