merged 'hdr_tonemap_fattal_nocache' into 'dev'

This commit is contained in:
Alberto Griggio
2017-11-18 17:44:34 +01:00
32 changed files with 1997 additions and 128 deletions

View File

@@ -738,6 +738,27 @@ public:
int reweightingIterates;
};
// Fattal02 Tone-Mapping parameters
class FattalToneMappingParams {
public:
bool enabled;
int threshold;
int amount;
FattalToneMappingParams()
{
setDefaults();
}
void setDefaults()
{
enabled = false;
threshold = 0;
amount = 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