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.

IPNC的Dark Frame Subtraction问题

     IPIPEIF模块有个Dark Frame Subtraction功能,用来去除固定模式噪声,我的理解是如下:

      (1) INPSRC1 = ISIF_DKFM (Data Flow Memory-to-Memory)

          IPIPEIF的输入帧来自于Video Port(VP),Dark Frame来自于BL,VP-BL就得到去除噪声后的帧,该帧继续输出给ISIF

     (2) INPSRC2 = ISIF_DKFM(Data Flow On-the-fly)

        IPIPEIF的输入帧来自于ISIF,Dark Frame来自于BL,ISIF-BL就得到去除噪声后的帧,该帧继续输出给IPIPE

      第一个问题:

       目前我的数据流方向是memory-to-memory,所以我使用第一种,但是配置好后,RSZ就无法再产生RSZ_DMA_INT中断,请问这是什么原因?

   第二个问题:

       按照手册的说明,如果要对某一帧做Dark Frame Subtraction处理,就要在采集到该帧的同时读取Dark Frame,那么是否可以理解为Dark Frame已经提前存储在内存中?这个存储固定模式噪声的动作是由ISS在该帧到来前的消隐期完成的吗?

     

  • 你好,

    请问是哪个硬件平台?DM36x还是DM8127?

    Q1: 每一帧都要减去一个dark frame,这样每一帧都会多一帧数据的读取,对DDR带宽有影响。如果你使用的DM8127,建议提高ISS的优先级。如果是DM36x,建议使用连续模式。

    Q2;dark frame是预先存储好的。不是实时读取的。

    请问你有什么特别的需求来需要使用dark frame?由于会增加大量的DDR访问,一般是不建议使用的。

  • 你说的是对的,的确要连续模式才支持DFS,ISS的数据手册在介绍IPIPEIF的开头有说明

  • 请问Dark Frame Subtraction的适用场景?
    以及可否举例量化ddr访问?
  • 你好,

    下面的信息供参考:
    en.wikipedia.org/.../Dark-frame_subtraction
    In digital photography, dark-frame subtraction is a way to reduce image noise in photographs shot with long exposure times, at high ISO sensor sensitivity or at high temperatures. It takes advantage of the fact that two components of image noise, dark current and fixed-pattern noise, are the same from shot to shot.[1] Noise from the image sensor include hot pixels, which light up more brightly than surrounding pixels. The technique works by taking a picture with the shutter closed and subtracting that electronically from the original photo exhibiting the noise.