Skip to main content
F1000Research logoLink to F1000Research
. 2020 Dec 21;9:1494. [Version 1] doi: 10.12688/f1000research.27171.1

Bleach correction ImageJ plugin for compensating the photobleaching of time-lapse sequences

Kota Miura 1,2,a
PMCID: PMC7871415  PMID: 33633845

Abstract

During the capturing of the time-lapse sequence of fluorescently labeled samples, fluorescence intensity exhibits decays. This phenomenon is known as 'photobleaching' and is a widely known problem in imaging in life sciences. The photobleaching can be attenuated by tuning the imaging set-up, but when such adjustments only partially work, the image sequence can be corrected for the loss of intensity in order to precisely segment the target structure or to quantify true intensity dynamics. We implemented an ImageJ plugin that allows the user to compensate for the photobleaching to estimate the non-bleaching condition with choice of three different algorithms: simple ratio, exponential fitting, and histogram matching methods. The histogram matching method is a novel algorithm for photobleaching correction. This article presents details and characteristics of each algorithm based on application to actual image sequences.

Keywords: Fluorescence microscopy, photobleaching, bleach correction, histogram matching, restoration, time series, Fiji, ImageJ

Introduction

In biological fluorescence microscopy, cells are irradiated with excitation light that causes the emission of fluorescence from protein markers. This irradiation is necessary to detect the position of proteins but it also has a side effect. Emitted fluorescence gradually decreases by time. This is because, with a certain probability, fluorophores irreversibly lose the ability to fluoresce. This effect is called “photobleaching” and is a widely-known problem in bioimage analysis. Photobleaching not only degrades the visual quality of the results but also interferes with the measurement of molecular kinetics and the quality of the segmentation of target objects. Since bleaching attenuates total signal intensity even when the density of labeled protein is unchanged, precise estimation of the amount of protein or the boundary of the biological structure becomes difficult.

To overcome the problem of photobleaching, improvements can be made either before or after the experiment. Before the experiment, one can tune instruments and sample environment, such as careful choice of the fluorophore, use of anti-fading reagents, decreasing the power of laser irradiation, increasing the detector gain, and increasing the time interval of capturing 1. After the experiment, time-lapse sequence image data can be processed to compensate for the loss of intensity. To do this, the amount of the fluorescence loss is estimated and then the none-bleached condition is restored by image processing. We call such restoration procedure “bleach correction”. Several different algorithms have been developed and used by various researchers.

A conventional method for correcting the bleaching has been done by multiplying the inverse of the ratio of intensity loss compared to a reference image frame. Estimation of bleach ratio could either be calculated directly 24 or by fitting exponential equation 5, 6. We call the first method simple ratio method and the second method exponential fitting method.

The simple ratio method seems to be the most widely used method. It has been applied for improving the deconvolution results in 3D stacks 7 and in the fluorescence recovery after the photobleaching (FRAP) technique. In FRAP literature, this method is called double normalization 2, 3. In ImageJ, this method was implemented as a macro by Jens Rietdorf and has been available since 2004 ( https://www.embl.de/eamnet/html/bleach_correction.html).

In the exponential fitting method, it also compensates the loss by multiplying the inverse of the bleach ratio, but the method first fits the exponential equation to the bleaching curve and uses the fitted parameters for deriving the bleach ratio at each time point 8, 9. This method has been implemented as an ImageJ plugin and is available as a part of MBF ImageJ for Microscopy bundle ( https://imagej.net/MBF_Plugin_Collection). A plugin PixBleach allows three different exponential decay models to be used for the correction ( http://bigwww.epfl.ch/algorithms/pixbleach/) 10.

The histogram matching method is based on a strategy that is different from the above two methods and a novel algorithm introduced in this paper. Instead of correcting the fluorescence intensity based on the average intensity of the image at each time point, the histogram matching algorithm 11 is used to restore comparable intensity histogram distribution of each frame by taking the first frame as the reference.

We implemented an ImageJ plugin that allows bleach correction with a choice from these three different algorithms. In this article, we explain each of these algorithms in detail and compare their characteristics.

Methods

Implementation

In the case of the simple ratio and exponential fitting methods, the mean intensity of 3D stack from each time point was calculated to estimate the bleach ratio. For the histogram matching method, pixel intensity histogram was generated from the 3D stack at each time point.

Simple ratio method

We consider an i-th frame image I i = I i( x, y) in an image sequence and correct its loss of fluorescence emission. We assume that the mean intensity I¯ is constant through the time-lapse sequence if not for the photobleaching. Then the ratio of the mean intensity of i-th frame I¯i to that of the first frame I¯0 is the ratio of none-photobleached fluorophores in i-th frame. We could then estimate the true pixel intensity of the i-th frame by the equation below.

Iic(x,y)=I¯0IbI¯iIb(Ii(x,y)Ib)

I b is the value of the background intensity. This value is estimated independently by measuring the none-fluorescence region within the image, or by measuring a blank image with all the image acquisition conditions being the same but without sample.

Exponential fitting method

The bleach correction tool included in MBF ImageJ bundle curve-fits total intensity value of each time frame with an exponential decay curve. This decay curve is then used to estimate the bleach ratio at each time point to calculate the true fluorescence intensity 12. We implemented a similar capability for processing three-dimensional time series. In this case, the mean intensity of each time point, the average of 3D stack pixel values, was first fitted by an exponential equation to estimate the background intensity.

I¯i(x,y)=aebi+c

Values a, b and c are estimated by this curve fitting. The original image is then subtracted by the estimated background value c. The background-subtracted image was then fitted again with the single exponential equation. Using the estimated parameters from this second fitting, which we now call them a ', b ', and c ', the ratio of bleaching was determined and then it’s inverse was multiplied to the background-subtracted image.

Iic(x,y)=a+caebi+c(Ii(x,y)c)

Histogram matching method

Histogram matching algorithm modifies pixel values of an image to match its histogram shape to a reference image histogram 13. We used the histogram of the first frame image H 0( p) as a reference and matched the histogram of i-th image frame H i( p). p is the pixel value that is 0 ≤ p ≤ 255 in 8-bit image and is 0 ≤ p ≤ 65535 in 16-bit image. The cumulative distribution function of histogram CDF i( p) is used for the actual calculation.

CDFi(p)=x=0pHi(x)

Since we take the first frame of the time-lapse sequence as the reference, we use CDF 0( p) as the reference CDF. We then match the rest of CDF to the reference CDF 0( p) by

p=CDF01(CDFi(p)),

where CDF01 is the inverse function of CDF 0 and p ' is the pixel value updated after matching a pixel value p in the original image.

Operation

For running this plugin with Fiji, any entry-level laptop or desktop machine is sufficient. If one needs to work on a huge image stack, then one should make sure that the RAM has a capacity twice the size of the file size of the image stack. In case of Mac, Mac OS X 10.4 or higher is required to run Fiji.

Results

The sample image sequence was a time series of three-dimensional stacks 14, 15. The mean intensity showed an overall decrease by time, accompanied by repetitive small peaks ( Figure 1, top-left). These small peaks corresponded to single time points, as each peak represented the spherical shape of the yeast cell. Mean intensity was low at the top slice, high at the cell equator, and then low again at the bottom slice.

Figure 1. Time course of photobleaching in the original sample sequence (top-left) and corrected curves by the simple ratio method (top-right), the exponential fit method (bottom-left), and the histogram matching method (bottom-right).

Figure 1.

For the original and the histogram matching results, values were subtracted by 68 to set the y-axis range to a comparable level to the other two curves. Black curves are the mean intensity of each image and red curves are the mean intensity of each time point.

Simple ratio method

To correct for the bleaching using the simple ratio method, we first determined background intensity. An arbitrary area outside the cell was selected and the mean intensity of the full sequence was measured. The mean intensity of the background was 68.3 ± 0.5. The sample sequence was then corrected for bleaching by the simple ratio method using this background intensity ( Figure 1, top-right).

We further examined how the level of background intensity affects the correction results ( Figure 2). We used four different background values, 64, 68, 70, and 72. A slight difference in the background values caused a large difference in the resulting curves. When the background value was set large, the correction resulted in a curve with an increasing trend. When the value is set small the corrected curve showed a decreasing trend. When the measured background intensity 68 was used, drift was minimal.

Figure 2. Effect of estimated background intensity on the bleach correction by the simple ratio method.

Figure 2.

Exponential fitting method

With the exponential fitting method, the estimation of background value is already a part of the algorithm. In the sample image, the estimated background intensity was 73. The image sequence was subtracted by this background value, fitted with a single exponential equation and then the bleaching was corrected ( Figure 1, bottom-left). The mean intensity of the corrected image stack was mostly constant but with a slightly decreasing trend and also with small fluctuations. The decreasing trend was due to a fact that a single exponential equation was not perfectly fitting to the bleaching process seen in the sample. Since the exponential fitting assumes an idealized decrease in fluorescence by time, fluctuations present in the original image sequence were preserved in the corrected image sequence ( Figure 1, red curves).

Histogram matching method

The histogram matching method does not need background intensity estimation in its algorithm. For the purpose of comparing this method with the other two methods, the original stack was first subtracted by a constant background intensity value 68. The correction resulted in a stably constant mean intensity time series ( Figure 1, bottom-right). It was the most stable result compared to the other two methods in terms of the fluctuation of intensity after the correction ( Figure 1 red curves).

Discussion

All three methods do correct bleaching of fluorescence but the results of correction showed some difference. The simple ratio method has the capacity to correct time series with abrupt changes in intensity because the bleaching ratio is calculated for each time point. On the other hand, the quality of the correction is heavily dependent on the estimated value of background intensity. A small deviation of estimated value from the true background value causes wrong correction results ( Figure 2).

The exponential fitting method has an assumption that the bleaching process follows a single exponential decay. It is known that in some cases bleaching time course is a double exponential decay 8. In this respect, one must consider before using this method if there is any good reason to model the bleaching process of the sample as a single exponential decay. Otherwise, the goodness of fit needs to be evaluated for the proper use of this method. In addition, the exponential fitting method ignores small perturbations in the intensity such as abrupt changes in the emission of fluorescence. Such changes can be caused by small fluctuations in the power of the excitation light or in the slight variations in the timings of the shutter controlling the light path. The simple ratio method deals better with such changes. However, such a non-flexible nature of the exponential fitting method can become an advantage in some other occasions. For example, if the change in the intensity is due to the synthesis of GFP molecules by cell, the simple ratio method will wrongly correct such true increase and mask the biological event, but the exponential fitting method will achieve a better correction as long as the bleaching is known to be a single exponential decay.

The histogram matching method is robust when it is difficult to measure background intensity. This can happen when the whole image frame is filled with sample. For example, image data with packed cells in the image frame hinder the estimation of background intensity. Since histogram matching does not require the input of background intensity, the correction will be straight forward even with such cases. Moreover, this method is especially suited as a preprocessing for segmentation since strictly constant mean intensity in the corrected image sequence affords an optimal condition for segmenting objects.

The limitation of using the histogram matching method is that it assumes a stable distribution of fluorescence. If object under observation undergo changes in localization, e.g. signal changes from diffuse to spots during cell surface receptor internalization, or in shape, e.g. cell spreading, we expect that histogram shape will change as well. If we take an example of cell surface receptor internalization, the formation of spots by the aggregation of protein is expected to create a new peak in the high pixel values while decreasing the height of the existing peak in low pixel values of the histogram. Applying histogram matching to this time course would result in the wrong correction by forcing the histogram shape to become constant over time.

Conclusions

All thee methods correct bleaching, but have specific limitations of each. With the simple ratio method, background intensity should be accurately estimated. The exponential fitting method relies heavily on the model. With the histogram fitting method, object shape and pattern should be constant. For choosing an appropriate method, these limitations, and the known details of the observed biological event should be taken into account. In the future, the following features are planned to be added to the plugin: first, a fitting method with a double exponential equation; second, the background estimation method for the simple ratio method will be considered and will be added as a helper function; third, the current histogram matching method uses the first frame as the reference frame. Tolerance to changes in shape and pattern becomes higher if the reference frame is updated for every time frame so that the matching is done between neighboring time points.

Data availability

Underlying data

For the development of the plugin, the sample time-lapse sequence of fluorescently labeled yeast cells was kindly provided by Boryana Petrova and Christian Häring (Cell Biology and Biophysics Unit, EMBL Heidelberg). These sequences are three-dimensional time-lapse movies, taken with eight optical sections for each time point 14.

Zenodo: A sample image data for ImageJ Bleach Correction Plugin, http://doi.org/10.5281/zenodo.4060111 15.

Data are available under the terms of the Creative Commons Attribution 4.0 International license (CC-BY 4.0).

Software availability

The Bleach correction plugin is contained within the download package of Fiji ( https://imagej.net/Fiji) and can be used directly by launching the software package and accessing the menu item [Image > Adjust > Bleach Correction] without any further additional installation. For using it in ImageJ 1.× (ImageJ ( https://imagej.nih.gov/ij/), the source code should be downloaded, compiled, and installed locally.

Source code (version 2.0.3) available from: https://github.com/fiji/CorrectBleach

Archived source code as at time of publication: http://doi.org/10.5281/zenodo.58701 16

License: GNU General Public License version 2.

Acknowledgements

We are grateful to Boryana Petrova and Christian Häring (Cell Biology and Biophysics unit, EMBL Heidelberg) for providing yeast image sequences. We thank Johannes Schindelin for suggestions on coding and including the plugin in the Fiji project.

This publication was supported by COST Action NEUBIAS (CA15124), funded by COST (European Cooperation in Science and Technology

Funding Statement

The author(s) declared that no grants were involved in supporting this work.

[version 1; peer review: 4 approved

References

  • 1. Waters JC: Live-cell fluorescence imaging. Methods Cell Biol. 2007;81(06):115–40. 10.1016/S0091-679X(06)81007-1 [DOI] [PubMed] [Google Scholar]
  • 2. Phair RD, Misteli T: Kinetic modelling approaches to in vivo imaging. Nat Rev Mol Cell Biol. 2001;2(12):898–907. 10.1038/35103000 [DOI] [PubMed] [Google Scholar]
  • 3. Stavreva DA, McNally JG: Fluorescence recovery after photobleaching (FRAP) methods for visualizing protein dynamics in living mammalian cell nuclei. Methods Enzymol. 2004;375(1976):443–55. 10.1016/s0076-6879(03)75027-7 [DOI] [PubMed] [Google Scholar]
  • 4. McNally JG: Quantitative FRAP in analysis of molecular binding dynamics in vivo. Methods Cell Biol. 2008;85(08):329–51. 10.1016/S0091-679X(08)85014-5 [DOI] [PubMed] [Google Scholar]
  • 5. Wüstner D, Faergeman NJ: Chromatic aberration correction and deconvolution for UV sensitive imaging of fluorescent sterols in cytoplasmic lipid droplets. Cytometry A. 2008;73(8):727–44. 10.1002/cyto.a.20593 [DOI] [PubMed] [Google Scholar]
  • 6. Kolin Dl, Costantino S, Wiseman PW: Sampling effects, noise, and photobleaching in temporal image correlation spectroscopy. Biophys J. 2006;90(2):628–39. 10.1529/biophysj.105.072322 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 7. Markham J, Conchello JA: Artefacts in restored images due to intensity loss in three-dimensional fluorescence microscopy. J Microsc. 2001;204(Pt 2):93–8. 10.1046/j.1365-2818.2001.00961.x [DOI] [PubMed] [Google Scholar]
  • 8. Füreder-Kitzmüller E, Hesse J, Ebner A, et al. : Non-exponential bleaching of single bioconjugated Cy5 molecules. Chem Phys Lett. 2005;404(1–3):13–18. 10.1016/j.cplett.2005.01.053 [DOI] [Google Scholar]
  • 9. Vicente NB, Zamboni JED, Adur JF, et al. : Photobleaching correction in fluorescence microscopy images. J Phys Conf Ser. 2007;90:012068 10.1088/1742-6596/90/1/012068 [DOI] [Google Scholar]
  • 10. Wüstner D, Larsen AL, Faergeman NJ, et al. : Selective visualization of fluorescent sterols in Caenorhabditis elegans by bleach-rate-based image segmentation. Traffic. 2010;11(4):440–454. 10.1111/j.1600-0854.2010.01040.x [DOI] [PubMed] [Google Scholar]
  • 11. Gopinath S, Wen Q, Thakoor N, et al. : A statistical approach for intensity loss compensation of confocal microscopy images. J Microsc. 2008;230(Pt 1):143–59. 10.1111/j.1365-2818.2008.01964.x [DOI] [PubMed] [Google Scholar]
  • 12. Andrews DW: The MBF ImageJ collection.2005. Reference Source [Google Scholar]
  • 13. Burger W, Burge MJ: Digital Image Processing: An Algorithmic Introduction using Java.Springer,2007. Reference Source [Google Scholar]
  • 14. Petrova B, Dehler S, Kruitwagen T: Quantitative Analysis of Chromosome Condensation in Fission Yeast. Mol Cell Biol. 2013;33(5):984–998. 10.1128/MCB.01400-12 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 15. Miura K: A sample image data for ImageJ Bleach Correction Plugin. type: dataset.2020. 10.5281/zenodo.4060111 [DOI] [Google Scholar]
  • 16. Schindelin J, Rueden C, Miura K, et al. : CorrectBleach: upgrade with Exponential fitting method (Version v2.0.3). Zenodo. 2016. 10.5281/zenodo.58701 [DOI] [Google Scholar]
F1000Res. 2021 Feb 22. doi: 10.5256/f1000research.30015.r77752

Reviewer response for version 1

Bram van den Broek 1

In this paper Kota Miura describes an ImageJ plugin for fluorescence photobleaching correction. This tool has been built into Fiji for a number of years already, and is no doubt used by many researchers. The plugin comprises three different methods to compensate for photobleaching in time-lapse movies (2D/3D). All methods alter the pixel intensities of the output image, in an attempt to stabilize the signal.

It is praiseworthy that the author takes the effort to describe such an established tool. The article thus also serves as a manual.

The article is well-written in a very straightforward way, without unnecessary details. The three methods are independently explained to a level that the reader can understand the workflow, but the descriptions don’t go very deep. The discussion is to the point and mainly handles limitations of the implemented methods. The author provides adequate links to software, source code and sample data.

While reading the paper I had several questions and a few concerns, which I will discuss below. I realize that there are a lot of points; some are very technical and some can be seen as feature requests. I do not expect the author to address/implement them all.

  • All example data in the paper is taken from one sample image of a single cell. This image is acquired in 3D, but the bleach correction is performed, or at least shown, in a ‘linearized’ 2D stack. This 2D representation causes periodic ‘peaks’ in the time trace. Perhaps it is the author’s intention to show that the tool works for 3D time-lapses, but these ‘peaks’ obscure the bleaching curve, are unnecessarily confusing the reader and hamper a thorough comparison of the methods. Luckily, the mean intensity of each time point is also provided (the red lines in figure 1).

    Without the black lines, all four panels can be merged into one panel, with different methods in different colors. Doing so will free up room for a few other bleaching correction examples. Ideally, such examples would reflect cases that highlight the positive/negative sides of each method. In my opinion that would really elevate the paper beyond a fancy manual. (I have imaged some data for this review that the author is free to use for this purpose, if desired.).

  • The output image in the Simple Ratio method has the background subtracted, where in the other methods the background remains. It would be better to keep this the same for all methods.

    Because the output image is not in 32-bit floating point format, this operation also creates a positive bias in the background noise (negative numbers are set to 0). Even more so, the calculation itself seems to be done in 8-bit or 16-bit integer format. This partially underlies the following issue:

  • Figure 2 depicts corrected traces of a single cell surrounded by background, for varying input background estimation, using the Simple Ratio method. The figure seems to indicate that overestimating the background is much more severe than underestimating. However, the interesting part of the data is obviously the cell, and not the background. The corrected traces are mean intensities of the whole image. A flat trace can arise from the amplified signal of the bleaching cell alone (this is what we want), but also from an erroneously amplified background. With many more background pixels than ‘cell pixels’ this effect can be large even with moderate background increase. Exactly this turns out to be happening with the image stack presented here.

    I have reproduced the bleaching corrected data with the sample image used in the article, but now also separated the foreground (the cell) from background (using a simple Otsu threshold on a slice where the cell is in focus, halfway the time-lapse). The resulting time traces (total, cell, background) show that when the background set at 64, the background intensity increases by 45% while the cell intensity decreases by 35%: under-correction. With background at 72 the background intensity decreases by 42%, while the cell intensity increases by 29%: over-correction. (In the latter case the background gray values are almost zero everywhere, because the image remains 8-bit; this could be part of the problem.)

    When a correct background of 68.3 is set (or 69, because non-integer values seem to be rounded up) the cell intensity over time remains roughly constant.

    Because the traces as shown in Figure 2 (and Figure 1 as well!) are computed from the cell+background, which both vary, they do not fully convey the right message.

    Interestingly, the paragraph explaining the effect of background intensity correctly describes the result, but the words do not agree with the figure. Perhaps the author can instead show both cell and background traces (and then preferably only the mean/sum of all z planes vs time, to remove the spikes).

  • I noticed that with the Simple Ratio and Exponential Fit methods it is possible to calculate the correction on a selection (ROI) in the image, yielding different results. Please add a paragraph on the effect, and when it is useful to do so.

  • Exponential method: The estimated background value c is subtracted from the original. Is this done in 32-bit floating point numbers, to prevent a positive bias in the background noise?

  • Exponential method: The text says “ The original image is then subtracted by the estimated background value c. The background-subtracted image was then again with the single exponential equation.” Why is the data again fitted again after background subtraction? Am I missing something, or would it just lead to a = a’, b = b’ and c’=0? And if not, why is that?

    When running the plugin the exponential fit is displayed. Are the parameters in this fit plot a, b,  c... or a’, b’,  c'?

  • Exponential method: The author correctly states that bleaching sometimes (more often than not?) follows a double exponential curve, and that “the goodness of fit needs to be evaluated for the proper use of this method.” Unfortunately, the displayed R 2 in the plot is not the same as goodness of fit, and is really not valid for a nonlinear regression. (See for instance Spiess and Neumeyer (2010 1). A real goodness of fit, like Chi 2, involves knowing the uncertainty of the signal. I am not asking for that, but for judging the goodness of fit by eye it would be instructive to also show a residuals plot.

  • Histogram Matching method: This method yields the best results in some cases, as described, but I also observe strange incorrect behavior on some of my (confocal) bleaching time-lapses (with no change in fluorescence localization, background almost zero): sudden steps, not a stable signal. I’m not sure what to make of that, but I suspect that it involves handling of the background, possibly because of integer rounding. Also with this method, I sometimes see the background increase (in steps), though the effect does not seem as severe as choosing a wrong background in the Simple Ratio case.

  • The Histogram Matching method is blazingly fast for 8-bit images, but extremely slow for 16-bit images. The difference at least 1000-fold.

  • The output images are all named DUP_[image name]. Renaming them would be nice, e.g. [image name]_BleachCorrected_[method].

Textual changes:

  • Abstract: We implemented an ImageJ plugin that allows the user to compensate for the photobleaching to estimate the non-bleaching condition with choice of three different algorithms – This sentence seems incorrect. Replace second to by and?

  • Introduction: A conventional method for correcting the bleaching has been done by multiplying the inverse of the ratio of intensity loss compared to a reference image frame – sentence not quite correct. Multiplying by the inverse of the relative intensity loss compared to a reference frame?

  • In the exponential fitting method, it also compensates the loss by multiplying by/with the inverse of the bleach ratio, but…

  • Methods: In the case of the simple ratio and exponential fitting methods, the mean intensity of the 3D stack from each time point was calculated to estimate the bleach ratio. For the histogram matching method, the pixel intensity histogram was generated from the 3D stack at each time point.

  • The histogram matching algorithm modifies pixel intensities…

  • Conclusions: All th ree methods...

Are the conclusions about the tool and its performance adequately supported by the findings presented in the article?

Partly

Is the rationale for developing the new software tool clearly explained?

Yes

Is the description of the software tool technically sound?

Yes

Are sufficient details of the code, methods and analysis (if applicable) provided to allow replication of the software development and its use by others?

Yes

Is sufficient information provided to allow interpretation of the expected output datasets and any results generated using the tool?

Partly

Reviewer Expertise:

BioImage Analysis, Microscopy, Biophysics

I confirm that I have read this submission and believe that I have an appropriate level of expertise to confirm that it is of an acceptable scientific standard, however I have significant reservations, as outlined above.

References

  • 1. : An evaluation of R2 as an inadequate measure for nonlinear models in pharmacological and biochemical research: a Monte Carlo approach. BMC Pharmacol.2010;10: 10.1186/1471-2210-10-6 6 10.1186/1471-2210-10-6 [DOI] [PMC free article] [PubMed] [Google Scholar]
F1000Res. 2021 Feb 16. doi: 10.5256/f1000research.30015.r78013

Reviewer response for version 1

Anna H Klemm 1

The article describes the Fiji plugin Bleach correction, which integrates three methods for correcting intensity loss by bleaching. One of the methods, histogram matching, is introduced and novel for addressing bleaching. All methods are well explained. Methods are compared to each other not only by performance on the given use case but also with other use scenarios in mind. I especially liked that specific biological examples were given (e.g. synthesis of GFP) and how the methods would compare in these scenarios.

It was no problem to test the plugin with the sample data linked in the text and the description.

Structure of the article. Methods and results could be fused, such that the explanation of a method goes directly along with presentation of the correction result on the sample data set. It should be referred to Fig 1 earlier in the text, e.g. Fig 1 top left to illustrate bleaching when introducing it in the very beginning. The chosen structure could be due to guidelines of the publisher and in this case it should be communicated to the publisher.

Other minor suggestions:

Introduction:

  • Include a sentence about ImageJ.

Methods:

  • Simple ratio method:

    We could then estimate the true pixel intensity I ic of ..

    Include the information that the measurement is done per slice.

  • Histogram matching method:

    Since the article has also educational character it could be good to include example cumulative histograms of a frame before and after correction using the histogram matching method.

    We used the histogram of the first frame (per slice?) image H0 (p) as a reference..

Results:

  • The sample image sequence was a time series of three-dimensional stacks of a yeast cell.

  • Simple ratio method:

    Add a brief definition of background to the introduction, and that, due to the different nature of source, it has a different bleaching behavior.

    I liked that the effect of the background intensity value was given much space in the article, including a figure.

  • Exponential fitting method:

    In the sample image, the estimated background intensity was 73. : In the sample image, the background intensity estimated by fitting was 73 (to stress that estimation by fitting is different from the estimation by manually selecting a background region and measuring the intensity within the selection).

    You might want to show the fit together with the curve (as done in the plugin output).

  • Figure 1:

    Specify that it is a stack imaged over time also in the figure legend.

    Instead of a red line use red dots at the center slice to reflect that it is the average value per time point. Dots in the center slice position can also help to visually check whether the z-position was stable over the time of recording.

Are the conclusions about the tool and its performance adequately supported by the findings presented in the article?

Yes

Is the rationale for developing the new software tool clearly explained?

Yes

Is the description of the software tool technically sound?

Yes

Are sufficient details of the code, methods and analysis (if applicable) provided to allow replication of the software development and its use by others?

Yes

Is sufficient information provided to allow interpretation of the expected output datasets and any results generated using the tool?

Yes

Reviewer Expertise:

BioImage Analysis

I confirm that I have read this submission and believe that I have an appropriate level of expertise to confirm that it is of an acceptable scientific standard.

F1000Res. 2021 Feb 9. doi: 10.5256/f1000research.30015.r78014

Reviewer response for version 1

Thomas Pengo 1

The author has addressed a very common issue in fluorescence microscopy experiments and has provided an easy to use tool that is integrated directly into Fiji. The manuscript is easy to read and complete.

I particularly appreciate the effort to provide precise references to the software versions.

It would be nice to have an image illustrating the effects of photo-bleaching and the corresponding compensation algorithms. The author provides plots, but no images.

I have a few minor comments. The page numbers refer to the PDF version, as appear in the first version 1 of the manuscript.

Page 3, col.1 

  • “before or after the experiment”. Unclear, maybe add “imaging experiment”, or simply “imaging” or “image acquisition” or “image data acquisition”. The experiment, without context, is typically larger in scope and includes, for example, sample preparation.

  • “fluorescence loss is estimated and then the none[sic]-bleached condition is restored” is a bit too optimistic. Apart from the typo (non-bleached), I would argue something like “fluorescence loss is estimated and compensated for through image processing” would convey a more accurate assessment.

Page 3, col.2 

  • “none-photobleached” => “non-photobleached”

  • “none-fluorescence” => “non-fluorescing”? or, better, “an empty region”

Page 4, Figure 1. 

The plot was confusing at first glance as it mixes two dimensions in one. I’d suggest using either a 3D surface (t, z vs Intensity) or an average/max projection in z  (t, Intensity mean over z). The latter is probably sufficient even though it hides the Intensity variation in z. 

Page 4, col. 1

There is no mention of the number of bins in the image. This is relevant for the following reason.

 CDF 0 can be inverted only if strictly monotonic (CDF 0(a) < CDF 0(b) i.i.f. a0 -1 will have two possible values c-1 and c. An easy fix would be to add a small constant to H everywhere (e.g. 1) after calculation.

Are the conclusions about the tool and its performance adequately supported by the findings presented in the article?

Yes

Is the rationale for developing the new software tool clearly explained?

Yes

Is the description of the software tool technically sound?

Yes

Are sufficient details of the code, methods and analysis (if applicable) provided to allow replication of the software development and its use by others?

Yes

Is sufficient information provided to allow interpretation of the expected output datasets and any results generated using the tool?

Yes

Reviewer Expertise:

Image processing and analysis

I confirm that I have read this submission and believe that I have an appropriate level of expertise to confirm that it is of an acceptable scientific standard.

F1000Res. 2021 Feb 8. doi: 10.5256/f1000research.30015.r78015

Reviewer response for version 1

Arianne Bercowsky Rama 1

The article presents three different methods for the correction of photo-bleaching as a post-processing step using an ImageJ/Fiji plugin. The mathematical details of how the corrections are done in 3-dimensional time-lapse data are explained. Moreover, an example data-set is provided to show the photo-bleach correction results when implementing each method. Limitations and examples for the three methods are described, guiding the user when to apply them. The three methods are: simple-ratio, exponential fitting and histogram matching. This last one is a novel algorithm introduced in this article.

The software tool described in this article by Kota Miura provides the information needed to understand how the Bleach correction ImageJ/Fiji plugin works. The article is easy to read and offers sufficient details to comprehend the stated methods and its applicability. A few questions were raised while reading the methods section:

  • Exponential fitting method: Once the background subtracted image is fitted a second time with the single exponential equation, you obtain the values a’, b’ and c’. It is not clear why it is then used the estimated value 'c’ since it seems it should be very close to 0.

  • Operation: the author suggests that the RAM should have a capacity twice the size of the file size of the image stack. Is it because the new corrected image will be duplicated? For very large data-sets, can Virtual Stack be used?

  • Simple ratio method and exponential fitting method: In these two methods the background plays an important role in the correction. What happens when the background is non-uniform? Is there a need of a prior step to correct for this in order to use these photo bleach correction methods?

Are the conclusions about the tool and its performance adequately supported by the findings presented in the article?

Yes

Is the rationale for developing the new software tool clearly explained?

Yes

Is the description of the software tool technically sound?

Yes

Are sufficient details of the code, methods and analysis (if applicable) provided to allow replication of the software development and its use by others?

Yes

Is sufficient information provided to allow interpretation of the expected output datasets and any results generated using the tool?

Yes

Reviewer Expertise:

Light Sheet Microscopy, Bio-image analysis

I confirm that I have read this submission and believe that I have an appropriate level of expertise to confirm that it is of an acceptable scientific standard.

F1000Res. 2021 Jan 18. doi: 10.5256/f1000research.30015.r76514

Reviewer response for version 1

Fabrice P Cordelières 1

This paper presents a software tool by Kota Miura aimed at correcting image datasets for the effect of photobleaching. Shaped as an ImageJ/Fiji plugin, it provides three different methods: the first is based on a simple ratio, the second on exponential fitting, the third on histogram matching. The latter method is novel to the field. The author describes both the theoretical approaches on which the tools has been built on, gives characterization details and finally concludes on the application field of each method.

Although the manuscript meets the expectations about what a software paper should be, minor suggestions and questions have been raised when reading the paper.

Improving the reader’s experience:

  • In spite of the full dataset being available through Zenodo, no image is actually presented within the manuscript. A selection of the original and processed images could be presented alongside the graphs, for visual inspection.

  • The conclusion section clearly states the different fields of application/restriction use for each single method. A visual transcript, as a decision tree might help the end-user decide which method to try in her/his first attempts.

About the methods section:

  • Simple ratio: the author makes the reader aware of the caution to be applied when estimating the background, and its impact on the correction when overestimated. It remains unclear to me how the plugin gets this background estimate: is it automatically estimated (if so, how?) or should the user place a region of interest over the image?

  • Exponential fitting: Would it be possible to use background estimate from the exponential fitting method as a starting point to evaluate which value to set when using the simple ratio method? The background estimate is higher than the one used for simple ratio method, but it could be of interest to investigate if a value could be automatically derived from this estimate, if possible/relevant.

About the discussion section:

  • The author discusses the effect of physiological fluctuation of intensity on the efficiency of the correction algorithms, pointing out the simple ratio method as the most appropriate in such situations. Would pre-processing the data with smoothing algorithms such as applying a sliding average algorithm (with proper window size) help?

Are the conclusions about the tool and its performance adequately supported by the findings presented in the article?

Yes

Is the rationale for developing the new software tool clearly explained?

Yes

Is the description of the software tool technically sound?

Yes

Are sufficient details of the code, methods and analysis (if applicable) provided to allow replication of the software development and its use by others?

Yes

Is sufficient information provided to allow interpretation of the expected output datasets and any results generated using the tool?

Yes

Reviewer Expertise:

Bio-image analysis

I confirm that I have read this submission and believe that I have an appropriate level of expertise to confirm that it is of an acceptable scientific standard.

Associated Data

    This section collects any data citations, data availability statements, or supplementary materials included in this article.

    Data Availability Statement

    Underlying data

    For the development of the plugin, the sample time-lapse sequence of fluorescently labeled yeast cells was kindly provided by Boryana Petrova and Christian Häring (Cell Biology and Biophysics Unit, EMBL Heidelberg). These sequences are three-dimensional time-lapse movies, taken with eight optical sections for each time point 14.

    Zenodo: A sample image data for ImageJ Bleach Correction Plugin, http://doi.org/10.5281/zenodo.4060111 15.

    Data are available under the terms of the Creative Commons Attribution 4.0 International license (CC-BY 4.0).


    Articles from F1000Research are provided here courtesy of F1000 Research Ltd

    RESOURCES