You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using pypcd to convert from binary PCD file to ascii PCD file without installing PCL in my system. My original binary PCD file has x, y, z and rgb data and I use the following code to read it and save it with ascii format:
pc = pypcd.PointCloud.from_path('binary_input.pcd')
pc.save_pcd('ascii_output.pcd', compression='ascii')
All works fine except for the rgb column. The output ascii file has all RGB values set to 0.0.
But if I use this snippet of code I can print the RGB values:
@agutif i met the same problem, have you solved it?
Finally I solved it by converting only x, y and z with pypcd. Then, I coded a simple program to convert the rgb column and merge it with the previously converted x, y and z file.
Hi,
I am using pypcd to convert from binary PCD file to ascii PCD file without installing PCL in my system. My original binary PCD file has x, y, z and rgb data and I use the following code to read it and save it with ascii format:
All works fine except for the rgb column. The output ascii file has all RGB values set to 0.0.
But if I use this snippet of code I can print the RGB values:
Thanks.
The text was updated successfully, but these errors were encountered: