From: Amitha Perera <perera@cs...>  20041011 12:42:02

On Sun 10 Oct 2004, Thierry Klein wrote: > From what I have read so far, I need to compute a homography between planes > and 9 points is too much (4 points would be enough) but I can probably use a > least squares method to improve result whith my 9 points... [...] > Can anybody tell me which package I should use [...] rpl/rrel/rrel_homography2d_est.h can be used for robust homography estimation. (Least squares is an option, of course.) Have a look at the example in rpl/rrel/examples/homography2d_fit.cxx. This file estimates the same homography using multiple robust estimation techniques. If you want to simply get a least squares fit, use rrel_homography2d_est::weighted_least_squares. To convert the homography matrix into a parameter vector and back, use the member functions homog_to_params and params_to_homog. Amitha. 