Render HDR image for viewing while enhancing local contrast
performs
tone mapping where parameters control various aspects of the operation.
Parameter names can be abbreviated.rgb
= localtonemap(hdr
,Name,Value
,...)
localtonemap
uses local Laplacian filtering
in logarithmic space to compress the dynamic range of HDR while preserving
or enhancing its local contrast. The 99% middle intensities of the
compressed image are then remapped to a fixed 100:1 dynamic range
to give the output image a consistent look. localtonemap
then
applies gamma correction to produce the final image for display.