Bleach correction in Napari
If you haven’t installed Napari, please do so before proceeding with this tutorial. If you just want to practice this tutorial, install the following minimal installation:
conda create -n napari_bioimage_analysis -y python=3.9 mamba
conda activate napari_bioimage_analysis
mamba install -y napari napari-assistant napari-bleach-correct
What is photo-bleaching?
Photo-bleaching is the loss of fluorescence signal due to the interaction of the fluorophore with the excitation light. This effect is more pronounced in live-cell imaging, where the fluorophore is exposed to the excitation light for a long time. There are several image processing techniques available to reduce the photo-bleaching effect. In this tutorial, we will use the Napari “Bleaching Correctionꜛ”.
Default measures to correct for photo-bleaching are:
- Histogram matching: The histogram of the frames is matched to the histogram of one reference frame.
- Exponential curve fitting: Exponential curve fitting is a technique used to model the decay or recovery of pixel intensities over time in a bleached image. It assumes that the bleaching process follows an exponential decay or recovery function. By fitting an exponential curve to the intensity values, the decay or recovery trend can be estimated, and the image can be corrected by dividing by the estimated curve. For more details, see Miura (2020)ꜛ.
- Ratio method: The ratio method is a simple and widely used technique for bleach correction. It involves computing the ratio between a bleached image and a reference image captured before the bleaching event. The ratio image is then multiplied by the mean intensity of the reference image to obtain the corrected image. The method assumes that the mean intensity is constant through the time-lapse and that the background fluorescence is the same for every pixel and frame. For more details, see Miura (2020)ꜛ.
The Napari Bleaching Correction plugin
The Napari Bleaching Correction plugin is an implementation of three different methods for bleach correction, namely histogram matching, exponential curve fitting, and ratio method, and can be used to correct time-lapse images that lose intensity due to photo-bleaching. The usage of the plugin is straightforward. First, open the Bleaching Correction
plugin from the Plugins
menu. Then, select the algorithm and the parameters. Finally, click on the Correct
button to apply the correction. The corrected image will be added to the as a new layer to layer list:
Exercise
Visit the Napari hub pageꜛ of the plugin and make yourself familiar with the different bleach-correction algorithms. Use the “timelapse_cil_7669” TIFF file provided in the data folder of this course (or download it directly from the Cell Image Libraryꜛ) and apply different bleach correction methods to the image. Which method works best for this image?
Further reading
- Napari Bleaching Correction pluginꜛ
- Wikipedia article on photo-bleaching
- Miura K. Bleach correction ImageJ plugin for compensating the photobleaching of time-lapse sequences. F1000Res. 2020 Dec 21;9:1494. doi: 10.12688/f1000research.27171.1ꜛ
- Batters C, Zhu H, Sale JE (2010). Visualisation of PCNA monoubiquitination in vivo by single pass spectral imaging FRET microscopy. PLoS ONE 5 (2): e9008ꜛ. DOI:10.1371/journal.pone.0009008. PMID 20126408ꜛ. PMC: 2814862.
- Ghosh, Rajarshi, Woodcock, Chris (2010) CIL:7669, Mus musculus. CIL. Dataset. doi.org/doi:10.7295/W9CIL7669ꜛ
Acknowledgements
The image used in this tutorial is taken from the Cell Image Libraryꜛ and has the ID CIL:7669. Please cite as Ghosh, Rajarshi, Woodcock, Chris (2010) CIL:7669, Mus musculus. CIL. Dataset. https://doi.org/doi:10.7295/W9CIL7669ꜛ.