Convert textured mesh to point cloud with color information

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Convert textured mesh to point cloud with color information

Vinmean
This post was updated on .
I have successfully visualized a textured mesh in pcl visualizer. Is it possible to convert this mesh into a point cloud datatype with color information (pcl::PointCloud<pcl::PointXYZRGB>)?

I want to add that the mesh that I have, is in the form of vtk object and not pcl's TextureMesh.
Reply | Threaded
Open this post in threaded view
|

Re: Convert textured mesh to point cloud with color information

alvaro562003@yahoo.fr
This post has NOT been accepted by the mailing list yet.
Reply | Threaded
Open this post in threaded view
|

Re: Convert textured mesh to point cloud with color information

MHamad
In reply to this post by Vinmean
This github code should do the job.
https://github.com/PointCloudLibrary/pcl/blob/master/io/tools/converter.cpp

I tried it myself converting .STL to .pcd. You can check the formats you can
convert between.



--
Sent from: http://www.pcl-users.org/
_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users