Bleaching correction

Apply bleaching correction to a specified image.

Description

Apply bleaching correction to a specified image. This adjusts intensities in all frames (after the first) to match the histogram distribution of the first frame. It is intended to account for any fluorophore bleaching that occurs during acquisition of a timecourse.

This macro runs the Fiji bleaching correction plugin, "Bleach Correction".

Parameters

ParameterDescription
Input imageImage from workspace to apply bleaching correction process to.
Apply to input imageWhen selected, the post-operation image will overwrite the input image in the workspace. Otherwise, the image will be saved to the workspace with the name specified by the "Output image" parameter.
Output imageIf "Apply to input image" is not selected, the post-operation image will be saved to the workspace with this name.
Correction modeControls the bleach correction algorithm to use:
  • "Exponential fit" Assumes the bleaching process is controlled by a mono-exponential decay. Will fail if the signal does not decay over time. Calculation can be performed using a single ROI for all frames.
  • "Histogram matching" Adjusts image intensities so that the histograms match that from the first frame.
  • "Simple ratio" Normalises images to have the same mean intensity. Calculation can be performed using a single ROI for all frames.
Use ROI objectsWhen selected, the bleaching and associated intensity correction will be calculated based on the pixels within a region of interest (specified as the objects of collection "ROI objects"). A single ROI is used for all frames (i.e. the region can't be different from frame to frame).
ROI objectsIf "Use ROI objects" is selected, this is the object collection which will act as the region of interest for calculating the bleaching. Since only a single ROI can be used, all objects in this collection are reduced down into a single frame and timepoint.