For the script to work for me I had to remove the parentheses in the functions declaration "luminance" and "contrast".
Authored Comments
For the script to work for me I had to remove the parentheses in the functions declaration "luminance" and "contrast".