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.

A Horizontal black line on the top of image, how to debug and adjust it

Hi, Ti

       My DM368 camera product will be produced quickly,  but still have a problem , there is a Horizontal black line on the top of image,

when we prev_ss_config.input.vst = 1; the image is fine  , but we cann't use noise filter.

     We must use the noise filter, and we want to remove the first black line of image?

    in ccdc_dm365.c,   there  is  /* To account for VD since line 0 doesn't have any data */ ..

   How can we debug and remove the first black line of image ?

   Best regards,

  Star

 

 

 

 

  • Hi,

    I would think that it should be controlled on your sensor interface itself. If the captured data from sensor/input device itself has a black line at the top, then the configuration of the sensor/input device could be the problem.

    The only way we can use it correctly on DM36x is by changing the startY location, which you have tried.

    star zhou said:
        We must use the noise filter, and we want to remove the first black line of image?

    I am not able to understand your above comment. Which noise filter are you talking about and what would be the reason of not able to use it?

    Regards,

    Anshuman

    PS: Please mark this post as verified, if you think it has answered your question. Thanks.

     

  •   We muset use the Noise Filter1,2 in IPIPE of Dm368, 

      when we  write prev_ss_config.input.vst = 1 and open noise filter,  then the program stops. stop at do_preview_resize()  function.

     when we write prev_ss_config.input.vst = 0 and  open noise filter , the program is runing fine , and imge is fine.

      How to resolve it?

      Waiting for your answer.

      Regards,

    Star

     

     

     

  • Hi,

    star zhou said:
    when we  write prev_ss_config.input.vst = 1 and open noise filter,  then the program stops. stop at do_preview_resize()  function.

    Does the above failure condition mean that the do_preview_resize() operation would never complete?

    I can think of the reason for this failure and that is you have changed the vertical start position to 1 instead of 0. This means the previewer is not going to use first line. But the total number of input lines might not have increased. This means previewer is expecting say X lines but because you have set vst=1, you are telling previewer to still work on X input lines and only giving it X-1 active lines.

    So just change the input size as X-1 and can keep the output as X still.

    I hope this helps in explaination.

    Regards,

    Anshuman

    PS: Please mark this post as verified, if you think it has answered our question. Thanks.