Hello,
the result of 3d reprojection using StereoSGBM algorithm is the X,Y,Z coordinates of each pixel in the depth image.
public void Computer3DPointsFromStereoPair(Image<gray, byte=""> left, Image<gray, byte=""> right, out Image<gray, short=""> disparityMap, out MCvPoint3D32f[] points) { points = PointCollection.ReprojectImageTo3D(disparityMap, Q); }
let's take the first element of this result (points[0]) which has: X= 414.580017 Y= -85.03029 Z= 10000.0
I'm confused here!! where I can find this pixel in the image ? and why it is not like this X=0,Y=0,Z=10000.0!