BigStitcher Flatfield correction

Overview

Uneven illumination and fixed pattern noise can lead to artifacts in stitched images. If the aberration is the same for multiple images, it can be corrected via a process called flatfield correction. We offer on-the-fly correction for a user-provided dark image and/or bright image.

BigStitcher Flatfield 1.png

We perform the correction by calculating a corrected image pixel C_{x,y,z} according to [1]:

C_{x,y,z} = \frac{(R_{x,y,z} - D_{x,y}) * \overline{(B-D)} }{(B_{x,y}- D_{x,y})}

with

  • R = raw image
  • B = bright image (image of a uniformly bright sample), 1 if not provided by user
  • D = dark image (image with no sample and illumination, camera offset), 0 if not provided by user

Usage

You can find the flatfield correction as Flatfield Correction (experimental) ... in the right-click menu under Preprocessing (stitching mode) or Modification (MultiView mode).

Click on the menu item and you will be presented with a dialog allowing you to set bright and dark images for every (channel, illumination direction)-combination of your images.

BigStitcher Flatfield 2.png

You can specify the dark and bright image files by dragging and dropping the file, entering the path manually or selecting the file by clicking Browse....



Furthermore, you can set the correction active. Use this to activate or deactivate the flatfield correction to compare results.

You can also choose to cache corrected images. This will reduce the amount of calculations we have to re-do if you have enough memory to save previous results. We advise to keep this activated.

If you click OK, the correction will be applied to you images. Note that if the BigDataViewer is open, it will close and reopen to re-load the corrected images. If you with to change the correction settings, you can click through the dialog once more, e.g. to deactivate the correction.



Go back to the main page