Ask Your Question

dirtbag's profile - activity

2015-04-09 14:07:36 -0600 received badge  Supporter (source)
2015-04-09 13:45:15 -0600 commented question MSER and SURF provide false matches

It's mostly to save computation time during RANSAC. If you throw out a bunch of bad matches using a simple distance threshold (3*min_dist), then findHomography has a better chance of finding the right homography quickly. That said, you're idea of only keeping the best K matches would accomplish the same goal of filtering/shortening the list of matches.

Keep in mind that there are images where several keypoints will match perfectly with many, many other keypoints. In this case, you'll need a larger list to be sure that you'll find a good solution. 3*min_dist would then give you the larger list you need while filtering out at least some of the garbage.

2015-04-08 11:36:35 -0600 commented question Different results of gpu::HOGDescriptor and cv::HOGDescriptor

I don't have much to add, but here's an image of the difference. The errors look relatively minor. I wonder if it's simply floating point error. That might explain why the errors in angle appear smaller than the errors in magnitude

2015-04-08 11:12:16 -0600 commented question MSER and SURF provide false matches

The documentation has a very nice example of findHomography using RANSAC