Problem in rectifyStereoImages, the result looks weird.

3 visualizaciones (últimos 30 días)
Junnan Chen
Junnan Chen el 21 de Sept. de 2020
Respondida: Aman Vyas el 19 de Oct. de 2020
I have implemented rectifyStereoImages, but the result looks weird.
The bottom images are inputs(1080 * 1920), and the top images are outputs(1320 * 7065).

Respuestas (1)

Aman Vyas
Aman Vyas el 19 de Oct. de 2020
Hi,
You can try one of the following possible workaround for above problem:
1) Get the calibration right by getting more calibration images, especially towards the edges of the Field of View of the cameras to capture the distortion and skew with more accuracy. Trying out different calibration settings should also help in this.
2) Getting more overlap between the cameras and reducing the baseline also helps reducing the disparity and results in more reliable results. The disparityBM and disparitySGM functions also provide some control over parameters to allow for more pixels to be used in the disparity map ('ContrastThreshold', 'UniquenessThreshold').
Hope it helps !

Community Treasure Hunt

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

Start Hunting!

Translated by