
Data Structures | |
| class | Handle |
Public Member Functions | |
| ToneMapping () | |
| Constructs a tone mapping object. | |
| void | Dispose () |
| Releases all resources associated with the tone mapping object. | |
| Image | Process (Image image) |
| Applies tone mapping to an HDR image. | |
Properties | |
| ToneMappingAlgorithm | Algorithm [get] |
| The tone mapping algorithm used by this object. | |
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.
Typical usage:
Limitations:
Definition at line 80 of file ToneMapping.cs.
|
inline |
Constructs a tone mapping object.
Creates and initializes a tone mapping object using the default tone mapping algorithm (Reinhard).
Definition at line 93 of file ToneMapping.cs.
|
inline |
Releases all resources associated with the tone mapping object.
Definition at line 121 of file ToneMapping.cs.
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.
| image | The HDR image to be tone mapped. |
Definition at line 160 of file ToneMapping.cs.
|
get |
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 106 of file ToneMapping.cs.