An option to 'Export cloud info' under the command line function < -RASTERIZE -GRID_STEP {value} > would allow users to accurately place raster images in 2D space. The Barycenter (X,Y,Z) information could be used to apply a simple translation of the image.
It could look something like this:
-RASTERIZE -GRID_STEP -CLOUD_INFO {value}
which could generate the .CSV file (the same file that would be generated using GUI (Tools > Batch Export > Export cloud info) alongside the .TIF file generated by:
-OUTPUT_RASTER_RGB
Export cloud info:
https://www.cloudcompare.org/doc/wiki/i ... cloud_info
CC will save in a CSV file (one line per cloud):
[*] Name
[*] Number of points
[*] Barycenter (X, Y, Z)
[*] For each scalar field
[*] Name
[*] Number of valid values
[*] Mean value
[*] Std. dev.
[*] Sum
Export cloud info in command line mode
Re: Export cloud info in command line mode
guess I'll add that to the TODO list then ;)
Daniel, CloudCompare admin
Re: Export cloud info in command line mode
Hi Daniel,
Instead of exporting the box center ("Barycenter (X, Y, Z)") when exporting cloud info, could we get the box dimensions?
I'm happy to tinker with this on my own fork (v2.13.alpha) if you could point me towards the right code; your TODO list is super long!
Paul
Instead of exporting the box center ("Barycenter (X, Y, Z)") when exporting cloud info, could we get the box dimensions?
I'm happy to tinker with this on my own fork (v2.13.alpha) if you could point me towards the right code; your TODO list is super long!
Paul
Re: Export cloud info in command line mode
Is this wat you are looking for? https://github.com/CloudCompare/CloudCo ... .cpp#L8742
Daniel, CloudCompare admin
Re: Export cloud info in command line mode
That is very helpful, thanks!