Show rectified Stereo Calibration

3 Ansichten (letzte 30 Tage)
Marvin Höhner
Marvin Höhner am 14 Nov. 2020
Kommentiert: Marvin Höhner am 23 Nov. 2020
Hello
I have a question about the Stereo Camera Calibrator from the Visual Tool Box I have done a stereo calibration of two cameras. Now I would like to view the rectified images side by side so that the same pixels in both images represent the same object. Inside the Stereo Camera Calibrator there is the show rectified button. Is this button also available as a "code", so that I can bring pictures without the chessboard next to each other?
because with the "imshow(stereoAnaglyph(J1_valid,J2_valid);") command, the images lie on top of each other, and it is difficult to continue working with them.

Akzeptierte Antwort

Nagasai Bharat
Nagasai Bharat am 23 Nov. 2020
Hi,
From my understanding you looking for a function that can be used in code/MATLAB script to show rectified stereo images. There is a rectifyStereoImages function in computer vision toolbox which could solve you problem.
For more information and details about other function, Stereo Vision documentation might be helpful for your application.
  1 Kommentar
Marvin Höhner
Marvin Höhner am 23 Nov. 2020
Thanks for the answer.
Luckily my problem was already solved, because I missed a code error by me, so the 'Suggested Way' did not work. (One image was a color, the other was a grayscale image) The stereo camera calibrator automatically converts the images to grayscale images, but if I want to use "show rectified" I have to do that myself first, and I forgot to do that, or used the wrong file path. So as so often a mistake between the ears of the user, and no real problem in the program :D.
But still, thank you very much for the answer!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by