Linear Photographic Tone Mapping Filter
Filter
RIF_IMAGE_FILTER_PHOTO_LINEAR_TONEMAP
Description
Photographic tone mapper that emulates the work of camera.
Based on following formulas:
https://en.wikipedia.org/wiki/Film_speed#Measurements_and_calculations.
The filter computes the luminous exposure H (in lux seconds):
where we assume q = 0.65. Pixel value is multiplied by H.
After that, gamma correction is applied.
Parameters
Parameter |
Type |
Input/Output |
Description |
---|---|---|---|
gamma |
float |
input |
Gamma correction value. |
exposureTime |
float |
input |
Film exposure time. |
sensitivity |
float |
input |
Luminance of the scene (in candela per m^2). |
fstop |
float |
input |
Aperture f-number. |