# # Tone map with the Reinhard photographic operator with local adaptation # provided by a multi level gaussian blur and "contrast" preprocess. # # first load processors PROCESSORS: 1 = "photographic" 2 = "coltolum" # extract brightness channel. 3 = "mlfilter" # 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:"number of layers" = 6 # number of layers to blend together. 3:"threshold" = 1 # Edge detection threshold (turn down to stop halos) # Set up contrast preprocessor 4:"contrast" = 2 OUTPUT: 1