Depth from reprojectImageTo3D
Hi , I'm working with opencv and I have a doubt.I've ran stereorectify() and reprojectImageTo3D() methods on my images taken from a stereo pair of cameras.The output of reprojectImageTo3D() method is a matrix having 3 channels of x y and z cordinate.I have the following doubts in mind which would be a great help if solved.
- The output of reprojectImageTo3D() method is in which distance measuring system.?Like does it give output in meters/cm (cause of calibration) or in pixels.
- How to locate the origin of the stereo camera system.
The distance's unit is the same as the one you set for the chessboard. For example, if your chessboard corner is set as (0,0), (0,1), (0, 2)... standing for 1 cm for each block, then the unit for your result from reprojectImageTo3D is in "cm" unit. Hope it helps.
do u happen to know any good resource for point cloud generation during real time..??