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.

Wired LDC image (horizontal line)

Hi:

We are implementing LDC function.
It works but the image is wired. (There exists several horizontal lines )
Please help us to check the root cause. Thanks.

Image before LDC: 

Image afterLDC: 

 
We 've tried several parameters but the horizontal lines still exists.(sometimes worse, sometimes better)
The LDC configure parametere of above image are auto calculated from Imagetuning tool :

    .ldcSetup = {
      .enable              = FALSE,
      .ldMapEnable         = TRUE,
      .inputType           = CSL_LDC_INPUT_MODE_YUV420_LD,
      .bayerType           = CSL_LDC_BAYER_FORMAT_UNPACKED_12_BIT,
      .bayerStartPhase     = CSL_LDC_BAYER_START_PHASE_B,
      .interpolationTypeY  = CSL_LDC_Y_INTERPOLATION_TYPE_BICUBIC,
      .backMapRightShift   = 14,
      .backMapThreshold    = 0,
      .table               = NULL,
      .lensCenterX         = 791,
      .lensCenterY         = 593,
      .kvh                 = 164, 
      .kvl                 = 164, 
      .khr                 = 164,
      .khl                 = 164,
      .affineTranswrap = {
          4096,
          0,
          0,
          0,
          4096,
          0,
      },
      .frameConfig         = NULL,   
    },
 
   .ldcTable = {
      #include "ldc_table_1600x1216_0.txt"
    },

 

"ldc_table_1600x1216_0.txt" :

8911,
8844,
8809,
8783,
8761,
8741,
8722,
8704,
8687,
8669,
8653,
8636,
8620,
8603,
8587,
8571,
8555,
8539,
8524,
8508,
8493,
8477,
8462,
8447,
8432,
8417,
8402,
8387,
8372,
8357,
8343,
8328,
8314,
8299,
8285,
8271,
8256,
8242,
8228,
8214,
8201,
8187,
8173,
8159,
8146,
8132,
8119,
8106,
8093,
8079,
8066,
8053,
8040,
8027,
8015,
8002,
7989,
7977,
7964,
7952,
7939,
7927,
7915,
7903,
7891,
7879,
7867,
7855,
7843,
7831,
7820,
7808,
7796,
7785,
7774,
7762,
7751,
7740,
7729,
7718,
7707,
7696,
7685,
7674,
7663,
7653,
7642,
7632,
7621,
7611,
7600,
7590,
7580,
7570,
7560,
7550,
7540,
7530,
7520,
7510,
7501,
7491,
7482,
7472,
7463,
7453,
7444,
7435,
7425,
7416,
7407,
7398,
7389,
7380,
7372,
7363,
7354,
7345,
7337,
7328,
7320,
7311,
7303,
7295,
7286,
7278,
7270,
7262,
7254,
7246,
7238,
7230,
7223,
7215,
7207,
7200,
7192,
7184,
7177,
7170,
7162,
7155,
7148,
7141,
7134,
7126,
7119,
7113,
7106,
7099,
7092,
7085,
7079,
7072,
7065,
7059,
7052,
7046,
7040,
7033,
7027,
7021,
7015,
7009,
7003,
6997,
6991,
6985,
6979,
6973,
6968,
6962,
6956,
6951,
6945,
6940,
6934,
6929,
6924,
6919,
6913,
6908,
6903,
6898,
6893,
6888,
6883,
6878,
6873,
6869,
6864,
6859,
6855,
6850,
6846,
6841,
6837,
6832,
6828,
6824,
6820,
6816,
6811,
6807,
6803,
6799,
6795,
6792,
6788,
6784,
6780,
6777,
6773,
6769,
6766,
6762,
6759,
6755,
6752,
6749,
6746,
6742,
6739,
6736,
6733,
6730,
6727,
6724,
6721,
6718,
6716,
6713,
6710,
6707,
6705,
6702,
6700,
6697,
6695,
6692,
6690,
6688,
6686,
6683,
6681,
6679,
6677,
6675,
6673,
6671,
6669,
6667,
6666,
6664,
6662,