I'm trying to interpolate a scalar field from one point cloud to another using the "Interpolate from another entity" tool from the CloudCompare console. To do this, I execute the following command in the Windows command prompt:
Code: Select all
CloudCompare.exe -NO_TIMESTAMP -O -GLOBAL_SHIFT AUTO "C:/Algorithm/input/pointcloud1.bin" -O -GLOBAL_SHIFT FIRST "C:/Algorithm/input/pointcloud2.las" -SF_INTERP LAST -SAVE_CLOUDS
Code: Select all
Unknown or misplaced command: '-SF_INTERP'
An example of the console output is attached as an image.
Both clouds appear to load correctly. My largest cloud (pointcloud2.las) is about 5GB in total size. It's very detailed, and a significant amount of accuracy gets lost when translating to the 32 bits representation, hence I make sure to apply global shift to both entities before moving on to interpolation. Looking at the console output, only the LAS cloud seems to actually undergo translation. I presume because the other file is a bin. I've theorized that it might be better to import pointcloud2 before pointcloud1 using the -DEST-IS_FIRST option to set the AUTO shift appropriately, but this ultimately changes nothing, as the algorithm doesn't appear to actually get to the point where this becomes relevant, anyway.
I've checked whether the point cloud format affects the problem (the same issue occurs with .e57 files), verified that both clouds load, and ensured that both clouds overlap in the 3D space. It does not appear to be an issue with the clouds. Additionally, other commands that I run with the clouds (i.e. anything that is not -SF_INTERP) does run successfully. Finally, running "Interpolate from another entity" manually within the CloudCompare GUI does appear to work as expected.
Is it something in my command after all? Or if not, does anyone know what might be causing this issue? I'm running CloudCompare version v2.12.4.