Introduction Pfeil nach oben

ISee! is able to perform a so-called "flat field" calibration as well as the detection and the correction of bad pixels. In order to do it:

  1. A sequence of uniformely illuminated images has to be taken as the first step. They are called calibration or reference images. The exposures have to be done without an object. All setup-variables have to be the same as with the object, except the number of frames to be integrated - it has to be 3-5 times higher for the calibration images. Mean intensities of these images have to range from the minimum till the maximum representable value, i.e. cover whole dynamic of the detector.
  2. Create a configuration file. Essentially it is a list of reference images, stored as plain ASCII-text, one filename per line, ordered from the darkest (dark image) to the brightest. It is used by ISee! for fine adjusting of the grey values of individual pixels in real (i.e. with object) shots. If an acquisition system is inherently and highly linear, then only two (black and white) calibration images are enough. Otherwise (for a nonlinear system) more calibration images are necessary since 1st order (linear) interpolation is used between calibrated grey values. An extensive example of a configuration file with all options explained is shown below.

Example Configuration file Pfeil nach oben

You can download the following configuration file from here.

# This is an example "ISee! Pixel Calibration and Bad Pixel Correction" configuration file.

# All possible (as for ISee! v1.7.4 and above) options/commands are listed and explaned.

# Lines starting with sharp character (#) are considered as comments and ignored by ISee!

# Written by Alexander Alekseychuk (, 2008-11-15

# List reference images in order of ascending exposure (average grey value).

# The number after image filename is optional and specifies target grey value of this reference. 

# If ommited, ISee! will calculate and use the image' global median for the target grey value.

black.tif 	    0

0.02mA.tif	  200

0.05mA.tif	  500

0.10mA.tif	 1000

0.19mA.tif	 1900

0.38mA.tif	 3800

0.75mA.tif	 7500

#1.50mA.tif	15000

# Perform calibration so that the black-image will have grey value of zero after calibration.

# In other words: image will be corrected for the offset.

# Then the first image in the list above will be considered as a reference black-image.


# Default interpolation between reference images is linear, i.e. 1st order.  

# This option enables 2nd order interpolation.  Seldom necessary, 

# unkomment only if you really need this. 


# Detection of bad pixels by analysis of their gain.


# The first number (argument) is global sensitivity.  It is the allowed deviation of gain

# of each single pixel from the global median gain, expressed in standard deviations.


# The second number is local sensitivity and it is the allowed gain deviation from the

# median gain in 21x21 local area (local area size is according to E2597).  If set to zero  

# or a negative number - no local analysis is performed (_significantly_ faster).

#$detect_bad_pixels 5.0 3.0 

$detect_bad_pixels 5.0 -1 

# Detection of bad pixels by means of calibration (grey value adjustment) of a reference image 

# and detection of pixels which cannot be calibrated sifficiently good.  


# Remenber to comment out the corresponding images in the list of reference images (above).


# The second (numerical) parameter is the allowed deviation of grey value in calibrated image

# from the median grey value in 9x9 local area (local area size is according to E2597),

# expressed in _percents_.

#$detect_bad_pixels 0.10mA.tif

#$detect_bad_pixels 0.38mA.tif 1.5

# In case if bad pixel detection resulted in a excessive number of detections, this option 

# allows to set a warning signal.  The argument is the percentage of bad pixels in relation 

# to the number of all pixels (image size).

$bad_pixels_high_sens_warn 10

# Once succesively detected bad pixels have to be saved in a file, bad pixel map, 

# in order to be reused after that since the bad pixel detection procedure is time consuming

#$save_bad_pixels_map bad_pixels.tif

# And this command allows to load the bad pixel map saved before.

#$bad_pixels_map bad_pixels.tif

# Commands ISee! to ignore possible interferences between bad pixels and their immediate neighbours.

# Leave it commented out, if you have no good reason to do the opposite.



# eof


Documented calibration example Pfeil nach oben

You can download a complete documented ready-to-use package with example configuration files and images (85 MB).

This webpage was last changed: 2014-01-31.
Valid XHTML 1.0