#include <peak_icv/algorithms/hdr/tone_mapping/peak_icv_linear_tone_mapping.hpp>

Public Member Functions | |
| LinearToneMapping () | |
| ~LinearToneMapping () override | |
| Image | Process (const Image &hdrImage, float centerExposureValue, float numberOfStops) const |
| Converts an HDR image into a displayable LDR image using linear mapping. | |
| peak::common::IntervalF | GetExposureValueRange (const Image &hdrImage) const |
| Computes the absolute minimum and maximum exposure values (EV) of the specified HDR image. | |
Maps a specific exposure window of an HDR image linearly to an LDR image.
This class applies a linear tone mapping operator. It isolates a specific range of exposure values and maps them linearly to the displayable Low Dynamic Range (LDR). Exposure values outside of this targeted window are clipped.
|
inlineexplicit |
|
inlineoverride |
|
inline |
Computes the absolute minimum and maximum exposure values (EV) of the specified HDR image.
|
inline |
Converts an HDR image into a displayable LDR image using linear mapping.
The exposure window is defined by the centerExposureValue (in EV) and the total dynamic range specified by numberOfStops. Pixels with an exposure falling within the window [centerExposureValue - (numberOfStops / 2), centerExposureValue + (numberOfStops / 2)] are mapped linearly to the full LDR range. Values outside this window are clipped to the minimum or maximum LDR value.
|
See the Pixel and Pixel Format Specifications for a detailed description of the pixel formats.