Arithmetic for Fast Algorithm Prototyping
This forest image contains more information in its dark pixels than is visible in the standard dynamic range. Prototype a tone-mapping algorithm as easily as writing standard Wolfram Language arithmetic.
The extra data can be made visible with a simple multiplication.
A nonlinear mapping operator can be directly applied on the image to rescale the brightness.
An alternative way to compress the tones is to use the transcendental Log function.
Combining arithmetic and color conversion, a luminance-only scaling is performed.
This gives the possibility of a finer control on the image saturation.
Finally, arithmetic and statistics can be combined to build a nonlinear mean of the different brightness levels.