Extend range of exposure slider.

This commit is contained in:
Emil Martinec
2011-01-20 08:31:23 -06:00
parent c89c40eb65
commit f4d522ed9f
2 changed files with 3 additions and 3 deletions

View File

@@ -647,8 +647,8 @@ void ImProcFunctions::getAutoExp (unsigned int* histogram, int histcompr, doubl
bl = (int)((65535*bl)/awg);
br = log(65535.0*corr / (awg)) / log(2.0);
if (br<0)
br = 0;
if (br<0) br = 0;
if (br>10) br=10;
}
//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%