Depth from stereo camera with different focal length

Viewed 1519

I am working on stereo camera depth estimation. However, for particular purpose, I need to use two camera with different FOV and focal length.
After a lot of Google research, I know that I can still calibrate the two camera and rectify them to generate disparity map, but I have no idea how to convert disparity map to depth because their focal length is different, which does not satisfy the model in
http://docs.opencv.org/trunk/dd/d53/tutorial_py_depthmap.html

Does anyone have solution?

Thanks!

1 Answers

Have you considered using cv::triangulate() to obtain the (x,y,z) 3D world coordinates ?

I believe your end goal is to obtain a depth map.

Related