I use opencv 3.0.0 beta.
I calibrated my camera and I would like project image points (2D) to points in 3D.
I saw the function :void fisheye::projectPoints(InputArray objectPoints, OutputArray imagePoints, InputArray rvec, InputArray tvec, InputArray K, InputArray D, double alpha=0, OutputArray jacobian=noArray())
but I would like the opposite projection.
I know :
- cameraMatrix,
- distortion coefficients,
- translation vector,
- rotation vector and
- the distance between my object 3D point and the 3D origin.
How can I do this?