Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
isp:sample_awb_implementation_in_c [2018/06/16 03:41] – [AWB::_correctGains()] Igor Yefmov | isp:sample_awb_implementation_in_c [2018/06/16 20:18] – [AWB::_isRedOE()] Igor Yefmov | ||
---|---|---|---|
Line 183: | Line 183: | ||
}else if(m_vars.avgY < 60){ | }else if(m_vars.avgY < 60){ | ||
return m_vars.oeR > m_vars.oeG * m_vars.avgY * 3; | return m_vars.oeR > m_vars.oeG * m_vars.avgY * 3; | ||
+ | }else if(m_vars.avgY < 85){ | ||
+ | return m_vars.oeR > m_vars.oeG * m_vars.avgY; | ||
}else{ | }else{ | ||
- | return m_vars.oeR > m_vars.oeG * m_vars.avgY * 7; | + | return m_vars.oeR > m_vars.oeG * 8; |
} | } | ||
}</ | }</ |