-FILTER_SF parameters

Feel free to ask any question here
Post Reply
Fab_AMX
Posts: 3
Joined: Tue Mar 27, 2018 11:39 pm

-FILTER_SF parameters

Post by Fab_AMX »

Hi,
I'm trying to colorise a point-cloud using -FILTER_SF and and setting up the SAT_MIN and SAT_MAX parameters but it doesn't seem to work.
-FILTER_SF only seem to work with SAT_MIN and SAT_MAX parameters.

it works for the min max interval
-FILTER_SF 0 2

it does not work when using
var MIN=0
var MAX-2
-FILTER_SF MIN MAX

it doesn't not work when using
var SAT_MIN=0.5
var SAT_MAX=1
-FILTER_SF 0 2 SAT_MIN SAT_MAX

Am I missing something?
daniel
Site Admin
Posts: 7710
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: -FILTER_SF parameters

Post by daniel »

Sorry for the delay,

It looks more like an issue with your scripting language, isn't it? Or did you meant that you wanted to use the keywords MIN / DISP_MIN / SAT_MIN (and the same for MAX)? Because in this case those are not variables, just "words".

You write your command like this:

Code: Select all

-FILTER_SF DISP_MIN SAT_MAX
This will tell CC to use the actual minimum value, and the maximum saturation value, etc.

Of course if you want variables, you probably have to use the scripting language convention to convert the variable to a real value in the command line string (e.g. %MAX%, etc.)
Daniel, CloudCompare admin
Post Reply