I have two webcams (let's call them left webcam and right webcam, respectively), that I am using as a stereo camera system. I have the following information regarding my setup:
- Camera intrinsics and distortion coefficients of both the webcams;
- Rotation and translation vectors of one of the webcams with respect to the other;
- Fundamental and Essential matrices;
- Reprojection matrices for both the webcams, so that the images from the webcams can be reprojected in such a way that the epipolar lines are horizontal.
- Disparity map (using StereoSGBM)
Now, let's say that using Harris detection (or some other feature-detection technique), I have acquired a list of feature points from the left webcam image. How do I get the 3-D world co-ordinates of these points? Also, how would the procedure, to do so, change if I had feature points from right webcam image?
I am using OpenCV 3.4.10 C++ on Ubuntu 18.04