[카메라·영상]

Flat-field correction (FFC)

Neo Park 2019. 8. 18. 11:50

출처 : http://measurebiology.org/wiki/Flat-field_correction


OVERVIEW

Before you record any images, it is a very good idea to adjust your microscope optics to make the illumination is as good as possible. 

But even if you adjust the illuminator perfectly, the intensity of the illumination won't be exactly the same everywhere in the field of view. 

In most cases, the illumination is brightest in the middle of the image, with a steady decrease itoward the edges of the field of view. 

Dirt or other flaws in the illumination system can also cause variation in the illumination. 

In a fluorescence image, the amount of light coming from a point in the sample is proportional to
the fluorophore concentration multiplied by the illumination intensity: 
.

In other words, the recorded image is equal to the actual image multiplied by the illumination intensity at every point.


Another source of non-uniformity is the detector itself. 

The characteristics of every pixel are not identical. 

A reasonable model for the camera's response is , where  is the pixel value recorded by the camera for the ith pixel;  is the responsivity of the i th pixel;  is the intensity of light incident on the i th pixel; and  is the dark level of the i th pixel; and  is a noise term that
represents random observational error. 

The dark level and responsivity of each pixel are slightly different, so the camera will produce a range of output values even if the image is perfectly uniform or even completely dark.


These problems can be largely eliminated through a technique called flat-field correction or shading correction.



Figure 1: Illustration of the effect of nonuniform illumination. The image appears darker at the edges due to the weaker illumination..




CORRECTING AN IMAGE

The value of each pixel in the image is equal to  combines the effects of nonuniform illumination and pixel-to-pixel variation in the camera's response.

The goal of flat-field correction is to find  for each pixel.

The formula for the correction is:  .

In order to do the correction, you need to find  and .

 can be found empirically by recording a dark image with the illuminator turned off. 

Because dark level depends on the exposure, gain, and binning settings, temperature of the detector, and so on…, it is important to take the dark image with identical settings as the source image. 

It's a good practice to record the dark image just before or after the source image. 

In order to reduce the noise in the dark image, it's a good practice to take multiple dark images and average them.


Figure 2: The effect of nonuniform illumination and camera response can be reduced by flat-field correction, which involves dividing the non-uniformly illuminated image by a reference image that maps the illumination intensity. The black level must be subtracted from image to be corrected and the reference image in order to apply the proper correction.