Merge branch 'dev' into newlocallab

This commit is contained in:
heckflosse
2018-09-15 20:53:21 +02:00
178 changed files with 4228 additions and 3683 deletions

View File

@@ -5596,7 +5596,7 @@ void ImProcFunctions::getAutoExp(const LUTu &histogram, int histcompr, double cl
//now tune hlcompr to bring back rawmax to 65535
hlcomprthresh = 33;
hlcomprthresh = 0;
//this is a series approximation of the actual formula for comp,
//which is a transcendental equation
float comp = (gain * ((float)whiteclip) / scale - 1.f) * 2.3f; // 2.3 instead of 2 to increase slightly comp