Suppress comment printf in TM
This commit is contained in:
@@ -920,7 +920,7 @@ void EdgePreservingDecomposition::CompressDynamicRange(float *Source, float Scal
|
||||
float temp;
|
||||
|
||||
if(DetailBoost > 0.f) {
|
||||
float betemp = expf(-(2.f - DetailBoost + 0.694f)) - 1.f; //0.694 = log(2)
|
||||
float betemp = expf(-(2.f - DetailBoost + 0.693147f)) - 1.f; //0.694 = log(2)
|
||||
temp = 1.2f * xlogf( -betemp);
|
||||
} else {
|
||||
temp = CompressionExponent - 1.0f;
|
||||
|
@@ -5356,7 +5356,7 @@ void ImProcFunctions::EPDToneMaplocal(int sp, LabImage *lab, LabImage *tmp1, uns
|
||||
//Restore past range, also desaturate a bit per Mantiuk's Color correction for tone mapping.
|
||||
float s = (1.0f + 38.7889f) * powf(Compression, 1.5856f) / (1.0f + 38.7889f * powf(Compression, 1.5856f));
|
||||
float sat = s + 0.3f * s * satur;
|
||||
printf("s=%f sat=%f \n", s, sat);
|
||||
//printf("s=%f sat=%f \n", s, sat);
|
||||
if(sat == 1.f) sat = 1.001f;
|
||||
#ifdef _OPENMP
|
||||
#pragma omp parallel for // removed schedule(dynamic,10)
|
||||
|
Reference in New Issue
Block a user