How to correct a vertical shift in stereo images
7 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
回答 (1 件)
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!
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Camera Calibration についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!