S_h_a_n_k_y
S_h_a_n_k_y

Reputation: 11

Point cloud using depth at each pixel location

Is there any way to get Point cloud from the depth data at each pixel. I have zed stereo camera which give the depth information at each pixel location but i want x and y too. Zed camera directly give Point cloud also but it is Unorganized and i want the organized one.

Upvotes: 0

Views: 1012

Answers (1)

S_h_a_n_k_y
S_h_a_n_k_y

Reputation: 11

Yes Dexter, i have the resolution means the image rows and columns and at each pixel location z coordinate (depth) is known.

Actually now i have got the answer how to find X and Y coordinates. X = x1 * Z / f

Y = y1 * Z / f where x1 and y1 are columns and rows. For more you can look at this link.

http://www.dis.uniroma1.it/~iocchi/stereo/triang.html

Upvotes: 1

Related Questions