Stereo Calibration and Image Rectification
显示 更早的评论
I'm trying to use the stereo camera calibrator to rectify a pair of stereo images. However, while the reprojection errors, extrinsic view, and reprojected points all look reasonable, the "show rectified" button just returns horizontal lines of various colors.

Similarly, attempting to use
[J1, J2] = rectifyStereoImages(I1, I2, stereoParams);
to rectify the stereo images returns a blank image:

Turning on 'OutputView' ,'full' :
% Rectify the images.
[J1, J2] = rectifyStereoImages(I1, I2, stereoParams, 'OutputView' ,'full');
shows the rectification is inverted:

I've attached my calibration images if they are of use. Thanks in advance for any help!
1 个评论
Anil Horasan
2016-8-24
I was having a similar issue, then I figure out that my calibration parameters were wrong. That was because I subtracted 2 of my stereo pairs' HTM wrt a reference point instead of multiplying them. What a shame! I suggest you to check your camera calibration parameters (stereoParams).
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Calibrate Cameras 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!