Patch for the patch for the patch on exposure ;) This one should fix autoexposure...
This commit is contained in:
parent
76cd86742d
commit
45c0c817a3
@ -491,7 +491,7 @@ void ImProcFunctions::getAutoExp (unsigned int* histogram, int histcompr, doubl
|
||||
awg = maxaw;
|
||||
}
|
||||
|
||||
awg = CurveFactory::igamma2 (awg); //need to inverse gamma transform to get correct exposure compensation parameter
|
||||
awg = CurveFactory::igamma2 ((float)(awg/65535.0)) * 65535.0; //need to inverse gamma transform to get correct exposure compensation parameter
|
||||
|
||||
br = log(65535.0 / (awg-bl)) / log(2.0);
|
||||
if (br<0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user