Page 1 of 2
CloudCompare quit while exporting pcd format
Posted: Fri Sep 07, 2018 4:39 pm
by thinkelvin
Hi there,
I was trying to output a point cloud with size about 90 million points into pcd format, but CloudCompare quits in the middle of the processing without any error message.
The export can be successfully done if the size is lowered down to 20 million points.
Any idea?
Thanks.
Re: CloudCompare quit while exporting pcd format
Posted: Fri Sep 07, 2018 5:00 pm
by daniel
Hum, the export is actually done by the PCL library, but I'm not sure if there's a limit (I would assume not). How much memory (RAM) have you on your PC?
Re: CloudCompare quit while exporting pcd format
Posted: Sat Sep 08, 2018 4:24 am
by thinkelvin
Thanks for the reply.
My PC has 32GB ram.
Re: CloudCompare quit while exporting pcd format
Posted: Sat Sep 08, 2018 3:55 pm
by daniel
Ah! Then it's definitely not a RAM issue ;). Probably an issue with PCL then?
Re: CloudCompare quit while exporting pcd format
Posted: Sun Sep 09, 2018 5:52 am
by thinkelvin
Hi Daniel,
Yes, I think so because the same point cloud can be saved as .e57 format without any problem.
In the case of pcd export, Cloudcompare just quits quietly within 10 seconds or so after clicking the "save" button without the export dialog even pops up.
Is there any way to upgrade the pcd library?
Thanks.
kelvin
Re: CloudCompare quit while exporting pcd format
Posted: Mon Sep 10, 2018 7:55 pm
by daniel
Hum, you have to recompile CC with a newer version of PCL. But I'm not sure it will fix the issue... Ideally someone should run the project in Debug mode and see what happens. Do you reproduce the issue with any cloud? (over a certain size)
Re: CloudCompare quit while exporting pcd format
Posted: Tue Sep 11, 2018 3:49 am
by thinkelvin
Thanks for the reply.
The problem comes when the size goes over about 50 million points. For the successful case, the size was 20 million points.
Re: CloudCompare quit while exporting pcd format
Posted: Tue Sep 11, 2018 4:06 pm
by thinkelvin
daniel wrote: ↑Mon Sep 10, 2018 7:55 pm
Hum, you have to recompile CC with a newer version of PCL. But I'm not sure it will fix the issue... Ideally someone should run the project in Debug mode and see what happens. Do you reproduce the issue with any cloud? (over a certain size)
Sorry for my ignorance, how to run the project in Debug mode?
Re: CloudCompare quit while exporting pcd format
Posted: Tue Sep 11, 2018 7:17 pm
by daniel
It's easier with Visual Studio for instance (where the default configuration is "Debug" and then you just need to start with the Debugger - F5 - and put breakpoints near the area of interest, then run step by step). But you can also do that with other compilers (MinGW, gcc, etc.) and use GDB for instance to do the same.
Re: CloudCompare quit while exporting pcd format
Posted: Thu Sep 13, 2018 1:32 pm
by thinkelvin
Thanks, Daniel. will give it a try.