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.

TDA4VM: Is there a way to set only one channel as LDC node input in multiple camera channels?

Part Number: TDA4VM

I would like to make only 1 channel of the 4 channel camera input go through the LDC node and the other 3 channels do not go through the LDC node.

                                                                            ┌ (3 ch)  -------------------------------------------┐

                                                                             |                                                                  |

4 Channel Camera Input - Capture Node - VISS Node -  (1 ch) - LDC Node -------- Image Mosaic Node - Display Node

                                                                             |                    

                                                                      AEWB Node

How can I set it up like the graph above?

  • Hi,

    This means mosaic node requires update, because it takes now two inputs, one with the single image and other with the object array. 

    But i guess you just don't want to apply LDC for rest of the camera. so i think you could keep the same flow, ie capture -> VISS -> LDC -> Display. But in LDC node, we can distortion correction only for camera0, does this solution look fine? 

    Regards,

    Brijesh

  • Hi Brijesh

    Thanks for your quick reply. I am from Arrow Korea.

    As I understand from customer's use case, They wanted to control the LDC respectively keeping multi camera input. i.g. LDC0 is ON, LDC1~3 are OFF. This is asked since They could not control each LDC node respectively.  

    The following message was captured from their mail thread.

    ================================================

    Hello experts,

    I'm using Tda4vm, sdk 07.01, and app_multi_cam example program. Now, I'm trying to display 4 cameras. But 3 cameras use the normal lens and only 1 camera uses the fisheye camera.

    So, I want to apply the ldc node to only the fisheye lens camera. is it possible? if so, could you help me with how I have to try it?

    ================================================

    Please clarify whether the their desired use case would be possible. 

    If impossible to control respectively, Suggest the alternative approach as well along with examples or code scratch.

    Thanks.

  • Hi Jack Cha,

    I think it should be possible. Currently we are creating parameter structure once and same will be used for all replicated LDC nodes. In this case, we can create an array of parameter structure and then it will be used for each LDC node. Since it is an array of parameters, we can have different parameters for each LDC node. 

    So now we can use back mapping for first channel and disable it for the rest of the channels. 

    Let me share the exact changes. 

    Regards,

    Brijesh

  • Hi Brijesh

    Thanks for your prompt action.

    Your understanding is correct as customer wanted to know. Please also go ahead as you said.

    Thanks a lot.

  • Hi Brijesh

    Could U please any update on this? 

  • Hi Jack Cha,

    i am sorry for the late reply. I was out of office last few weeks.

    Are you still looking for solution for this problem? 

    Regards,

    Brijesh

  • Hi Brijesh

    Thanks for updating.

    Yes, The issue is still reproducible from customer side. I have no environment to reproduce the issue. 

    Please give code changes with comment for them to fix issue.

    Thank. 

  • Hi Jack Cha,

    Please find attached patch, which updates the multi-cam example to enable LDC (backmapping) only for the channel0. For rest of the channels, LDC output is same as the input. Essentially i have replicated the parameters also along with the LDC Node and enabled backmapping in LDC only for the channel0.

    /cfs-file/__key/communityserver-discussions-components-files/791/Enabled_5F00_LDC_5F00_For_5F00_CH0_5F00_Only.patch 

    Regards,

    Brijesh

  • Hi Brijesh

    Many Thanks for your kind support. 

    I will ask customer to test your patch, then give you feedback to you. 

    ps. Please take care of you and your family from COVID-19.

  • Dear Mr.Cho.

    Could you please let us know the test result with provided patch?

    We'd like to make ticket resolved. Please reopen if not solved. Thx.

    Regards, 

    Jack