Project Name  Version 1.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
jh_tmo_params_ts Struct Reference

Defines the parameters that control the behavior of the tonemapper. Parameters are specified depending on the type of tonemapper. More...

#include <jh_tonemap.h>

Data Fields

General Tonemapper Parameters

These parameters can be used by all tonemapper types.

jh_exposure_method_t em
jh_tmo_selector_t selected_tmo
float ec
float contrast
float minmax [2]
Multiscale and CPT Tonemapper Parameters

These parameters can only be used by the tonemapper types shown in parentheses.

jh_rect_t ex_rect
float brightness
float weights [8]
int scaler
int msf_radius
float sigma
float drout
int post_lut_size
float * post_lut
long int reserved

Detailed Description

Defines the parameters that control the behavior of the tonemapper. Parameters are specified depending on the type of tonemapper.

Definition at line 59 of file jh_tonemap.h.

Field Documentation

float jh_tmo_params_ts::brightness

(HAMS) Brightness.

Definition at line 75 of file jh_tonemap.h.

float jh_tmo_params_ts::contrast

(All types) Contrast.

Definition at line 67 of file jh_tonemap.h.

float jh_tmo_params_ts::drout

(HAMS) Controls the appearance of the image. Default value 3.5.

Definition at line 80 of file jh_tonemap.h.

float jh_tmo_params_ts::ec

(All types) Exposure compensation.

Definition at line 66 of file jh_tonemap.h.

jh_exposure_method_t jh_tmo_params_ts::em

(All types) Exposure calculation method.

Definition at line 64 of file jh_tonemap.h.

jh_rect_t jh_tmo_params_ts::ex_rect

(All types) Area used for exposure calculation.

Definition at line 74 of file jh_tonemap.h.

float jh_tmo_params_ts::minmax[2]

(All types) Percentile of clip in shadows and highlights. Valid values 0 = 0% to 1 = 100%.

Definition at line 68 of file jh_tonemap.h.

int jh_tmo_params_ts::msf_radius

(HAMS) Gaussian filter radius. Support is calculated as 2 * msf_radius + 1.

Definition at line 78 of file jh_tonemap.h.

float* jh_tmo_params_ts::post_lut

NOT YET IMPLEMENTED. Pointer to the post-correction LUT set by the client. If post_lut is NULL, the identity of the LUT is assumed. The LUT is applied after all processing is done.

Definition at line 82 of file jh_tonemap.h.

int jh_tmo_params_ts::post_lut_size

NOT YET IMPLEMENTED. Size of the LUT allocated by the client.

Definition at line 81 of file jh_tonemap.h.

long int jh_tmo_params_ts::reserved

RESERVED FOR INTERNAL USE. Must be set to 0.

Definition at line 86 of file jh_tonemap.h.

int jh_tmo_params_ts::scaler

(HAMS) Multiscale scaling factor. Valid values 2 to 16, default 8.

Definition at line 77 of file jh_tonemap.h.

jh_tmo_selector_t jh_tmo_params_ts::selected_tmo

(All types) Tone-map option.

Definition at line 65 of file jh_tonemap.h.

float jh_tmo_params_ts::sigma

(HAMS) Standard deviation for the Gaussian filter.

Definition at line 79 of file jh_tonemap.h.

float jh_tmo_params_ts::weights[8]

(HAMS) LUT for scale weights.

Definition at line 76 of file jh_tonemap.h.


The documentation for this struct was generated from the following file: