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.

DM36x- RAWBayer capture (Imx035/036) - fixed pattern noise

Hi all,

my DM365/DM368 takes data from RawBayer data from IMX035/IMX036.

In dark light condition there is a fixed pattern of noise i am getting in Singlr Shot mode where as Continuous mode it is ok.

My IPIPEIF.CFG1.INPSRC1 = INPSRC2  both are configured for 2 (CCDC_DARKFM).

DATAPACK = 8bit (IPIPE_BAYER_8BIT_PACK), but 12bit or 16 bit also same problem.

pixelformat = V4L2_PIX_FMT_SBGGR16.

Kindly some one suggest me whats going wrong, its very urgent.

It will be helpfull for me to have an immidiate reply on this.

attached both the images taken for Chain mode and OneShot mode.

  • Hi,

    i would like to add some more information on this issue.

    1. input data pack 8bit (IPIPE_BAYER_8BIT_PACK), Compression format : ALAW/DPCM and pixel format V4L2_PIX_FMT_SBGGR8 also very similar pattern noise i am getting.

    2. If i reduce the Input frame rate from 30fps to 15fps then this Noise is not appering  in single shot mode.

    I am not sure what is the reason, hope this information will help any one to find the proper reason.

  • I will move this post of DM3x forum. The query is not codec specific.

  • Hi all,

    This issue has been resolved. Let me summerize in detail.

    1st the main problem of this issue was the IPIPEIF SRC1 and SRC2. Due to lack of understanding and ofcourse because lack of documentation it is very very difficult for users to decide what is correct and how to configure for RAWBAYER sensor data processing.

    Also DVSDK2.10.00.18 don't have support for Previewer in SS mode.

    For proper configuration in SS Mode RawBayer sensor data case IPIPE's Previewer module should come in to picture. Previewr must be configured chained with Resizer so that input will be to previewer and output is from Resizer , which very similar way happens in Chain/Continuos mode.

    IPIPEIF SRC2(CFG1.INPSRC2) must be configured for SDRAM_RAW ( 1 ) and IPIPEIF SRC1(CFG1.INPSRC1) must be configured as PARALLEL_PORT ( 0).

    data pack should be 16 bit.

    Read data from SDRAM and do preview and/or Resize in Single shot mode

        ________i/p___________________ o/p  ______

        SDRAM   ----> | Previewer -> Resizer  |-> SDRAM
                                  |_________________| 

                                     

    Adding to that Previewer module will do sevarel Image tuning operation using various Image tuning operations of IPIPE like GAMMA, Luminance Adj,Edge Enhancment,CAR, RGB to YUV,White Balance,Noise filter, defect pixel correction etc.

    In Our case we were doing all required Image tuning operations in Sensor side itself. So we concluded for not to using Previewer configuration. We directly changed the data paths in side kernel IPIPE Drivers for the same.

    Also we have bypassed DPCM from the data path.