(Depth estimation) The rectified images do not have enough common rectangle region
8 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hello dear people,
I am pretty new with matlab and currently trying to get a depth estimation working with the following setup.
Calibration seems to be working:
Now i want to get a depth estimation from my pictures:
If i now try to get a depth estimation with the code from the "depth estimation from stereo video" guide i get the following error:
The rectified images do not have enough common rectangle region. Switch to 'full' output view instead.
And i am not sure what my error is and how to fix it.
I attached my project files. I'm sorry if those are not enough information for you, let me know what you need.
0 comentarios
Respuestas (1)
Sai Bhargav Avula
el 25 de Oct. de 2019
Hi,
First try the following in your code.
[frameLeftRect, frameRightRect] = rectifyStereoImages(frameLeft, frameRight, stereoParams, 'OutputView', 'Full');
By default, rectifyStereoImages crops the output images to only contain the overlap between the two frames. In this case the overlap is very small compared to the disparity.
Also, from my understanding by looking at the setup, you are using Point Grey cameras. Their baseline (distance between cameras) is too close. I would recommend increasing the stereo setup baseline to get better advantage of using Stereo Point Grey Cameras.
1 comentario
Ver también
Categorías
Más información sobre Camera Calibration en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!