CloudCompare quit while exporting pcd format

Feel free to ask any question here
thinkelvin
Posts: 6
Joined: Fri Sep 07, 2018 4:36 pm

CloudCompare quit while exporting pcd format

Post 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.
daniel
Site Admin
Posts: 7717
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: CloudCompare quit while exporting pcd format

Post 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?
Daniel, CloudCompare admin
thinkelvin
Posts: 6
Joined: Fri Sep 07, 2018 4:36 pm

Re: CloudCompare quit while exporting pcd format

Post by thinkelvin »

Thanks for the reply.

My PC has 32GB ram.
daniel
Site Admin
Posts: 7717
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: CloudCompare quit while exporting pcd format

Post by daniel »

Ah! Then it's definitely not a RAM issue ;). Probably an issue with PCL then?
Daniel, CloudCompare admin
thinkelvin
Posts: 6
Joined: Fri Sep 07, 2018 4:36 pm

Re: CloudCompare quit while exporting pcd format

Post 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
Attachments
cloudcompare_export.jpg
cloudcompare_export.jpg (471.76 KiB) Viewed 7475 times
daniel
Site Admin
Posts: 7717
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: CloudCompare quit while exporting pcd format

Post 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)
Daniel, CloudCompare admin
thinkelvin
Posts: 6
Joined: Fri Sep 07, 2018 4:36 pm

Re: CloudCompare quit while exporting pcd format

Post 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.
thinkelvin
Posts: 6
Joined: Fri Sep 07, 2018 4:36 pm

Re: CloudCompare quit while exporting pcd format

Post 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?
daniel
Site Admin
Posts: 7717
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: CloudCompare quit while exporting pcd format

Post 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.
Daniel, CloudCompare admin
thinkelvin
Posts: 6
Joined: Fri Sep 07, 2018 4:36 pm

Re: CloudCompare quit while exporting pcd format

Post by thinkelvin »

Thanks, Daniel. will give it a try.
Post Reply