PrerequisitesBefore starting this lesson, you should be familiar with:
Learning ObjectivesAfter completing this lesson, learners should be able to:
Understand the correct biophysical interpretation of the most common object intensity measurements
Perform object intensity measurements, including background subtraction
The measurement of intensities in biological images is very common, e.g. to quantify expression levels of certain proteins by means of immuno-histochemistry. However, performing correct intensity measurements is very tricky and there are a lot of pitfalls. It is thus of utmost important to understand very well what one is doing. Without in-depth understanding the chance to publish wrong results based on intensity measurements is rather high.
- mean = average
- sum = total = integrated
- bg = background
mean_corr = mean - bg sum_corr = mean_corr * num_pixels = ( mean - bg ) * num_pixels = sum - ( bg * num_pixels )
meanoften resembles the concentration of a protein
sumoften represents the total expression level of a protein
- For the correct biophysical interpretation you need to know the PSF of your microscope.
- More specifically, you need to know how the 3D extend of the PSF relates to 3D extend of your biological structures of interest. Essentially, you need to exactly know where your microscope system is measuring the intensities.
- It is thus critical whether you used a confocal or a widefield microscope, because widefield microscope have an unbounded PSF along the z-axis.
- Intensity measurements are generally very tricky and most likely the source of many scientific mistakes.
- Please consider consulting a bioimage analysis expert.
- Intensity measurements need a background correction.
- Finding the correct background value can be very difficult and sometimes even impossible and, maybe, the project just cannot be done like this!
- At least, think carefully about whether the mean or sum intensity is the right readout for your biological question.
- If you publish or present something, label your measurement properly, e.g. “Sum Intensity” (just “Intensity” is not enough)!
- Measure intensities (with background subtraction)
- Open image xy_16bit__h2b.tif
- H2B-mCherry staining acquired with a widefield microscope
- Open label mask xy_8bit_labels__h2b.tif
- Using the label mask, measure the mean and max intensities as well as the objects’ pixel area.
- Exports the results as a table (and open in a spreadsheet software)
- Manually measure the mean intensity in the background.
- Add the background measurement as a new column to the table
- Create new columns for background corrected mean, max, and sum intensity.
- Discuss the measurements’ biophysical interpretation
- Optional: Repeat measurements with larger labels
- Open label mask xy_8bit_labels__h2b_dilate_labels.tif
- Appreciate that it is not always clear how large exactly the label regions have to be
- Measure the intensities again, now with the larger label mask
- Discuss which values changed and by how much percent
- Open image xy_16bit__h2b.tif
- Inspect images where intensity quantificaion may not be possible
- Channel 1: Transmission image showing the object location
- Channel 2: Fluorescence image that should be quantified within the object
- Appreciate that the signal to noise is very low (CCD noise) and it is hard to decide which background to subtract.
Show activity for:
- Update site: IJPB-Plugins (MorpholibJ)
- Set binary options: [ Process > Binary > Options.. ]
- iterations=1, count=1, black, do=Nothing
- Open the images mentioned in the activity
- Rename the intensity image: [ Image > Rename… ]: “intensity”
- Rename the label image: [ Image > Rename… ]: “labels”
- Measure object intensities: [ Plugins › MorphoLibJ › Analyze › Intensity Measurements 2D/3D ]
- Manually measure the background intensity
- Change LUT to see the noise in the background: [ Ctrl/Cmd + C ]
- Draw a ROI in the background
- [ Analyze › Set Measurements… ]
- Mean gray value
- [ Analyze › Measure ]
- Open the object intensity measurements table in a spreadsheet software (e.g. Excel or R)
- Add the manual background measurment as a new column
- Add new columns for background corrected sum and mean intensity
ExercisesShow exercise/solution for:
- Open the intensity image xy_8bit__nup.tif.
- The image contains the signal of a single confocal slice of a nuclear pore protein (NUP) on the nuclear membrane.
- Open the binary image xy_8bit_binary__nup.tif
- Generate a label mask image from the binary image
- Measure the both the mean and sum intensity of the NUP for each nucleus
- Don’t forget to measure and take into account the image background
- Think about the biophysical meaning of the mean and sum intensity.
Label Mean NumberOfVoxels BG Mean_corr Sum_corr 1 34.3762 2092 25 9.38 19622 2 31.9296 2343 25 6.93 16236 3 32.4747 1342 25 7.47 10024
- Interpretation of the mean intensity: The label masks seem generally wider than the nuclear envelope, thus an interpreation of the mean intensity as the local NUP density on the membrane is problematic. However, if the width of the label masks is kept constant across the experiment the mean intensity could indeed be a number that is proportional to the NUP density.
- Interpretation of the sum intensity: The sum intensity is very much affected by the size of the measured region. It could be that in this image the nuclei were optically sectioned at different z-positions, cutting a more or less big region out of the nucleus. The sum intensity seem thus not very useful here.
- ImageJ GUI workflow
- Required update sites
- IJPB-Plugins (MorpholibJ)
- [ Image > Rename ] “intensity”
- [ Plugins › MorphoLibJ › Binary Images › Connected Components Labeling ]
- connectivity = 4
- type = [8 bits]
- [ Image > Rename ] “labels”
- [ Plugins > MorpholibJ > Analyze > Intensity Measurements 2D/3D ]
- input = intensity
- labels = labels
- Measure background intensity by drawing an ROI and [ Analyze > Measure ]
- Measure the corrected mean and sum intensity using the formulas given in the main text of this module
- Display the label image on top of the intensity image using an Overlay ([Image > Overlay > Add Image…]).
- Based on this overlay, do you think the quantification of the signal of one of the nuclei may be problematic?
- The label mask for label 3 also includes regions that are probably not part of the nuclear membrane and all intensity measurements may be affected by this.
Fill in the blanks (discuss with your neighbour)
Fill in the blanks, using these words: number of pixels, integrated, mean, decrease, increase, increase, sum, decrease
- Average intensity is just another word for ____ intensity.
- Sum intensity is sometimes also called ____ intensity.
- The ____ intensity is equal to the mean intensity times the ____ in the measured region.
- In an unsigned integer image, increasing the size of the measurement region can only _____ the sum intensity.
- In an unsigned integer image, decreasing the size of the measurement region can ____ or ____ the mean intensity.
- In a floating point image, increasing the size of the measurement region could ____ the sum intensity.
- sum, number of pixels
- decrease, increase
- decrease, increase
Recommended follow-up modules: