Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
isp:sample_awb_implementation_in_c [2018/06/16 20:18] – [AWB::_isRedOE()] Igor Yefmov | isp:sample_awb_implementation_in_c [2018/06/16 23:04] – [AWB::_correctGains()] Igor Yefmov | ||
---|---|---|---|
Line 173: | Line 173: | ||
// A more generic definition of this special condition is: too much red overexposure relative to | // A more generic definition of this special condition is: too much red overexposure relative to | ||
// green overexposure relative to overall brightness of the picture. The brighter the image the | // green overexposure relative to overall brightness of the picture. The brighter the image the | ||
- | // more overexposure we can tolerate | + | // more overexposure we can tolerate, but to a certain point |
bool AWB:: | bool AWB:: | ||
{ | { | ||
Line 215: | Line 215: | ||
const auto limit = m_ov.getLimit(Val:: | const auto limit = m_ov.getLimit(Val:: | ||
- | const double precision = 0.1; | + | const double precision = 0.01; |
if(abs(m_vars.avgU) > precision){ | if(abs(m_vars.avgU) > precision){ |