This script: http://www.luminous-landscape.com/forum ... #msg748602.
Now, we would like to be able have the script take an input value (let's call it sharpAmount, for sharpening amount), between 0 and 100, and perform some arithmetic on it in order to pass a derived value, named deblurValue, to -define filter:blur=deblurValue.
Specifically, we would like the relationship between the input and derived value to be as follows:
Code: Select all
deblurValue = 0.88549061701764 + (1 - .01*SharpAmount)*(1-0.88549061701764)
Does anybody know how to do this (in Windows)?
Link to original question: http://www.luminous-landscape.com/forum ... #msg748960