Page 1 of 1

-FILTER_SF parameters

Posted: Tue Mar 27, 2018 11:47 pm
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?

Re: -FILTER_SF parameters

Posted: Fri Mar 30, 2018 10:29 am
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.)