Gennaro
Gennaro

Reputation: 138

Converting depth map, stored in a Mat to a point cloud using pcl

I have a PNG image that I have stored in a Mat (16UC1).

Is there a fast way to project a depth map into a point cloud using point cloud library? And after this: is there a fast way to project a point taken on that image into point cloud?

I have to use as reference system that one that is located at the center of the IR sensor on Kinect.

I would appreciate a kind of guide, if it's possible, thank you a lot!

Upvotes: 1

Views: 6660

Answers (1)

Gennaro
Gennaro

Reputation: 138

I solved the problem: I used this system and these camera parameters, except the focal length I knew.

Every cameras have its parameters, but I had to work on a particular sequence and camera's parameters were not supplied (except focal length). So it's an approximation.

Upvotes: 1

Related Questions