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.

About LSC problem when ISP Tuning based on TDA4 platform

Hello, TI experts!

        I am currently utilizing DCC for ISP tuning based on the TDA4 platform, and when performing the LSC step, I get the "Error using griddedInterpolant" prompt error on the DCC output display. The specific error messages are shown in the attached DCC2.5-log.text,DCC3.0-log.text, which represent the errors that occur when using DCC 2.5 and DCC 3.0 respectively.


        Regardless of the DCC version, the operation is exactly the same and follows the instructions in the LSC plugin guide. I have additionally provided my two input files in the attachment, one is the captured raw image file, and the other is lsc_lut_dec.text. where lsc_lut_dec.text is generated according to the 《J7_ISP_LSC》, which is also provided in the attachment, except that the input parameter of gen_lsc_lut has been replaced with our sensor parameter, i.e. gen_lsc_lut("spec.txt", 4.1/1000, 3840, 2160, 1920, 1080, 64), where spec.txt is available from the manufacturer.


        The DCC configuration interface is shown in the attached configure.png, where Black level is set to 64, a value obtained from the previous operation.

        Searching the E2E, previous posts have encountered similar problems [https://e2e.ti.com/support/site-support-group/site-support/f/site-support-forum/1213838/tda4x_lsc-error? keyMatch=TDA4%20LSC], but didn't see any further information, looking forward to a reply!

best regards

Evans

1362.LSC error.rar

  • Hi,

    Please follow the LSC plugin guide from the help menu of V3.0.

    The "LSC Input LUT" should be similar to your vendor spec file (but in the expected format as described in the plugin guide).

    BTW, as you have a gamma value of 0.7, your black level typically should be 0.

  • Dear Gang Hua.

            First of all, thank you for your reply! Now I would like to ask you to confirm a few questions for me.


            1. My specification file is attached as "specluts.text", the first column is the distance from the center in mm, I need to convert it to pixels according to the specification parameters, right? The second column is the amount of shading.


            2. There is a code in J7_ISP_LSC, the function gen_lsc_lut generates a lsc_lut_dec.txt.What is the purpose of the lsc_lut_dec.txt file and how is it used during LSC processing? In that function I see g_tbl=round((gain-1)*256/4); my understanding thought that the values are to be converted in that form to comply with the formatting requirements in U8Q6. Is there something wrong with my understanding?

    Best regards

    Evans

  • The specluts.text attachment was not added successfully, I copied its contents below:
    0.000 1.0
    0.463 0.998
    0.925 0.99
    1.388 0.978
    1.850 0.962
    2.313 0.943
    2.776 0.906
    3.238 0.861
    3.701 0.786
    4.163 0.7
    4.626 0.592

  • confirm a few questions for me.

    1. Yes, this is stated in the plugin guide.

    2. Yes, it is. You don't really need the matlab script since you use the tuning tool.

  • BTW, I am still out of office this week and delay in my response is expected.

  • Ok, thanks for your reply and have a great day!