irectify

Rectify stereo image pair

[out1,out2] = irectify(f, m, im1, im2) is a rectified pair of images corresponding to im1 and im2. f (3x3) is the fundamental matrix relating the two views and m is a FeatureMatch object containing point correspondences between the images.

[out1,out2,h1,h2] = irectify(f, m, im1, im2) as above but also returns the homographies h1 and h2 that warp im1 to out1 and im2 to out2 respectively.

Notes

See also

FeatureMatch, istereo, homwarp, CentralCamera


Machine Vision Toolbox for MATLAB © 1990-2014 Peter Corke.