Reconstruction a 3D point from two 2D points?

user1415976 picture user1415976 · May 24, 2012 · Viewed 7.6k times · Source

OpenCV contains a lot of support for 3D reconstruction from stereo cameras. In my case i have two cameras, and I want to know 3D coordinates of some point.

What i have:

  1. pixel coordinates of point on both images
  2. Known intrinsic and extrinsic camera parametres

What I want to get: Coordinates this point in 3D

Answer

Jav_Rock picture Jav_Rock · May 30, 2012

I have answered the same question in this other post.

If you have extrinsic parameters, then you have the camera pose. With the camera pose and the the 2D point, you can proyect the 3D points (for each camera should be the same result if your 2D points and extrinsics are correct). You just need to convert pose to homography. I explain it in the post I linked.

Good luck!