I have a stack of know object. My problem is to find the World Coordinates(X,Y,Z) of the object using the stereo pair. I have done the following steps.
- Stereo camera calibration, Got intrinsic and extrinsic parameters.
- Un-Distort the image pair.
- Stereo rectification to get the images in epipolar line.
- I have segmented the object region from the image(I know the Object region in the image)
I know the formula z = (bF) / (ds) to calculate the depth.
Is there any function to find X,Y,Z in opencv. My working distance is around 260mm, will i be able to get the depth accuracy of 1mm using triangulation method ?
I have also referred to these question which didnt answer my problem Stereo vision: Depth estimation 3D stereo, bad 3D coordinates