How to reconstruct 3D image

asked 2014-11-11 04:00:58 -0500

arya gravatar image

Now am doing conversion of 2D image to 3D image. So for that I am using the function reprojectImageTo3D(imgDisparity8U, xyz, Q, true); But I got an error like this.

Assertion failed (Q.size() == Size(4,4)) in reprojectImageTo3D, file /home/arya/stuff/opencv/opencv-2.4.7/modules/calib3d/src/calibration.cpp, line 2823

Could you tell me what is xyz and Q? And what are the values given to these variables?

edit retag flag offensive close merge delete