This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM62A7: AE adjustment of the image is somewhat coarse on AM62A

Part Number: AM62A7


Hi, TI experts!

When using the RGB channel of the AM62A for display, we have noticed that the AE adjustment of the image is somewhat coarse. The AE exposure value or gain value update is only triggered when there is a significant difference in the environment. We would like to make the adjustment smoother in this area, but we have not found any code related to the details of the AE algorithm. Could you please provide some guidance?

  • Additionally, In a normal indoor environment,the targetBrightness we now set equals 5 and then AE adjustment is working,it's so small for 255 and is this normal?

    setting in code:

      p_ae_dynPrms->targetBrightnessRange.min = 3;     
      p_ae_dynPrms->targetBrightnessRange.max = 8;    
      p_ae_dynPrms->targetBrightness = 5;                      
      p_ae_dynPrms->threshold = 1;
      p_ae_dynPrms->enableBlc = 1;
      p_ae_dynPrms->exposureTimeStepSize = 1;
      p_ae_dynPrms->exposureTimeRange[count].min = 500;
      p_ae_dynPrms->exposureTimeRange[count].max = 14450;
      p_ae_dynPrms->analogGainRange[count].min = 1024;
      p_ae_dynPrms->analogGainRange[count].max = 8192;
      p_ae_dynPrms->digitalGainRange[count].min = 256;
      p_ae_dynPrms->digitalGainRange[count].max = 256;
      count++;
  • Is the sensor WDR or linear?
    Typical AE settings are as below
      p_ae_dynPrms->targetBrightnessRange.min = 40;
      p_ae_dynPrms->targetBrightnessRange.max = 40;   
      p_ae_dynPrms->targetBrightness = 45;                      
      p_ae_dynPrms->threshold = 5;
      p_ae_dynPrms->enableBlc = 0;
  • s the sensor WDR or linear?
    Typical AE settings are as below
      p_ae_dynPrms->targetBrightnessRange.min = 40;
      p_ae_dynPrms->targetBrightnessRange.max = 40;   
      p_ae_dynPrms->targetBrightness = 45;                      
      p_ae_dynPrms->threshold = 5;
      p_ae_dynPrms->enableBlc = 0;

    We have tested the AE settings above. But it seems that the AE adjusting speed and steps are not controled by the settings. 

    Where is TI_aaa_ae.c code in AM62A code? I wish to do some change on AE algorithms. 

    Best regards, 

    Seul Le

  • Sorry, I have a typo corrected in red below..
    Please use correct AE settings similar to this first.
      p_ae_dynPrms->targetBrightnessRange.min = 40;
      p_ae_dynPrms->targetBrightnessRange.max = 50;   
      p_ae_dynPrms->targetBrightness = 45;                      
      p_ae_dynPrms->threshold = 5;
      p_ae_dynPrms->enableBlc = 0;
    AE adjusting speed and steps are not controled by the settings.

    That is correct (this is only for setting AE target).

    You will have to modify AE source code "TIAE_adj_exposure(...)" to change AE adjust speed and steps.

  • Where is TI_aaa_ae.c code in AM62A code?

    This is under "imaging/algos/ae/"