rectifyStereoImages doesn't work. Why???

1 次查看(过去 30 天)
Hello! I'm using the "computer vision toolbox" for stereo calibration. All is well EXCEPT to the rectification phase. 1. The calibration results looks fine.
  • 14 R & L image pairs
  • Image size is 5120x5120x3 (true color)
  • stereoParams.CameraParameters1.MeanReprojectionError = 1.0511
  • stereoParams is attached
When I do the following, I get 2 black images, without data. What am I doing wrong? Can you please take a look at the "stereoParams.mat" to see if something is totally wrong?
i=1
Il = imread([folder_nameL filesL(i).name]);
Ir = imread([folder_nameR filesR(i).name]);
[Jr, Jl] = rectifyStereoImages(Ir, Il, stereoParams);
Thank you
Einav

回答(1 个)

Dima Lisin
Dima Lisin 2015-6-29
Hi Einav,
Can you please post your images and the stereo parameters? Off hand, I would say you could use more calibration images. Also, what happens when you click "Show Rectified" button in the Stereo Camera Calibrator App?

类别

Help CenterFile Exchange 中查找有关 Computer Vision Toolbox 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by