#include <peak_icv/algorithms/hdr/peak_icv_tone_mapping.hpp>

Public Member Functions | |
| ToneMapping () | |
| Constructs a tone mapping object. | |
| ~ToneMapping () override | |
| Destroys the tone mapping object. | |
| ToneMappingAlgorithm | GetAlgorithm () const |
| Returns the tone mapping algorithm used by this object. | |
| Image | Process (const Image &image) const |
| Applies tone mapping to an HDR image. | |
Performs tone mapping on HDR images.
This class provides functionality to convert a High Dynamic Range (HDR) image into a displayable Low Dynamic Range (LDR) image using a tone mapping algorithm.
Internally, tone mapping is performed using the Reinhard tone mapping operator, which is currently the only supported algorithm. The algorithm is fixed at object creation time.
Definition at line 69 of file peak_icv_tone_mapping.hpp.
|
inlineexplicit |
Constructs a tone mapping object.
Creates and initializes a tone mapping object using the default tone mapping algorithm (Reinhard).
Definition at line 142 of file peak_icv_tone_mapping.hpp.
|
inlineoverride |
Destroys the tone mapping object.
Releases all resources associated with the tone mapping object.
Definition at line 149 of file peak_icv_tone_mapping.hpp.
|
inline |
Returns the tone mapping algorithm used by this object.
The algorithm is defined at construction time and determines how the input HDR image is converted into a displayable image.
Definition at line 157 of file peak_icv_tone_mapping.hpp.
Applies tone mapping to an HDR image.
Processes the provided HDR image and converts it into a displayable Low Dynamic Range (LDR) image using the tone mapping algorithm associated with this object.
The input image must be compatible with the tone mapping configuration.
|
See the Pixel and Pixel Format Specifications for a detailed description of the pixel formats.
| [in] | image | The HDR image to be tone mapped. |
Definition at line 173 of file peak_icv_tone_mapping.hpp.