# # Tone map with the Reinhard photographic operator with local adaptation # provided by a multi level gaussian blur. # # first load processors PROCESSORS: 1 = "photographic" 2 = "coltolum" # extract brightness channel. 3 = "mlfilter" # blur the brightness channel. # Now add dependencies DEPENDENCIES: 1:0 <- 0 # slot 0 is populated by src 1:1 <- 3 # Take blurred luminance channel. 2:0 <- 0 # image -> luminance 3:0 <- 2 # luminance -> local adaptation # Now set parameters PARAMETERS: # Set up compressor 1:"key" = 0.18 1:"contrast" = 1.3 # slightly enhanced contrast #set up filtering 3:"number of layers" = 4 # number of layers to blend together. 3:"threshold" = 0.3 # Edge detection threshold (turn down to stop halos) OUTPUT: 1