Reputation: 93
Clarification: You have a point in 3D space and a stereo camera setup that captures the point in its left and right images. Is there a function that uses the pixel coordinates of the point in both images (along with the intrinsic/extrinsic parameters of the stereo rig) and outputs the 3D coordinates of the point?
I've looked through the EMGU library and tried googling others that might have it, but I've had no luck.
Any help would be appreciated.
Upvotes: 1
Views: 463
Reputation: 420
Assuming the images have been rectified
Z = (b * f) / (Xleft - Xright)
where
Upvotes: 1