Page 1 of 1

transforming pcd files

Posted: Tue Sep 25, 2018 2:09 pm
by annemirl1981
Hi! Is CloudCompare able to transform pcd files? I have a file with a header like this
# .PCD v.7 - Point Cloud Data file format
FIELDS x y z rgb imX imY
SIZE 4 4 4 4 4 4
TYPE F F F F F F
COUNT 1 1 1 1 1 1
WIDTH 3161
HEIGHT 1
VIEWPOINT 0 0 0 1 0 0 0
POINTS 3161
DATA ascii

But need the file with a header like this
# .PCD v0.7 - Point Cloud Data file format
VERSION 0.7
FIELDS x y z
SIZE 4 4 4
TYPE F F F
COUNT 1 1 1
WIDTH 13704
HEIGHT 1
VIEWPOINT 0 0 0 1 0 0 0
POINTS 13704
DATA binary_compressed

Anyone out there who can help?
Thanks a lot in advance.

Re: transforming pcd files

Posted: Thu Sep 27, 2018 9:46 am
by daniel
Have you tested what format CC outputs? If it's not the one you are looking, then in the default GUI version you won't find any option to change it.

Of course you could try to hack the code of the "I/O filter" that does the export job... But I'm not the author so I don't know what it implies, etc.