carlomantini
carlomantini

Reputation: 11

Convert pcl xyzrgb(a) point cloud to images from different angles of the cloud

I would like to generate images from my point cloud (Kinect) from different angles, but the only function to take snapshots seems to require an open Viewer (open Window) and saves the images to a file. I would like to process them later and show them in a custom viewer, so storing in RAM is necessary.

Is the point cloud library providing such a method? Or does anybody knows how the approach with pcl would look like?

My second approach is to use opencv mats. Then use the projectPoints method for the projection, but this works on xyz-coordinates not xyzrgb(a) and I will loose the information which color from the pointcloud point belongs to the new projected image.

I stuck a little bit here :( and hope you can help me :)

Many thanks

Greetings Carlo

Upvotes: 1

Views: 1047

Answers (1)

Nick Walton
Nick Walton

Reputation: 31

I don't believe there is a way to do that using PCL functions. However PCL uses VTK to build it's viewer and I believe you would be able to do what you're talking about by using VTK functionality, though it's likely going to be more complicated. This article might be a good start.

Upvotes: 1

Related Questions