How to Measure : Fixed-Pattern Noise in Light or PRNU (1)

 

As a logical next step in the “How to Measure” discussion is to look after the non-uniformities with light input on the sensor or Photo-Response Non Uniformity (PRNU).  PRNU is the variation of the output signal from pixel to pixel in the case light is falling on the sensor.  It should be noted that the average sensor signal itself can be composed out of :

       DC offset, introduced by the electronic circuitry, and which is (in a first instance) independent of temperature and exposure time

       Dark current, depending on temperature and on exposure time,

       Photo response, depending on exposure time.

Just like in the case of the average signal, the non-uniformities are calculated (!) based on several images taken in controlled conditions.  To limit the influence of any thermal noise component, several images need to be grabbed, preferably at various exposure or integration times.  Basically, the same data or images as used in the case of measuring the average signal with light input can be reused.  So after averaging all images taken at a particular exposure time to reduce the thermal noise, calculations can take place on the averaged resulting image.  To make sure that the obtained result contains the PRNU and is not too much “contaminated” by the dark current, the amount of light put on the sensor should be large enough to make sure that the photon-generated signal is at least two orders of magnitude larger than the dark-current generated signal.

The images used in the calculation of the PRNU are shown in Figure 1 : for 25 different exposure times, the result is visualized in the mosaic image.  Corresponding exposure times are indicated.

next_blog_1

 

Figure 1 : Sensor output with light input as a function of the exposure time.

The light input conditions are : 5600K colour temperature and 5 lux light input on the sensor surface.  As can be seen from Figure 1, the sensor saturates around 400 ms.  This is due to the limitation of the ADC in combination of the gain setting of the camera.  These effects will be explained and measured later in another blog.  

A first way of measuring/calculating the PRNU is to check its behavior as a function of exposure time.  The result of this is shown in figure 2.

next_blog_2

 

Figure 2 : fixed-pattern noise with light as a function of the exposure time.

There are four curves shown, one for each colour channel.  Please notice that these curves for the PRNU are obtained after correction of the defect pixels !

From the regression line calculated by means of the linear part of the various curves, the following data can be extracted :

       FPN independent of the exposure time, or FPN in dark, being equal to 3.09 DN, (average of the two green channels),

       Time depending part of the FPN, being the PRNU, and equal to 214.4 DN/s, (average of the two green channels).

Taking into account the data obtained (in the previous blog) for the average signal in the various colour channels, the PRNU is equal to :

       Blue channel : 93.6/8770 = 1.06 %,

       Green in the blue line : 211.7/12653 = 1.67 %,

       Green in the red line : 217.0/12715 = 1.72 %,

       Red channel : 170.1/7612.8 = 2.23 %.

How to express the FPN a sensor or camera ?  In contradiction to the DSNU, the PRNU normally is Gaussian distributed (after correction of the defects and shading, see next blog).  For that reason it is straight forward to express the PRNU as a percentage of the average signal with light input.  This is also done in the above mentioned calculation.  To show the Gaussian distribution of the sensor signal with light input, the histogram of the output (at 25 % of saturation) is illustrated in Figure 3.  The left group of curves illustrates the histogram with a linear vertical axis, the right group of curves shows the same data but with a logarithmic vertical axis.  The latter one is preferred because it shows much better the distribution of deviating pixels (if any) as well.

next_blog_3

 

Figure 3 : histogram of the average signal in dark.

“There is a warning sign on the road ahead” :

Of crucial importance in this measurement is to measure the PRNU and not the non-uniformity of the light source.  For that reason special attention is needed to create a uniform illumination.  This can be done by :

       Using a point source at a large distance, but in that case the light input will be relatively small,

       Making use of a diffuser in front of the image sensor,

       Imaging a uniform target on the sensor, but in that case the non-uniformity of the lens will be included,

       Using an integrating sphere.  This is most probably the easiest solution, although also integrating spheres do not have a uniformity of 100 %.

In the case of a large imaging array, creating a uniform illumination might be complicated.  In that case a smaller area of the sensor can be used (in the center of the device) and the PRNU can be characterized across this smaller area.  It should be noted that the PRNU values of a smaller area are always more optimistic than the PRNU values of the total sensor area.

Good luck with the PRNU measurements, more to follow next time.

Albert, 14-02-2012.

13 Responses to “How to Measure : Fixed-Pattern Noise in Light or PRNU (1)”

  1. Ning says:

    In the FPN measurement with light, it is mentioned that “FPN independent of the exposure time, or FPN in dark…”, but according to the older blog about DRNU, the FPN in dark does has a exposure time dependency, although very small compared to PRNU. So if i understand correctly, the DRNU part is not eliminated from the PRNU calculation under different exposure times, but it is negligible. Am i correct?

  2. Ning says:

    Actually, i asked the question mainly because i was wondering how to eliminate column FPN when measuring the PRNU, or is it low enough to be ignored?

  3. albert says:

    The absolute value of the non-uniformity with light (PRNU) is depending on the amount of light input, this is normally not the case for column FPN. So if you use enough light (up to 25 % or 50 % of saturation), then in most cases the column FPN is negligible. Albert.

  4. Ning says:

    Thank you Albert.
    As you mentioned that “To limit the influence of any thermal noise component, several images need to be grabbed.” The shot noise component should also be lowered by averaging. My questions is by averaging 25 images, is the shot noise low enough so that the calculated noise is fixed pattern noise dominant?

  5. Ning says:

    It’s a new question this time. 🙂

  6. Albert Theuwissen says:

    Averaging 25 images reduces the noise by a factor of 5. Especially for higher signal levels this might not be enough. But if you grab the images by means of a computer, why not asking for 250 images instead of 25. For you it is just typing one extra zero, the computer does the rest of the work 😉

  7. Rémi Vennereau says:

    Can you give more details about how you plotted FPN against exposure time using the same samples you had for the average signal ? Because in your “How to measure : Average Signal ” protocole, you average the frame over all its pixels in order to reduce FPN.

  8. albert says:

    Hello Remi, thanks for your comment.
    Please be aware that there is a difference in averaging in the time domain (= you average all values of a single pixel coming from different images taken one after another, in this way you take out the temporal noise in the case you have enough samples) and averaging in the spatial domain (= you average several pixels within a single image, in this way you take out all the noise, at least if you have enough samples). Hopefully this answers your question.
    Albert.

  9. I really like your writing style, good info , thanks for posting : D.

  10. Anitha Thomas says:

    In a paper it is said the FPN can be measured in the absence of illumination.
    If we convert RGB image to YCbCr model then the illumination is absent there am i correct ?

    Plz reply

  11. albert says:

    If FPN is measured without light, you measure the FPN in dark. If FPN is measured with light, you measure the FPN in light, also known as PRNU.
    Converting to YCC or not has nothing to do with illumination. That conversion can be done for dark images or for light images.
    Albert, 31-01-2019.

  12. Paul says:

    From “averaging all images taken at a particular exposure time” for each light condition (thermal/shot noise is elliminated), if we calculate the standard variation of the “averaged frame – dark_offset”, the std could be treated as FPN under specific exposure time condition. Thus, FPN vs. total signal could be plotted (with slope=1). Is this calculation correct? Thanks.

  13. albert says:

    Dear Paul, this is indeed correct. Best regards, Albert.

Leave a Reply