The fix ensures that the second best match is found correctly and thus the ratio test is performed as intended. Note that this change should be applied to other versions of FindMaxCorr as well, this commit changes the one currently used (FindMaxCorr10).
The fix ensures that the second best match is found correctly and thus the ratio test is performed as intended. Note that this change should be applied to other versions of FindMaxCorr as well, this commit changes the one currently used (FindMaxCorr10).