AM62A1-Q1: question about TI_AWB_stab of white balance

Part Number: AM62A1-Q1

Tool/software:

Hi TI Expert,

During the deployment of our self-developed AWB (Auto White Balance) algorithm, we noticed that the TI_AWB_stab() function performs post-processing on the output results of our algorithm. We would like to understand the function and internal logic of this function. Through experiments, we found that both our self-developed AWB algorithm and TI's AWB algorithm exhibit the following identical phenomena when capturing test charts with fixed color temperature and scene in a light box:
  1. When the TI_AWB_stab() function is enabled and sensor_awb_pre_gain is enabled, the AWB output results can remain stable.
  2. When the TI_AWB_stab() function is disabled but sensor_awb_pre_gain is enabled, the AWB output results cannot stay stable.
  3. When both the TI_AWB_stab() function and sensor_awb_pre_gain are disabled, the AWB output results can be stable.
We understand that the TI_AWB_stab() function is designed to filter and stabilize AWB results. However, if sensor_awb_pre_gain is enabled and there are no changes in parameters such as color temperature or brightness of the image, why can the AWB results not converge when TI_AWB_stab() is disabled? What specific post-processing operations does TI_AWB_stab() perform on the AWB output results?
We hope to get your answer,thank you!

  • Hi guangyi,

    When the TI_AWB_stab() function is disabled but sensor_awb_pre_gain is enabled, the AWB output results cannot stay stable.

    In a static scene, I would not expect this to happen in general.

    What actually happened to cause the stability issue?

  •      Shoot the 24-color chart in the light box. The test environment is a stable state with an illuminance of 1500 lux and a color temperature of 5000 K. When pre_awb is turned on, the AWB (Auto White Balance) will keep flickering after TI_AWB_stab() is turned off. Which parameters does this function affect? 

  • The test environment is a stable state with an illuminance of 1500 lux and a color temperature of 5000 K. When pre_awb is turned on, the AWB (Auto White Balance) will keep flickering after TI_AWB_stab() is turned off. Which parameters does this function affect? 

    It seems AWB fails frequently in that lighting condition, what is the cause of the failure?

    Is it due to invalid H3A data (after cancelling pre-awb-gain) are feeding into AWB algo?
    You shall be able to see that in your own AWB.

  • BTW, which sensor (vendor, color format, etc.) is this?