Remove some console output before merge

This commit is contained in:
heckflosse
2018-12-09 22:39:00 +01:00
parent 1d01002953
commit 872279ae97

View File

@@ -32,7 +32,7 @@
#include "rt_algo.h" #include "rt_algo.h"
#include "rt_math.h" #include "rt_math.h"
#include "sleef.c" #include "sleef.c"
#include <iostream>
namespace { namespace {
float calcBlendFactor(float val, float threshold) { float calcBlendFactor(float val, float threshold) {
// sigmoid function // sigmoid function
@@ -343,7 +343,7 @@ void buildBlendMask(float** luminance, float **blend, int W, int H, float &contr
} }
} }
} }
std::cout << pass + 1 << " : " << minvar << std::endl;
if (minvar <= 1.f || pass == 1) { if (minvar <= 1.f || pass == 1) {
const int minY = skip * minI; const int minY = skip * minI;
const int minX = skip * minJ; const int minX = skip * minJ;
@@ -393,7 +393,7 @@ void buildBlendMask(float** luminance, float **blend, int W, int H, float &contr
} }
} }
} }
std::cout << 3 << " : " << minvar << std::endl;
contrastThreshold = minvar <= 4.f ? calcContrastThreshold(luminance, topLeftYStart + minI, topLeftXStart + minJ, tilesize) : 0.f; contrastThreshold = minvar <= 4.f ? calcContrastThreshold(luminance, topLeftYStart + minI, topLeftXStart + minJ, tilesize) : 0.f;
} }
} }