Ask Your Question
2

Which parameters findHomography you found to give better results?

asked 2012-06-26 06:38:23 -0600

Rui Marques gravatar image

updated 2012-07-08 17:27:27 -0600

Which parameters (method and ransacReprojectionThreshold) from findHomography function you found to give better results in terms of a balance between accuracy and performance, and what is the reasoning?

*Edit:

I use RANSAC with ransacReprojectionThreshold = 4. But I am not sure if i can do better than this.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
4

answered 2012-06-27 09:03:18 -0600

Vincent Rabaud gravatar image

method of 0 assumes no outliers. The RANSAC one requires you to give a distance and this one has to be chosen with respect to your noise model/dataset: try with a few pixels (e.g. 2) and keep increasing if you are dis-satisfied by the results.

The Least-Median method uses the median of your valid points and does not assume a distance but it assumes that at least 50% of your points are valid.

edit flag offensive delete link more

Comments

Thanks for your answer, it is certainly helpful but I updated the question to mention a "balance between accuracy and performance", which is more accurate to what I had in mind.

Rui Marques gravatar imageRui Marques ( 2012-06-27 10:24:13 -0600 )edit

Question Tools

Stats

Asked: 2012-06-26 06:38:23 -0600

Seen: 2,209 times

Last updated: Jul 08 '12