Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 41027

Getting real 3D points from disparity map

$
0
0
Hi, I need to get the real 3D points from the disparity map i got (after stereo calibrating and rectifying). I tried to use reprojectImageTo3D, but the coordinates i get don't make sense, even the sign of them (positive/negative). Are the points i get from the function are real coordinates in the world coordinate system i use (a chess board is attached to the photo so the coordinate system i use is according to it). This is the code i used after calculating the disparity map: disp.convertTo(disp, CV_32F, 1.0 / 16.0); Mat xyz; reprojectImageTo3D(disp, xyz, Q, true); Thanks, Oleg

Viewing all articles
Browse latest Browse all 41027

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>