Filter the matched Features, such that if a match is not unique, it is rejected.
Namespace:
Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.2.0.809 (2.2.0.809)
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