Integrated "Fattal02" tone-mapping operator from Luminance HDR
This commit is contained in:
@@ -738,6 +738,27 @@ public:
|
||||
int reweightingIterates;
|
||||
};
|
||||
|
||||
|
||||
// Fattal02 Tone-Mapping parameters
|
||||
class FattalToneMappingParams {
|
||||
public:
|
||||
bool enabled;
|
||||
double alpha;
|
||||
double beta;
|
||||
|
||||
FattalToneMappingParams()
|
||||
{
|
||||
setDefaults();
|
||||
}
|
||||
|
||||
void setDefaults()
|
||||
{
|
||||
enabled = false;
|
||||
alpha = 1.0;
|
||||
beta = 1.0;
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Parameters of the shadow/highlight enhancement
|
||||
*/
|
||||
@@ -1384,6 +1405,7 @@ public:
|
||||
ImpulseDenoiseParams impulseDenoise; ///< Impulse denoising parameters
|
||||
DirPyrDenoiseParams dirpyrDenoise; ///< Directional Pyramid denoising parameters
|
||||
EPDParams epd; ///< Edge Preserving Decomposition parameters
|
||||
FattalToneMappingParams fattal; ///< Fattal02 tone mapping
|
||||
SHParams sh; ///< Shadow/highlight enhancement parameters
|
||||
CropParams crop; ///< Crop parameters
|
||||
CoarseTransformParams coarse; ///< Coarse transformation (90, 180, 270 deg rotation, h/v flipping) parameters
|
||||
|
Reference in New Issue
Block a user