3D reconstruction from 2 images with baseline and single camera calibration

左心房为你撑大大i 提交于 2019-12-04 21:26:07
3gfisch

so i found out what the Q matrix constrains here: Using OpenCV to generate 3d points (assuming frontal parallel configuration)

all these parameters are given by the single camera calibration: c_x , c_y , f

and the baseline is what i have measured: T_x

so this works for now, only the units are not that clear to me, i have used them form single camera calib which are in px and set the baseline in meters, divided the disparity map by 16, but it seams not the right scale..

by the way the disparity map above was wrong ^^ and now it looks better. you have to do a anti Shearing Transform cause the stereoRectifyUncalibrated is Shearing your image (not documented?). described in this paper at "7 Shearing Transform" by Charles Loop Zhengyou Zhang: http://research.microsoft.com/en-us/um/people/Zhang/Papers/TR99-21.pdf

Result: http://i.stack.imgur.com/UkuJi.jpg

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!