Stereo pair triangulation after rectification

I'm using a stereo camera,(calibrated with the MATLAB tool), and extracting keypoints from rectified images (I rectify using rectifySteroImages). I implemented a stereo matching algorithm, but now I can not triangulate stereo pairs because I do not know the camera matrices after rectification. Is there some way to obtain the new camera matrices, or some different way to triangulate? Thank you in advance

댓글 수: 5

Hello, did you find the solution? I got the same problem with you and would like to know if you solved it. Thank you!
Hi, I did not find any good solution.
I rectified my set of images using opencv, that also provides the new projection matrices, and I used them in matlab.
Let me know if you find some better solution.
Qu Cao
Qu Cao 2019년 4월 10일
From the following post:
"You should undistort the images before using triangulate, but you should not rectify them. The triangulate function uses the linear triangulation algorithm from Hartley and Zisserman, which does not require the images to be rectified."
huy duong
huy duong 2019년 4월 19일
one more problem. What 'OutputView' we should do when undistort the image? 'same' or 'valid' or 'full'? I tried and saw two different result. Thanks much.
Thank you for the answer, but this does not solve the problem. I need rectification to perform fast stereo matching, plus it is reasonable to know new projection matrices to perform other tasks as for instance PnP.

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

답변 (0개)

카테고리

질문:

2018년 9월 19일

댓글:

2019년 4월 19일

Community Treasure Hunt

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

Start Hunting!

Translated by