Suppress comment printf in TM

This commit is contained in:
Desmis
2019-05-06 11:22:44 +02:00
parent 789d537c53
commit 1d51d7b393
2 changed files with 2 additions and 2 deletions

View File

@@ -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;

View File

@@ -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)