How to Perform Colocalization Analysis in ImageJ

Colocalization asks whether two labeled molecules sit in the same places in an image, and Fiji, the free bundled version of ImageJ, has built-in tools that turn that question into numbers.1ImageJ Wiki. Coloc 2 It is really two questions, though: whether the signals appear together, and whether their brightness rises and falls together. No single number answers both.2PubMed. Image co-localization – co-occurrence versus correlation A sound analysis reports a measure of each and checks the result against what random overlap would give.3PubMed. Colocalization analysis in fluorescence microscopy Most errors happen before any button is pressed, in how the images were taken and cleaned.

Prepare Your Images Before Measuring

Check each channel for a wrong offset or high background before you analyze anything.4ImageJ Wiki. Colocalization Analysis If empty areas read as a number above zero, automatic thresholds get confused.4ImageJ Wiki. Colocalization Analysis Offset also matters for the coefficients themselves: Manders’ overlap coefficient rises when the offset is positive, while Pearson is unaffected.5PubMed. Quantifying colocalization by correlation: the Pearson correlation coefficient is superior to the Mander’s overlap coefficient Subtract background consistently in both channels.

In Fiji, you can measure the mean of a cell-free area and subtract it, or use Process > Subtract Background. Apply the same method to both channels, then check the histogram afterward so true empty pixels sit near zero.

Acquisition settings can ruin colocalization before you ever open Fiji. Saturated pixels clip brightness and flatten real intensity differences, so lower the gain until none are maxed out. Use identical settings for every sample you plan to compare. Image single-stained controls too, because they reveal bleed-through of one dye into the other channel. And never analyze compressed JPEGs or contrast-adjusted figure images; go back to the raw files.

Optics can create false overlap or hide real overlap. Deconvolution and chromatic aberration correction strongly affect colocalization results.6PubMed. Deconvolution and chromatic aberration corrections in quantifying colocalization of a transcription factor in three-dimensional cellular space Lenses focus blue and red light slightly differently, which shifts one channel against the other. This matters most when signals are faint or in blue and red channels.6PubMed. Deconvolution and chromatic aberration corrections in quantifying colocalization of a transcription factor in three-dimensional cellular space

Before trusting any overlap, merge the two channels and look at a small bright object that appears in both, such as a fluorescent bead or a sharp structure. If the two colors sit side by side rather than on top of each other, the channels are shifted and the coefficients will understate real overlap. A consistent shift across the whole field usually points to the microscope’s optics or camera alignment, not biology. Imaging multicolor beads on the same setup shows how big the shift is, so you can correct it or at least report it. In Fiji you can measure the shift on beads and apply the same translation to every image from that session, rather than nudging each one by eye.

Both channels must also come from the same field, the same focal plane, and the same moment. If the sample drifted or the channels were captured in separate, unaligned runs, you are comparing two different pictures. With sequential scanning on a confocal, check that the cell did not move and the focus did not drift between scans, particularly in live samples.

Running Coloc 2 Step by Step

Coloc 2 is Fiji’s built-in colocalization plugin.1ImageJ Wiki. Coloc 2 It calculates Pearson, Manders, Costes, Li’s measures and more, with scatterplots, automatic thresholding, and significance testing.1ImageJ Wiki. Coloc 2 All of its measures work pixel by pixel, however, and do not recognize individual objects.7PubMed Central. Fluorescence colocalization microscopy analysis can be improved by combining object‐recognition with pixel‐intensity‐correlation

Restricting the analysis to cells matters. Adding a second population of unrelated pixels can substantially raise measured correlation,5PubMed. Quantifying colocalization by correlation: the Pearson correlation coefficient is superior to the Mander’s overlap coefficient so large background areas can inflate your result. Before running, draw a region of interest (ROI), an outline around the cells or area you care about.

The workflow goes like this. Split a multichannel file with Image > Color > Split Channels. Draw the ROI on one channel and keep it selected or saved in the ROI Manager. Open Analyze > Colocalization > Coloc 2 and choose channel 1, channel 2, and the ROI or mask. Enter the PSF size in pixels, roughly the blur width of your objective. Set the Costes randomizations, commonly 10 to 100, then press OK.

The PSF entry sets the block size used in the randomization test, so it should reflect the real blur of your images, not a default. Estimate it from the objective’s resolution or from measured beads, and convert it to pixels using your image’s pixel size. If you cannot measure it, state in the methods how you estimated it, so a reader can judge the test.

A good ROI follows the cell outline or the compartment of interest, such as the cytoplasm. Excluding the nucleus makes sense if one protein is never there and you only care about the cytoplasm, but say so in the methods. Use the same ROI approach across all images and conditions, because changing it from image to image changes the numbers for reasons unrelated to biology.

The output includes a PDF report that lists each coefficient with and without threshold. The 2D intensity histogram shows a diagonal streak when signals rise together, while two separate arms along the axes mean the signals are mostly separate. Save the report with your image so results are traceable.

If Coloc 2 will not run, it needs two single-channel images of the same size and bit depth. An empty image dropdown or a missing channel usually means the file is still a composite and needs splitting first. If the ROI is not recognized, make sure it is drawn on or saved for the image you chose, or use a mask image instead. If a result looks implausible, such as a Pearson close to 1 in images that visibly differ, check that you did not select the same channel twice.

Pearson Versus Manders and What the Values Mean

Co-occurrence is how much the two molecules appear together; correlation is how well their amounts vary together.8KOLAIDO. Colocalization Microscopy and Analysis Basics Manders measures co-occurrence and Pearson measures correlation.3PubMed. Colocalization analysis in fluorescence microscopy Neither is always better,2PubMed. Image co-localization – co-occurrence versus correlation so report both whenever possible.3PubMed. Colocalization analysis in fluorescence microscopy

Pearson’s correlation coefficient compares each pixel’s brightness to the channel’s average and runs from -1 to +1. It is unaffected by offset and by gain.5PubMed. Quantifying colocalization by correlation: the Pearson correlation coefficient is superior to the Mander’s overlap coefficient Calculated over whole images, though, it can overestimate positive correlation and miss negative correlation.9PubMed. Colocalization analysis in fluorescence micrographs: verification of a more accurate calculation of pearson’s correlation coefficient A thresholded Pearson, using only pixels above threshold in both channels, gives more accurate values.9PubMed. Colocalization analysis in fluorescence micrographs: verification of a more accurate calculation of pearson’s correlation coefficient Pearson is also generally preferred over Manders’ single overlap coefficient, which barely responds across a wide range of correlations.5PubMed. Quantifying colocalization by correlation: the Pearson correlation coefficient is superior to the Mander’s overlap coefficient

Manders’ coefficients (M1, M2) give, for each channel, the fraction of its signal sitting in pixels where the other channel is above threshold.4ImageJ Wiki. Colocalization Analysis Values run from 0, no colocalization, to 1, perfect colocalization.4ImageJ Wiki. Colocalization Analysis M1 and M2 can differ, for example when a small protein pool sits entirely within a larger one. If M1 is high and M2 is low, most of protein A is found with protein B, but B also has large pools elsewhere. A very high value for both usually means the signals occupy nearly the same structures, but rule out bleed-through before concluding it.

Coloc 2 reports other measures too:

  • Spearman and Kendall’s tau are rank-based correlations.4ImageJ Wiki. Colocalization Analysis
  • Li’s ICQ runs from -0.5 to +0.5: near 0 means random, negative means segregated, positive means dependent staining.10imagej.net. Colocalisation analysis

Thresholded versions matter in practice. In an image where much of the field is empty, dim background pixels in both channels agree with each other and push the unthresholded numbers up, which looks like colocalization but is mostly shared emptiness. Thresholding restricts the calculation to pixels that actually contain signal, so the result reflects the labeled structures. Always say how the threshold was set, because two different thresholds on the same image can give different Manders values.

A few interpretation mistakes are common. A Pearson of 0.5 is not 50% overlap; only Manders gives a fraction. There is no universal cutoff for “colocalized,” so compare against controls and conditions. Changes between treatments are often more meaningful than one absolute value.

Proving the Overlap Is Not Chance

Co-occurrence results should be compared with random distributions.3PubMed. Colocalization analysis in fluorescence microscopy The Costes threshold finds, from the channels themselves, the intensity below which pixels show no correlation.11PubMed Central. Automatic and Quantitative Measurement of Protein-Protein Colocalization in Live Cells Manders then uses that cutoff instead of a hand-picked one.12CASRAI. Colocalization Analysis in Fiji: Coloc2 & Costes This approach distinguished random overlap from real co-compartmentalization or interaction in live cells.11PubMed Central. Automatic and Quantitative Measurement of Protein-Protein Colocalization in Live Cells

The Costes randomization test comes next. Coloc 2 scrambles the image in blocks about the size of the PSF and recalculates many times,12CASRAI. Colocalization Analysis in Fiji: Coloc2 & Costes so your real result is compared with what chance overlap produces.12CASRAI. Colocalization Analysis in Fiji: Coloc2 & Costes Here the blur-size entry from the setup matters: a wrong block size can distort the test.

The P-value reads as follows. A value near 1 means your result beats nearly all scrambled versions. Values below about 0.95 suggest overlap could be chance. Too few randomizations give a coarse, unreliable value, so report the number you used, since a different count can shift the P-value slightly. Run the test inside your ROI, not the whole frame, so empty background does not make random overlap look better than it is.

A passing test says the overlap is more than expected by chance given the signal distributions. It does not prove the two proteins interact, only that they are found together more than random. A failing test on an image with visibly overlapping signals often means the structures are so abundant or large that chance overlap is already high. Treat the test as one line of support alongside controls and, if possible, a functional experiment.

Van Steensel’s method offers another check. It shifts one channel over the other and plots how Pearson changes.13Scientific Volume Imaging. ColocalizationCoefficientsInBrief A peak at center means correlated, a dip means mutual exclusion, and a flat line means random overlap.13Scientific Volume Imaging. ColocalizationCoefficientsInBrief A Fiji cross-correlation plugin also estimates the average distance between associated particles.14ImageJ Wiki. Colocalization by Cross Correlation

Using JACoP and Object-Based Analysis

JACoP is an ImageJ toolbox combining global statistics with an object-based approach.15Wiley Online Library / Journal of Microscopy. A guided tour into subcellular colocalization analysis in light microscopy It is widely used to compute Manders’ coefficients between channel pairs,16Bio-protocol. Colocalization Analysis for Cryosectioned and Immunostained Tissue Samples with or without Label Retention Expansion Microscopy (LR-ExM) by JACoP and the BIOP version can be automated for batches of confocal stacks.17PubMed Central. Development of a Novel Automated Workflow in Fiji ImageJ for Batch Analysis of Confocal Imaging Data to Quantify Protein Colocalization Using Manders Coefficient

To use it, open the two channels in Fiji, start JACoP from the Plugins menu, and select each channel as image A and image B. Set the thresholds for each channel in the plugin, or use automatic thresholds, and apply the same settings to every image you compare. Run the Pearson and Manders calculations, and the object-based analysis if you have spots, then record the settings with the output.

Objects matter because whole-image Pearson without identifying objects gave a misleadingly high value of about 0.64 in tissue stains.18PubMed Central. Novel approach for accurate tissue-based protein colocalization and proximity microscopy Combining object recognition with pixel correlation can improve accuracy.7PubMed Central. Fluorescence colocalization microscopy analysis can be improved by combining object‐recognition with pixel‐intensity‐correlation

Diffuse staining suits pixel measures. Discrete spots like vesicles suit counting overlapping objects, and object methods report the percent of spots overlapping, which is easy to explain. The catch is that segmentation quality then controls the result.

Object methods first decide what is a particle, usually by thresholding and then separating touching spots. Overlay the detected outlines on the raw image and check that they match what you see by eye. Merged spots count as one object, so crowded fields can undercount, while noise can create false objects. Choose a size filter that excludes specks well below the size of the structure you study.

Analyzing 3D Stacks and Many Cells

Cells exist in three dimensions, so perform 3D colocalization whenever possible.4ImageJ Wiki. Colocalization Analysis Two signals overlapping in a flat image may sit at different depths. In live cells, 3D over time is possible.4ImageJ Wiki. Colocalization Analysis ColocZStats in 3D Slicer offers ROI and threshold-based 3D metrics with spreadsheet reports.19PubMed Central. ColocZStats: a z-stack signal colocalization extension tool for 3D slicer

Stacks need care. Make sure the z-spacing is similar to or finer than the axial resolution, otherwise 3D numbers are based on coarse slices and may miss overlap. Check that both channels cover the same depth range and that the stack is not shifting laterally between slices. If you cannot do a full 3D analysis, analyze a few representative optical sections and state that they are single planes, not whole cells.

For per-cell data, EzColocalization is built for users with little programming experience.20PubMed Central. EzColocalization: An ImageJ plugin for visualizing and measuring colocalization in cells and organisms It selects individual cells, filters them, maps patterns, and gives per-cell tables.20PubMed Central. EzColocalization: An ImageJ plugin for visualizing and measuring colocalization in cells and organisms It suits low signal and mixed cell populations.20PubMed Central. EzColocalization: An ImageJ plugin for visualizing and measuring colocalization in cells and organisms Machine-learning segmentation such as Trainable Weka can define cells or structures automatically.21Nature / PubMed Central. Lusca: FIJI (ImageJ) based tool for automated morphological analysis of cellular and subcellular structures

For batches, record a macro of one analysis and run it over a folder. Keep identical thresholds or use the Costes threshold consistently, and export results to a spreadsheet per image. Spot-check a few outputs by eye.

What to Report With Your Results

Colocalization is often claimed from merged images without quantification.22PubMed Central. A practical guide to evaluating colocalization in biological microscopy Free tools make quantifying straightforward,22PubMed Central. A practical guide to evaluating colocalization in biological microscopy so back any overlay claim with numbers.

A useful checklist covers:

  • Plugin name and version, plus PSF and randomization settings
  • Background method and ROI definition
  • Pearson and thresholded M1 and M2 with the Costes P-value
  • Number of cells and experiments, with variation shown
  • Controls such as single stains or shifted channels

Write the methods so someone else could repeat the analysis. Describe the steps in the order you did them: acquisition settings, background handling, ROI selection, then the plugin and settings used. Include the software version for Fiji and the plugin, since defaults can change between versions. Say which images were excluded and why, so readers can see that choices were not made to improve the result.