# # Tone map with the Reinhard photographic operator with local adaptation # provided by a bilateral filter and "contrast" preprocess. # # first load processors PROCESSORS: 1 = "photographic" 2 = "coltolum" # extract brightness channel. 3 = "bilateral" # blur the brightness channel. 4 = "contrast" # blur the brightness channel. # Now add dependencies DEPENDENCIES: 1:0 <- 4 # slot 0 is populated by src 2:0 <- 0 # image -> luminance 3:0 <- 2 # luminance -> local adaptation 4:0 <- 0 4:1 <- 3 # Now set parameters PARAMETERS: # Set up compressor 1:"key" = 0.18 #set up filtering 3:"threshold" = 0.3 # Edge detection tolerance (turn down to stop halos) 3:"radius" = 10 # Radius of filter 3:"passes" = 1 # How many times we filter the data. # Set up contrast preprocessor 4:"contrast" = 2.0 # Slight enhancement OUTPUT: 1