Import and subsample multiple point clouds (command line)

Feel free to ask any question here
Post Reply
ProCro
Posts: 3
Joined: Thu Nov 03, 2016 3:59 pm

Import and subsample multiple point clouds (command line)

Post by ProCro »

Hello everyone :)

I have 668 registered clouds in .e57 format, and now I'm cleaning noise and moving objects manually in cc. When done, is there an option to import and subsample (3 or 4mm) all the clouds at once trough command line mode?

I know that this is big amount of data, but I've already imported all of them (exported as single .57 file from ReCap) and save them individually. I've used this command: "c:\Program Files\CloudCompare>CloudCompare -O -GLOBAL_SHIFT x y z "scan_location\scan_name.e57" -DROP_GLOBAL_SHIFT -C_EXPORT_FMT E57 -SAVE_CLOUDS"

My rig is i9 9900K, 128GB ram, GTX 1080.

Thanks and kind regards :)
daniel
Site Admin
Posts: 7717
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Import and subsample multiple point clouds (command line)

Post by daniel »

Well you can load and then apply subsampling (-SS) via the command line indeed. It all depends what you mean by "all at once"?

(see https://www.cloudcompare.org/doc/wiki/i ... _line_mode)
Daniel, CloudCompare admin
ProCro
Posts: 3
Joined: Thu Nov 03, 2016 3:59 pm

Re: Import and subsample multiple point clouds (command line)

Post by ProCro »

Since all of them have different name, is there command to import folder?
daniel
Site Admin
Posts: 7717
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Import and subsample multiple point clouds (command line)

Post by daniel »

Do you mean the folders where the files are?

I was more thinking about something like:
  • create the destination folder
  • cd to this folder
  • call << path/to/CloudCompare -O "my\Absolute\File\Path1\File.xxx" -O "my\Absolute\File\Path2\File.yyy" -DO_SOMETHING ... >>
All the automatically generated files will be created in the local folder where you call CC from (or am I mistaken?)
Daniel, CloudCompare admin
ProCro
Posts: 3
Joined: Thu Nov 03, 2016 3:59 pm

Re: Import and subsample multiple point clouds (command line)

Post by ProCro »

I have folder in which I have 668 .e57 files (file1.e57, file2.e57, file3.e57, ..., file668.e57)

My goal is to open all of them (or one by one), subsample them to 3mm, and then save them to another location. I hope that I'm more clear now :)


If I'm right, I need command like: "cd c:\Program Files\CloudCompare>CloudCompare -O "ALL FILES IN my\folder\" - SS SPATIAL 0.003 -SAVE_CLOUDS"

Sorry on my English, it's not my native :(
Post Reply