merge with dev

This commit is contained in:
Desmis
2019-02-13 11:11:34 +01:00
7 changed files with 37 additions and 32 deletions

View File

@@ -5546,7 +5546,7 @@ void ImProcFunctions::getAutoExp(const LUTu &histogram, int histcompr, double cl
histogram.getSumAndAverage(sum, ave);
//find median of luminance
int median = 0, count = histogram[0];
size_t median = 0, count = histogram[0];
while (count < sum / 2) {
median++;