Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

reprojectImageTo3D components mean?

Hello.

I'm working stereo vision.

I'm using 2 webcams. Also, I use stereoRectify(), now I have Q matrix(disparity map to depth).

Then, I use reprojectImageTo3D(). I can get 3 chenels matrix.(From now, this matrix = T)

In the guide pages of reprojectImageTo3D said, " That is, for each pixel (x,y) and the corresponding disparity d=disparity(x,y) "

As I understood, It means that if there is a [960, 720] image, T[100,200,2] means T(100,200)'s depth.

But, I print that values, I think it is a wrong supposition...

I don't understand T[x,y,0], T[x,y,1], T[x,y,2] mean...

plz help me.

ps. My ultimate goal is to seek depth(distance).