rectifyStereoImages doesn't work. Why???

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

Antworten (1)

Dima Lisin
Dima Lisin am 29 Jun. 2015

0 Stimmen

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?

Kategorien

Gefragt:

am 28 Jun. 2015

Beantwortet:

am 29 Jun. 2015

Community Treasure Hunt

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

Start Hunting!

Translated by