rectifyStereoImages doesn't work. Why???

2 views (last 30 days)
Einav Namer
Einav Namer on 28 Jun 2015
Answered: Dima Lisin on 29 Jun 2015
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

Answers (1)

Dima Lisin
Dima Lisin on 29 Jun 2015
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?

Categories

Find more on Computer Vision Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!