More methods for -SF_INTERP please

Feel free to ask any question here
Post Reply
linda
Posts: 2
Joined: Fri Dec 19, 2025 2:26 pm

More methods for -SF_INTERP please

Post by linda »

Hi,

would it be possible to add different interpolation methods for -SF_INTERP in the command line?
Currently, it uses nearest neighbours as the default. But I'm building a processing pipeline for transferring label SFs (e.g. segmented trees) from one pointcloud to multiple others, and I need to use the nearest neighbour method (the default parameters set in the GUI are fine).

Thanks a lot!

Linda
daniel
Site Admin
Posts: 8158
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: More methods for -SF_INTERP please

Post by daniel »

Ok, so in the latest version online, I added 2 options:
'-SF_INTERP {SF index} -INTERP_NN k' to use nearest neighbors interpolation (k = number of neighbors)
or
'-SF_INTERP {SF index} -INTERP_RADIUS r' to use interpolation inside a sphere (r = sphere radius)
(these new options must always be placed after '-DEST_IS_FIRST')
Daniel, CloudCompare admin
Post Reply