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