Hi
I am trying to rectify some stereo images. this is my code
vmal_rectifier *rect = new vmal_rectifier( pts0, pts1, height, width );
vnl_double_3x3 H0;
vnl_double_3x3 H1;
rect->rectification_matrix( H0, H1 );
rect->resample( H0, H1, imgLV, imgRV );
Finally get the rectified image
rect->GetRectifiedImageLeft( );
But the rectification is not correct and the image presents a very big distortion.
I use ~70 matching points found by vgel_kl