How to correct a vertical shift in stereo images

조회 수: 4 (최근 30일)
Beyza Cansiz
Beyza Cansiz 2020년 3월 5일
답변: Sai Bhargav Avula 2020년 3월 23일
I am trying to generate a disparity map from stereo images. These stereo images have quite a misalignment. There is a vertical and a horizontal shift.
I restify both images with rectifyStereoImages but it doesn't work:
[J1_BM, J2_BM] = rectifyStereoImages(img_left_2,img_right_2,stereoParams,'OutputView','valid');
The corresponding points in the images don't have the same row coordinates. They have a vertical shift and so the result is a noisy disparity map.
Can anyone suggest me how to correct this shift?
Thank you
  댓글 수: 1
Qu Cao
Qu Cao 2020년 3월 9일
Have you calibrated your stereo camera? How did you obtain stereoParams?

댓글을 달려면 로그인하십시오.

답변 (1개)

Sai Bhargav Avula
Sai Bhargav Avula 2020년 3월 23일
Hi,
As mentioned Qu Cao first try calibrating the using the stereo images check for the reprojecction error and epipolar error. The calibration can be done by using stereo calibration app. Refer the below link for a detailed explanation,
Hope this helps!

카테고리

Help CenterFile Exchange에서 Camera Calibration에 대해 자세히 알아보기

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by