Flat field correction uses the following equation to correct images:

where,

  • Image is the image to be corrected,
  • Dark Field Image is the image that captures the dark currents in the sensor,
  • Flat Field Image is the image intensity profile image,
  • Correction Factor is a constant to bias the brightness of the corrected image.

Optimized Correction

The flat field correction algorithm provides an option to correct the image faster by storing the following equation component in memory.

When the optimized correction is enabled, the algorithm computes and stores the above component when the flat field image is first used. The stored value is reused for each image thereafter. The flat field correction equation with the optimization enabled: