I am currently trying to segment some clouds using the command line to be able to process multiple files in a row.
I have a file containing multiple clouds, each represents the same object at a different time with slight changes due to the time difference.
I tied to use the command Extract_CC to extract the connected components with the autosave feature as follows :
Code: Select all
CloudCompare -O [path_to_file] -EXTRACT_CC 8 10000
The problem I encounter is the following : since the file ([filename]) contains multiple clouds, as soon as the extraction passes to another cloud, the saved components are overwritten, because the syntax for saving them only takes into account the [filename] but not the respective cloud name.
I have tried using the manual saving feature, but since more than 300 clouds will be created, I have not managed to give a list of all the filenames (with its respective path) for every extracted cloud. I suppose this could be due to the command line exceeding a certain limit of characters used?
I have tried this by creating multiple variables (to not exceed the limit of characters per variable) which, one after the other respect the syntax of "Path/file1.bin Path/file2.bin Path/file3.bin ..." with this command:
Code: Select all
CloudCompare -AUTO_SAVE OFF -O [path_to_file] -EXTRACT_CC 8 10000 -SAVE_CLOUDS FILE !File_List_part1!!File_List_part2!!File_List_part3!!File_List_part4!
Thanks in advance for any help or information