merge with dev

This commit is contained in:
Desmis
2019-12-20 16:41:32 +01:00
8 changed files with 13 additions and 9 deletions

View File

@@ -5725,7 +5725,7 @@ void ImProcFunctions::getAutoExp(const LUTu &histogram, int histcompr, double cl
whiteclipg = CurveFactory::igamma2((float)(whiteclipg / 65535.0)) * 65535.0; //need to inverse gamma transform to get correct exposure compensation parameter
//corection with gamma
//correction with gamma
black = (int)((65535 * black) / whiteclipg);
//expcomp = log(65535.0 / (whiteclipg)) / log(2.0);