depth estimation using stereo cameras
조회 수: 5 (최근 30일)
이전 댓글 표시
Hi, I want to implement depth esimation with stereo cameras.
after rectification, the images should follow this rule: objects that are closer to the cameras should have large disparity and vice versa.
but in my results there is a far object with relative big disparity. I have noticed that in the following image, that I took from matlab example, there is a similar case (the car at the end of the parking lot) .

My question is why does this happen? and would it damage the depth estimation?
I'll just add that the I used the calibration app one time, and feature detector and estimateFundamentalMatrix function a second time. both gave similar results.
댓글 수: 0
채택된 답변
Dima Lisin
2015년 9월 21일
편집: Dima Lisin
2015년 9월 21일
Hi Idan,
When you do uncalibrated rectification, the rectified views do not always end up parallel, but may be verged a little. That means the disparity may actually be negative for objects that are far away. I think this is what happened to the car at the end of the parking lot. In a case like this, if you compute the disparity map, you should subtract the minimum disparity value from the map. This will shift the range, to make the minimum disparity 0.
댓글 수: 2
Dima Lisin
2015년 9월 21일
This can happen if camera 1 is to the right of camera 2, as you look in the same direction as the cameras. In that case, the sign of disparity values is reversed. Generally it is a good idea to make sure that camera 1 is on the left.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 MATLAB Support Package for USB Webcams에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!