1 | initial version |
You could use cv::triangulatePoints:
http://docs.opencv.org/modules/calib3d/doc/camera_calibration_and_3d_reconstruction.html#triangulatepoints
It gives you homogeneous 3D points from two projection matrices and corresponding pixels.