Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Converting from .ply to .pcd format

I have a .ply file and I want to convert it to a .pcd format but not exactly sure how.

I have tried the methods described by the op here Convertion of .ply format to .pcd format but they are not sufficient/doesn't work anymore.

when I try to open the .ply file its just a binary file except the header which looks something like this:

ply
format binary_little_endian 1.0
comment generated by Cartographer
element vertex 000000207134849
property float x
property float y
property float z
property uchar red
property uchar green
property uchar blue
property float intensity
end_header
bf/B¿ğBè)¿...
...

Thus I don't evet know where to start the conversion.

How do I do the conversion ?

Any method/doc would really help

like image 644
Kaan O Avatar asked Oct 17 '25 08:10

Kaan O


1 Answers

I Haven't tried, but something seems to be available in Ubuntu distributions probably doing sudo apt install pcl-tools:

  • pcl_ply2pcd http://manpages.ubuntu.com/manpages/focal/man1/pcl_ply2pcd.1.html
  • pcl_pcd2ply http://manpages.ubuntu.com/manpages/focal/man1/pcl_pcd2ply.1.html
like image 147
Remy Mellet Avatar answered Oct 19 '25 23:10

Remy Mellet



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!