2-12
2) AWB control algorithm
AWB control
Light source judgment
(Gain limiter setting)
Sunlight?
Gain calculation from white block data
(Calculation value = Target gain)
Gain setting (adjustment) for the sunlight
(Adjustment value = Target value)
Optimum time constant setting for gain
control
Is the WB deviating to
blue?
R-gain up / B-gain down
Is the WB deviating to
red?
R-gain down / B-gain up
RET
YES
NO
NO
NO
YES
YES
The upper and lower limits of each gain are set according to
the ratio between R and B components and judgment of the
light source by the infrared sensor.
Setting of the control time constant to avoid unnatural color
variation.
Fig. 2-3-5 AW control flow chart
The light source of the natural light (sunlight), halogen lamp (indoor) or fluorescent lamp is judged
according to data of the infrared sensor and data on the illumination.
Since the gain to be compensated by the white balance control greatly varies depending on the
device used (CCD, IR cut filter, lens, etc.) and parameter for color separation, settings of limiter,
control time constant and color reproducing parameters differ from model to model.