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.

TDA4AL-Q1: IMX728_AWB calibration issue

Part Number: TDA4AL-Q1


Tool/software:

Dear TI experts,

Recently we get PWL and pedestal value from Sony sensor team and we follow AWB plugin guide to do AWB calibration. Based on the graph of AWB calibration, it seems to be OK. But we see reddish tint in each standard color temperature. Could you help to check the root cause? Thank you!

  • SENSOR_ID 728
    PRJ_DIR ../../../sensor_drv/src/imx728_fih
    SENSOR_NAME imx728_fih
    SENSOR_DCC_NAME ''
    
    SENSOR_WIDTH 3840
    SENSOR_HEIGHT 2160
    
    # 0=RGGB; 1=GRBG; 2=GBRG; 3=BGGR, 4=MONO,
    #10=RGGI, 11=GRIG, 12=BGGI, 13=GBIG, 14=GIRG, 15=IGGR, 16=GIBG, 17=IGGB
    COLOR_PATTERN 0
    
    # sensor mode: 0 for linear (no decompanding), 1 for WDR (decompanding)
    WDR_MODE 1
    
    # raw sensor image BIT_DEPTH: it may be 8, 10, or 12 for linear sensors; typically 12 for WDR mode because of companding
    BIT_DEPTH 12
    
    # WDR BIT_DEPTH: WDR raw sensor image bitdepth after decompanding, typically 20 or 24
    WDR_BIT_DEPTH 24
    
    # WDR decompanding knee points (comma separated without spaces in between)
    #ti original, WDR_KNEE_X 0,384,512,1088,1408,1952,2016,2560,2976,3040,3264,4095
    #ti original, WDR_KNEE_Y 0,384,858,3250,14445,34929,59255,243067,490916,997067,4089990,16777215
    #sensor default, WDR_KNEE_X 100,175,308,423,624,762,1003,1167,1456,1652,1998,2233,2646,2928,3423,3759,4095
    #sensor default, WDR_KNEE_Y 100,212,450,954,2024,4293,9106,19313,40963,86883,184279,390856,829005,1758320,3729396,7910050,16777215
    WDR_KNEE_X 0,256,512,832,992,1344,1984,2560,2816,2944,3200,3584,4095
    WDR_KNEE_Y 0,256,1024,3900,7800,23400,87315,174630,349260,548421,1736000,5208000,16777215
    
    # Sensor black level to subtract before decompanding (for linear sensors only and some Sony WDR sensors)
    BLACK_PRE  0
    
    # Sensor black level to subtract after decompanding (for most WDR sensors and all linear sensors)
    BLACK_POST  0
    
    # GAMMA value for compressing 20/24-bit WDR raw to 16-bit ISP internal
    # typically around 50 (0.5) for 24-bit WDR sensors and 70 (0.7) for 20-bit sensors
    GAMMA_PRE 48
    
    # LSB location for H3A input bit range (from bit-H3A_INPUT_LSB to bit-H3A_INPUT_LSB+9)
    H3A_INPUT_LSB 2
    
    # Choose the default gamma curve used for YUV output: 0 for BT709, 1 for a high contrast gamma curve
    YUV_GAMMA 0

  • We use this project file to do AWB calibration and generate IMX728_awb_alg_ti3_tuning.xml.

  • But we see reddish tint in each standard color temperature. Could you help to check the root cause?

    Hi Taylar,

    I am on vacation until 23rd.

    Could you please check if you use the same "0.48" gamma value in AWB calibration?

    # GAMMA value for compressing 20/24-bit WDR raw to 16-bit ISP internal
    # typically around 50 (0.5) for 24-bit WDR sensors and 70 (0.7) for 20-bit sensors
    GAMMA_PRE 48

  • Hi Gang,

    Could you please provide the IMX728 tool project file?
    If there are any related documentation or recommended settings, it would be appreciated as well.

    Thank you!

    Best regards,
    YL

  • Hi YL,

    Could you please provide the IMX728 tool project file?

    I am not sure if we have this project file ready for sharing.

     Do you have any project that you may share?

  • If there are any related documentation or recommended settings, it would be appreciated as well.

    Hi YL,

    I believe we have all the xml files shared in git.

    https://git.ti.com/cgit/processor-sdk/imaging/tree/sensor_drv/src/imx728/dcc_xmls/wdr?h=main

  • Hi Gang,

    We would like to further customize the image quality tuning based on your previous work. Currently, we are using TI’s standard tuning settings for initial evaluation, and they serve as a good baseline. As our next step, we hope to fine-tune the parameters specifically for some custom scenes that are important for our application.

    But now we meet some issue if we create a new tuning project.

    So, could you please export the current tuning profile as a starting point? and then, we can adjust/tweak the relevant parameters for our custom scene(s) and validate the fine-tuned results effectively

    Thanks again for your support!

    Best regards,
    YL

  • Hi YL,

    So, could you please export the current tuning profile as a starting point?

    I am not sure if I understand your question correctly.

    Our reference IMX728 tuning tool is the set of xml files shared in git already.
    We don't have any additional tuning profile.