The image to the right shows a dendritic shaft, in which all the inner regions are saturated to the maximum value, and the internal structure can no longer be observed. The intensity plot across the red line shows that the values in the dendritic shaft are capped at a plateau, and the original values can not be reconstructed.
Clipping is one of the most frequently occuring imaging acquisition pitfalls. Clipped images can severly hinder deconvolution by causing artifacts and limiting the reliability of the SNR estimation.
Although it is easy to detect clipping in the Huygens software, it can never be restored. The only thing you can do in these situations is to omit clipped regions from the analysis.Clipping is information loss
Detecting clipping using histograms
Clipping causes and prevention
Clipping on the detector
Clipping on the detector can be seen as saturation of the microscope detector. On the detector, the light intensities are detected in an analogue way. The dynamic range is a property of the detector and refers to the minimum and maximum intensities that can be detected simultaneously. To translate this information to an image, the analogue signal is converted to electrical signals by an analogue-to-digital (AD) converter. The AD converter has a bit-depth (usually 8-bit or 12-bit), that describes over how many gray-values the analogue signal is distributed. Clipping occurs when the bit-depth of the AD converter is smaller then the dynamic range.
In microscopes equipped with a CCD sensor the AD conversion is done in the CCD camera and its electronics. Most modern CCD cameras have a 12-bit AD converter limiting the output numbers to a range of 0 to 4095. Clipping occurs when the bit-depth of the AD converter is smaller then the dynamic range. All intensities are crammed into the 0 to 4095 range, losing information from the image.
Another cause of clipping on the detector is the case of negative input values. Depending on the detector, intensities are either be measured as a negative to positive value, or only positive values. When the AD converter turns these values into numbers, errors can occur. Negative input signals are usually converted to 0 while positive input values exceeding some value are all converted to 4095 (clipping), causing loss of information from the image.
To retain all information from the sample, it is important that all intensities can be detected. Therefore, for fluorescence microscopy, a wide dynamic range is needed. It is possible to change how light intensities are amplified on the detector by changing the gain setting. Increasing the gain will decrease the dynamic range. The gain describes the amplification of the signal by the detector, before AD conversion. The gain determines how many photons per pixel it takes to get the maximum intensity in that pixel. By increasing the gain, you decrease the amount of photons it takes for a pixel to be saturated. Thus, by setting a higher gain, low intensities from the sample will give higher values. If the gain is set too high, the pixels on the detector can be oversatured resulting in clipping! To prevent clipping use proper offset and gain settings. Most microscope acquisition software packages have a tool that can help you to determine the most optimal settings. This tool is often referred to as the "Range Indicator" or "Color range indicator".
Clipping during data processing or conversion
Aside from clipping during image acqusition, clipping can also occur during data processing when you store data using a file format with a lower dynamic range without downscaling properly. For example, if you save a 12 bit image in a 8 bit RGB TIFF format directly, all intensities above 255 will be clipped. Therefore, be carefull when converting between different file formats and make sure to always convert to a format that supports the same dynamic range or larger.
Clipping due to conversion between different file formats can be solved with the Huygens software. When the chosen file extension implies fewer bits than those of the image, for example saving a 32 bit image to a 16 bit file, the Huygens software will prompt for a conversion method choice: Contrast stretch, Linked scale or Clipping. Contrary to clipping, Contrast stretch and Linked scale will preserve the information in the image.
Contrast stretch redistributes the range of intensities to fit the amount of bins of the chosen file. The minimum and maximum value of the original are set as the minimum and maximum in the new range. All intensities in between are then scaled to fit between the new minimum and maximum. This is done for each channel individually, thus losing the relative difference in intensity between channels! Linked scale acts the same as contrast stretch, but uses the minimum and maximum from the channel with the lowest or highest intensities. This keeps the relative intensity differences between channels.
Effect of clipping in deconvolution
Clipping negatively affects deconvolution in several ways. If you were using averaging in a scanning microscope, clipping might also have occurred in some of the samples prior to the (digital) averaging. By averaging potential clipping of high signal of individual scans may be masked. This leads to a quenching-like effect and less effective deconvolution. Therefore, it is recommended to use photon counting or accumulation mode over averaging.
Clipped images cause artifacts
Below is a practical example of how clipping can cause artifacts during deconvolution. The restored image was deconvolved, however, due to clipping the deconvolved result cannot be trusted. The deconvolved image looks alright, but in the zoomed sections we see that some of the green rab3D puncta are shown as hollow structures. The hollow appearance is probably just an artifact resulting from deconvolving a clipped region. In these objects and others in the surroundings, the original intensities are clipped (saturated) and therefore deconvolution can not find a realistic solution, specially in a single 2D slice. The mathematical solution for deconvolution of such a flattened feature is a hollow object!
Raw image
Deconvolved image
Clipping hinders SNR estimation
Additionally, clipping affects deconvolution via a more hidden effect. In order to perfrom deconvolution, the Huygens software estimates the Signal-to-Noise-Ratio (SNR) in your image. Information loss due to image clipping severely hinders the quality of the automatic SNR estimation. The SNR is typically determined using the maximum intensity present in the image. In addition, sharp fluctuations in signal intensities are used to determine the noise. In clipped images, these two components of SNR estimation are both hindered. The highest intensity cannot be determined, as the information on the maximum intensity is lost, and the intensity fluctuation data is incomplete, as the highest intensities are missing. Faulty SNR estimates due to clipping cause in lower quality deconcolution results.