Skip to main content
. 2017 Feb 16;17(2):384. doi: 10.3390/s17020384
Algorithm 2. Mismatch Elimination Based on Matching Direction
1. Calculate the matching direction of each match.
2. Encode every match using its matching direction.
3. For every code, count the number of matches with this code to create the histogram of matching direction.
4. Find the maximum value of histogram M1 and the secondary maximum value M2.
5. If M1>αM2, save the matches with code of the maximum; otherwise, abandon all.