q Weighted data 3
I (or Q) data come from the following equation.
Weighted data 3 =
{(I11 + I12 + I13 + I14)/4 + (I21 + I22 + I23 + I24)/4 +
+ (I31 + I32 + I33 + I34)/4 + (I41 + I42 + I43 +
I44)/4}/4
w Weighted data 4
Weighting area can be chosen by CWPA_IQ
(address 34h).
Weighted data come from averaged data in chosen
area.
e White balance area setting
The sum of I and Q can be regulated by the
luminance level and the color level.
Setting available luminance level range :
High level :
AWB_HCL (address 2Eh) + [{K_CL (address 31h)
x H peak level + (256 – K_CL) x Exposure control
data}/256 – REF_WBPK (address 30h)] x
K_WBCL (address 32h)
Low level :
AWB_LCL (address 2Fh) + [{K_CL (address 31h) x
H peak level + (256 – K_CL) x Exposure control
data}/256 – REF_WBPK (address 30h)] x
K_WBCL (address 32h)
Setting target zone :
AWB_IP_L (address 36h), AWB_IM_L (address 37h)
AWB_QP_L (address 38h), AWB_QM_L (address 39h)
If white balance data are less than the data of
AWB_IW_S and AWB_QW_S (address 40h) the
target zone of auto white balance changes to the
zone by the data below.
LR38603
Setting target zone :
AWB_IP_S (address 3Ah), AWB_IM_S (address 3Bh)
AWB_QP_S (address 3Ch), AWB_QM_S (address 3Dh)
Auto Color Matrix and Level
Compensation
Color matrix compensation can be done by
R – Y = R – Y±(Data1 x B – Y)
B – Y = B – Y±(Data2 x R – Y)
Color level compensation can be done by
R – Y = R – Y x Data3
B – Y = B – Y x Data4
The above data come from the following equation
along the variation of color temperature.
MODE1 : Present WBR factor < WBR1
MODE2 : WBR1 ≤ present WBR factor < WBR2
MODE3 : WBR2 ≤ present WBR factor < WBR3
MODE4 : WBR3 ≤ present WBR factor
MODE1 and MODE_MAT (address 25h) = 0
Data1 = REF_MAT_R1M (address 5Ch)
Data2 = REF_MAT_B1M (address 5Dh)
Data3 = REF_GA_R1M (address 48h)
Data4 = REF_GA_B1M (address 49h)
MODE1 and MODE_MAT = 1
Data1 = REF_MAT_R1M (address 5Ch) : B – Y < 0
REF_MAT_R1P (address 5Eh) : B – Y ≥ 0
Data2 = REF_MAT_B1M (address 5Dh) : R – Y < 0
REF_MAT_B1P (address 5Fh) : R – Y ≥ 0
Data3 = REF_GA_R1M (address 48h) : R – Y < 0
REF_GA_R1P (address 4Ah) : R – Y ≥ 0
Data4 = REF_GA_B1M (address 49h) : B – Y < 0
REF_GA_B1P (address 4Bh) : B – Y ≥ 0
22