【发布时间】:2015-09-17 19:10:40
【问题描述】:
我是第一次在立体视觉中工作。我正在尝试纠正立体图像。以下是结果
我不明白为什么图片会被裁剪
以下是我的代码
% Read in the stereo pair of images.
I1 = imread('sceneReconstructionLeft.jpg');
I2 = imread('sceneReconstructionRight.jpg');
% Rectify the images.
[J1, J2] = rectifyStereoImages(I1, I2, stereoParams);
% Display the images before rectification.
figure;
imshow(stereoAnaglyph(I1, I2), 'InitialMagnification', 50);
title('Before Rectification');
% Display the images after rectification.
figure;
imshow(stereoAnaglyph(J1, J2), 'InitialMagnification', 50);
title('After Rectification');
我正在尝试遵循本指南
http://www.mathworks.com/help/vision/examples/stereo-calibration-and-scene-reconstruction.html
我使用的图片
【问题讨论】:
-
你能把图片贴出来让我们试试吗?
-
我已添加图片
-
可以加
stereoParams吗?我们无法运行您的代码! -
stereoParams 在变量中
标签: matlab image-processing 3d matlab-cvst stereo-3d