Graphical abstract
Keywords: Optical tissue clearing, Spheroid, Light-sheet microscopy, Focus metrics
Abstract
3D multicellular spheroids quickly emerged as in vitro models because they represent the in vivo tumor environment better than standard 2D cell cultures. However, with current microscopy technologies, it is difficult to visualize individual cells in the deeper layers of 3D samples mainly because of limited light penetration and scattering. To overcome this problem several optical clearing methods have been proposed but defining the most appropriate clearing approach is an open issue due to the lack of a gold standard metric. Here, we propose a guideline for 3D light microscopy imaging to achieve single-cell resolution. The guideline includes a validation experiment focusing on five optical clearing protocols. We review and compare seven quality metrics which quantitatively characterize the imaging quality of spheroids. As a test environment, we have created and shared a large 3D dataset including approximately hundred fluorescently stained and optically cleared spheroids. Based on the results we introduce the use of a novel quality metric as a promising method to serve as a gold standard, applicable to compare optical clearing protocols, and decide on the most suitable one for a particular experiment.
1. Introduction
Two dimensional (2D) monolayer cell cultures have been used extensively as model systems to evaluate the efficacy of compounds in drug discovery studies for decades. However, it has been demonstrated that culturing cells in 2D does not properly reflect the physiological properties of tissues and tumor-specific microenvironments [1]. As an attempt to find a more relevant model system for drug testing, three dimensional (3D) cell cultures have gained increasing attention [2]. Several 3D in vitro models are currently used in biological laboratories [3], the most common of which are spheroids where the cells are arranged into clusters in a sphere-like structure [4]. Spheroids mimic in vivo conditions and preserve the structure of the cells, making this model system remarkable for many biological research fields, such as drug discovery, tumor biology or immunotherapy [5], [6], [7]. Despite their advantages exploited in screening studies, large-scale image acquisition is still challenging in case of 3D samples. Single-cell phenotyping is one of the most promising drug screening approaches emerging nowadays [8], [9]. It is one of the most relevant techniques to monitor the morphological changes induced by pharmacological treatments in drug screening studies, allowing to understand the effects of the compounds tested. Light sheet-based fluorescence microscopy (LSFM) is widely used to visualize single cells composing the inner core of the spheroids [10]. LSFM obtains optical sections by moving the sample through a thin layer of laser light, also called a light sheet, which illuminates the focal plane of the detection path. Since LSFM provides high imaging speed with remarkably low photobleaching and high penetration depth [11], the technique is well suited for the imaging of large spheroids, typically up to 500 µm [12].
However, in spheroids, light scattering strongly limits imaging depth: scattering of both the excitation and emission lights results in a loss of fluorescence intensity and contrast. As a consequence, the imaging depth is restricted, practically allowing the screening of cells in the outer layer of the spheroids only. This light scattering effect is mainly explained by the discontinuities of the refractive index (RI) between and within spheroids [13]. To overcome this problem, many optical clearing protocols were established during the last decade [14]. Most of these methods aim to increase transparency of spheroids chemically, by equilibrating RI throughout the sample to reduce inhomogeneities in light scattering. To achieve this, various approaches have emerged, such as dehydration, solvent- and water-based techniques [13]. Although clearing protocols have been increasingly adopted for 3D cultures in cellular phenotyping assays [15], [16], the quantitative assessment of the efficiency of these methods is still challenging. Most of the studies focusing on newly developed clearing protocols used diverse qualitative and quantitative efficacy measures to assess the performance of the newly established clearing technique. However, due to the subjective aspects of human perception and the lack of gold standard metrics, many optical clearing protocols are available and used without a proper evaluation of their efficacy.
In this article, we report on developing and comparing novel metrics that measure the efficiency of optical clearing protocols for 3D images in an uniform way. We considered seven no-reference sharpness metrics for evaluating the clearing protocols and implemented those in a user-friendly open-source ImageJ/Fiji [17], [18] plugin named Spheroid Quality Measurement (SQM). To test their performance and usability, we created and shared a large 3D dataset [19] composed by 90 cancer spheroids and established a 3D analysis pipeline using five popular water-based clearing protocols, namely ClearT [20] ClearT2 [20] CUBIC [19], [21], ScaleA2 [22] and Sucrose [19], [23]. We used the human experts’ evaluation of the 3D dataset as the ground truth and compared the correlation between the metrics and the human experts. We found that among the seven metrics, only intensity variance is suitable to quantitatively measure and evaluate different optical clearing protocols. Finally, we compared the efficiency of the clearing protocols on spheroids derived from three different human carcinoma cell lines with intensity variance metric and identified the best clearing protocols for each cell line. Based on these findings we support intensity variance as the gold standard metric to evaluate the efficacy of optical clearing protocols on 3D multicellular spheroids.
2. Results
2.1. 3D pipeline
To evaluate the quality assessment metrics, we designed a 3D pipeline (Fig. 1). The seven metrics we consider here are commonly used to benchmark image sharpness in photos and videos, however, they characterize different aspects of the images. In order to validate these metrics, we first created a 3D dataset of cleared mono-culture spheroids (Fig. 2). All details are reported in [19]. Then, we asked ten microscopy experts (researchers that have been working with spheroid images and possess at least 5 years of experience in microscopy) to visually evaluate the sharpness of the images and we correlated their evaluations with the results of the seven metrics. Finally, to measure the efficacy of the clearing protocols, we used the metric that best correlated with the evaluation of the experts. In this article we report on our findings, organized as follows: Section 2.2 (i.e. “Human evaluation”) summarizes the results of the human evaluation of the 3D dataset. In Section 2.3 (i.e. “Quantitative metrics”) we discuss the results for image quality assessment using the seven objective no-reference sharpness metrics that we implemented as an ImageJ/Fiji plugin. The correlation between the quality metrics and human evaluation, as well as the performance of the 5 optical clearing protocols tested are presented in Section 2.4 (i.e. “Correlation and clearing results”).
2.2. Human evaluation
For a quantitative testing of the proposed metrics, a 3D light-sheet dataset of spheroids was used [19]. The dataset contained fluorescence stack images of 90 spheroids that included three cell lines (T-47D, 5-8F, and Huh-7D12), five clearing protocols (ClearT, ClearT2, CUBIC, ScaleA2, and Sucrose), and an uncleared group as a control (the number of spheroids was n = 5 for each group). Ten microscopy experts scored the LSFM images of the spheroids cleared with the optical clearing methods. The scores ranged from 1 to 5 (1 for the worst image quality and 5 for the sharpest image). To assess the consistency of each expert’s evaluation, some of the images were repeated. On average, the self-accuracy of the ten experts reached 81.6% for the evaluation of repeated images. The best-case consistency was 92.1% and the worst-case one was 74.5%, and only four of the experts recognized the repeated images during the evaluation process. In general, the experts were more uncertain in case of the highest scores (i.e. “good” – 4 or “very good” – 5) were considered to be appropriate. Therefore, the scores for the T-47D and the 5-8F spheroids were less consistent compared to the Huh-7D12 spheroid. According to the experts, they could differentiate between the top, the middle and the bottom regions of the spheroids. The average results for the evaluation executed by the ten experts are represented on a heatmap (Fig. S1A). In general, the experts scored the T-47D spheroids higher, followed by the 5-8F spheroids, whereas the Huh-7D12 spheroids were characterized by the lowest scores. Comparing the optical clearing protocols, the results for ClearT and ClearT2 were similar to the uncleared group, as the experts could hardly differentiate them from one another, however both of these clearing protocols decreased the size of the spheroids. Meanwhile, CUBIC, ScaleA2, and Sucrose protocols got higher scores for all the three regions of the spheroids, indicating that these optical clearings improved the transparency of the spheroids. We concluded that Sucrose was the only protocol that improved the image quality even at the bottom region for the Huh-7D12 spheroids, while the 5-8F and the T-47D spheroids had better scores when CUBIC and ScaleA2 protocols were applied. Both of these protocols reached very similar scores upon the experts’ evaluation, as no significant differences between these images could be detected by the human experts. Among the mentioned clearing protocols Sucrose resulted in minimal shrinkage, meanwhile CUBIC and ScaleA2 increased the volume of the spheroids. Regarding that currently there is no gold standard metric capable of assessing the differences between the different protocols, we considered the results for the experts’ evaluation as ground truth to compare the metrics for their appropriateness to quantify the performance of the clearing protocols tested.
2.3. Quantitative metrics
We implemented seven metrics in a user-friendly ImageJ/Fiji plugin to assess the quality of microscopy images, namely intensity variance, Laplacian variance, gradient magnitude variance, histogram threshold, histogram entropy, kurtosis, and frequency threshold [24], [25], [26], [27], [28], and benchmarked them on 3D datasets. The metrics were applied on each optical section of the whole z-stacks independently, and the results were visualized. For histogram, gradient, and intensity based metrics, we enabled the threshold option to obtain information from the area of the spheroid. To handle the sharpness and contrast differences between the outer and inner layers of the spheroids, caused by the lateral light scattering effect, an internal circle option was also enabled which evaluates images inside the spheroids only. A schematic representation of the metrics is shown in Fig. 3, and an extended comparison of them is presented in Table 1. Detailed results for all the metrics evaluated on the Huh-7D12 cell line are shown in Fig. S2.
Table 1.
Metric name | Value(s) used | Calculation of the metric | High value obtained | Low value obtained | Advantages | Drawbacks | Computational time (average) |
---|---|---|---|---|---|---|---|
Intensity variance | Grayscale pixel values | Variance of intensity values | There are many different intensities in the image which are far away from one another in brightness | There is just one intensity value in the image | General usability, strongly associated with image sharpness, fast | Needs fine-tuning in specific cases | 0.82 s/image |
Gradient magnitude variance | Magnitude of the partial image derivative vectors | Variance of gradient magnitudes | There are many edges in the image with various magnitude values | There are no edges in the image, the image is homogeneous | Strongly associated with image sharpness, widely used in autofocus detection, fast | Very sensitive to noise, yields high values for blurred images with very sharp regions | 0.86 s/image |
Laplacian variance | Second order image derivative values | Variance of the sum of second order derivatives | There are many edges in the image with various sharpness | There are no edges in the image, the image is homogeneous | Strongly associated with image sharpness, widely used in autofocus detection, fast | Noise sensitive, edges are not always indicative of image quality | 0.92 s/image |
Histogram thresholding | Image histogram values | Sum of histogram bin values above a predefined threshold (mean grayscale value), multiplied by their occurrence values | There are a lot of bright pixels in the image (theoretically when every pixel has the brightest value) | The pixels in the image have low brightness (theoretically when every pixel has 0 value) | Easy to calculate, fast | Applicable for image quality assessment in very specific cases only | 0.88 s/image |
Histogram entropy | Image histogram values | Shannon entropy of the histogram as a vector of the occurrence values | Every histogram bin has the same value | Only 1 histogram bin has all the values | Strong theoretical background, used for image quality assessment, fast | Not closely related to image sharpness, histogram information might be misleading | 0.94 s/image |
Frequency thresholding | FFT magnitude image intensities | Sum of the intensities in the FFT image with a high-pass filter | Image contains a lot of high frequency components (edges, sharp noise) | Image is mostly made of low frequency components (homogeneous objects) | Edges can be detected very effectively in the FFT image, which is closely related to sharpness | Noise sensitive, threshold value is important | 0.35 s/image |
Kurtosis | FFT magnitude image of the autocorrelation image | Kurtosis of the periodogram as a bivariate probability distribution | There are less high frequency components on the FFT of the autocorrelation image | There are more high frequency components on the FFT of the autocorrelation image | Theory suits well to sharpness assessment | Very slow, less intuitive than some other metrics | 2.78 s/image |
2.3.1. Intensity variance
Intensity variance clearly differentiated the uncleared group from those that were cleared. The plot reaches the maximum variance in the top region of the spheroid, and constantly decreases towards the deeper layers. Higher steepness of the plot indicates that visibility inside the spheroid is limited. In general, the uncleared spheroids lost intensity variance from top to the center, mainly in the first outer third, while the cleared and more transparent spheroids retained higher values through their whole thickness (Fig. 3 and Fig. S2). The results for the internal circle yielded plots of similar shape, but separated the cleared spheroids better. This metric is one of the most basic methods, and it is a relatively fast approach for assessing image quality.
2.3.2. Derivative based metrics
Gradient magnitude variance and Laplacian variance metrics are also pixel based. Metrics that use image derivatives require pixel operations in order to yield a transformed image on which the final assessments are executed. These derivative metrics provided plots similar to those yielded by the intensity variance method. Based on the evaluation of the whole spheroid, no differences between these metrics were detected, however, the results for internal circle assessment separated the uncleared and cleared groups, and changed the order of the clearing protocols (Fig. 3 and Fig. S2). These findings suggest that the internal circle option is suitable to compare the optical clearing protocols.
2.3.3. Histogram based metrics
The histogram of a digital image shows the frequency of pixel intensities. Here we used two of the most popular histogram based methods for quality assessment, called histogram entropy and histogram thresholding. Analysing the entire spheroids, histogram threshold reached the maximum values at the middle and it separated clearing groups from each other (Fig. S2). While, histogram entropy metric yielded consistent plots and the differences between the clearing groups were hardly visible. Based on the evaluation of the internal circle, the difference between the uncleared and cleared spheroids were remarkable when using histogram thresholding metric, while histogram entropy plots showed the same consistent values across the spheroids. However, the assessment of the internal circle increased the differences and some of the cleared groups were separated from the uncleared group.
2.3.4. Frequency based metrics
To investigate the frequency space, frequency threshold and kurtosis were implemented in SQM and were evaluated on the whole image, without internal circle option. Frequency threshold metric failed to visualize the differences between the cleared and uncleared spheroids. Overall, frequency threshold yielded consistent plots, and the different optical clearing protocols were characterized by similar curves (Fig. 3 and Fig. S2). On the other hand, the kurtosis metric distinguished the cleared groups from one another, and the shapes of the curves were similar to those yielded by the intensity and derivative based metrics. This finding suggests that the frequency space can provide additional information about the images. However, performing all the necessary calculations to get the bivariate kurtosis proved to be highly time consuming compared to the other metrics, and this drawback makes kurtosis less suitable for routine assessments.
2.4. Correlation and clearing results
2.8.1. Results of the metrics
According to the experts’ evaluation, the Uncleared, ClearT and ClearT2 image groups were characterized by lower scores, while CUBIC, ScaleA2, and Sucrose got higher scores (Fig. S1A). Accordingly, we expected a gap between the well-performing and worse performing clearing protocols. Frequency threshold metric was unable to differentiate between the clearing protocols (Fig. S2). Kurtosis metric, which can be calculated for the whole image only, yielded results similar to those obtained by intensity and edge based metrics, however, the slow processing time make this metric less effective. Histogram threshold metric distinguished between the optical clearing protocols, but the results did not match the ground truth: the ScaleA2 and the CUBIC protocols did not improve transparency compared to the uncleared group, which is in contrast to the results for the experts’ evaluation. We also measured the histogram threshold metric in the internal circle of the spheroids, where it showed greater differences between the cleared and uncleared groups, but the overall rank of the clearings was the same as for the whole spheroid. On the other hand, the histogram entropy metric, besides revealing differences among the clearing protocols, also matched the ground truth’s order of the protocols. Furthermore, the assessment of the internal circle separated the clearing groups revealing greater differences between the protocols. Intensity variance, gradient magnitude variance, and Laplacian variance metrics yielded plots with very similar shape and almost the same order of the clearing protocols. Furthermore, intensity variance metric yielded similar results for the whole spheroids and for the internal circle of the spheroids. Meanwhile, gradient magnitude and Laplacian metrics revealed greater differences between the clearings, based on the internal circle assessments. Histogram entropy, histogram threshold, and frequency threshold methods yielded different line charts. Besides from the different line charts, all the metrics were reckoned to be worthy of further investigation to compare their correlation with the experts’ evaluation.
2.8.2. Correlation
To check if there is a quantitative metric able to reflect the experts’ evaluation, the Pearson’s correlation coefficient was computed between each metric and the ground truth by normalizing the results for all the spheroids. Here, we only discuss the intensity variance metric that showed the highest correlation with the experts either when applied to the whole spheroid or to the internal circle only. This makes it an optimal candidate to assess quality differences. Considerations for the other metrics are reported in Supp. Note 1, with a detailed version of all the correlations and the individual normalization depicted in Fig. S3.
The Pearson’s correlation coefficient for intensity variance resulted in 0.67 (Fig. 4A). The internal circle option improved the overall match with the experts’ evaluation and showed a higher correlation (0.80, Fig. 4A and E). The correlation between intensity variance and the experts’ scores was highest at the bottom regions of the spheroids and decreased at the middle and top regions. The Pearson’s correlation coefficient for the top, the middle, and the bottom regions were 0.46, 0.84, and 0.92 (Fig. 4B-D). Better image quality (like at the top region of the spheroids) and higher transparency of the spheroids weakened the correlations. This result might be contradictory, but it can be explained by the fact that the human decisions were less consistent with images of better quality because the experts found it difficult to decide the optimal score for them. In general, intensity variance metric showed the strongest correlation with the human scores in cases when the experts well distinguished the groups from one another (like at the bottom regions), independently of the type of the spheroids. Moreover, a stronger correlation between intensity variance and the experts’ scores was revealed for the Huh-7D12 spheroids compared to the T-47D and 5-8F spheroids. We reckon that the fairly good overall 0.80 Pearson’s coefficient for the correlation between intensity variance metric and the experts’ scores, indicates that intensity variance might be reliably used for the quality assessment of optical clearing protocols.
2.8.3. Clearing efficacy based on the intensity variance metric (based on internal circle assessment)
The correlation analysis confirmed that intensity variance metric yielded the highest scores both for the whole spheroid and for the internal circle assessments. Thus, in our further experiments we used this metric to visualize the spheroids treated by the five optical clearing protocols tested. Our primary aim was to find the best optical clearing protocol which is capable of clearing all the three types of spheroids in an appropriate manner. The metrics do not require a similar efficacy between the protocols to be compared. However, comparing clearing methods with a similar efficacy it is easier. Regarding the methodology, it must be emphasized that the comparison of different clearing protocols presumes that every single protocol is applied on all different spheroid types, one by one, and the cleared spheroids are analyzed by the chosen metric to reveal how each protocol performs on the different cell lines (Fig. 5A). In contrast, when different clearing protocols are applied in parallel on a well-defined spheroid type, the results can only show the best protocol for the cell line of interest, but this type of experiment is inappropriate for the evaluation of the relative efficacy of the different clearing protocols on various spheroid types (Fig. 5B). This methodological issue is explained by the fact that different normalization scales are used for the assessment of each sample type (Fig. 5 and Fig. S4). All three types of spheroids were treated with each clearing protocol, and were analyzed using intensity variance metric, separated to top, middle and bottom regions. Using intensity variance, the T-47D spheroid reached the highest scores, followed by 5-8F and Huh-7D12, which confirmed the transparency differences among the spheroids derived from various cell lines. In all cases, the top and the middle regions of the spheroids reached higher scores than the bottom, which also confirms the presence of vertical light scattering. The results for internal circle assessments differed from the results related to the whole spheroid. Regarding the efficacy of the optical clearing protocols, the analysis revealed that Sucrose increased transparency for all the spheroids (Fig. 5A), but the total score for the three spheroid types were not similar in all the regions. The efficacy of the clearing protocols revealed that ScaleA2 and CUBIC clearing protocols were successful on certain cell lines only, but not on all the three types of spheroids (Fig. 5B). When the cleared groups were compared to the control group, we noticed that ClearT and ClearT2 increased transparency especially at the top region of the spheroids. Although they both slightly improved the scores, the results did not differ significantly from the scoring of the uncleared spheroids (Fig. 5A and B). In case of the T-47D spheroids, CUBIC, ScaleA2, and Sucrose protocols improved transparency significantly, but the differences among these groups were minimal. In case of the 5-8F spheroids, ScaleA2 protocol significantly improved image quality, yielding high quality images with low background signals. For the Huh-7D12 spheroids, Sucrose reached the highest scores (Fig. 5B). In general, the scores for the whole spheroid assessments were higher than those for the internal circle assessments, because the outer parts of the spheroids improved the values (Fig. S4). Due to the lateral illumination by the light-sheet microscope, the higher contrast of the nuclei at the outer shell reduced the accuracy of the comparison, leading to modified overall results. Based on the whole spheroid assessments, all clearing protocols improved the overall scores for each cell line. The differences among CUBIC, ScaleA2 and Sucrose clearing protocols decreased, but the order of the protocols slightly changed in case of the 5-8F and Huh-7D12 spheroids (Fig. S4B).
3. Discussion
Regarding microscopy image analysis of 3D in vitro models, the quality of the acquired images depends on the size, shape and incubation time and cell line composing the 3D model. These features and conditions often lead to inconsistency in the acquired images’ quality. The efficacy of optical clearing protocols applied to enhance image quality highly depends on the cell line. Thus, choosing the best optical clearing protocol for the target 3D model is crucial. Currently, plenty of different approaches are utilized to assess the efficiency of clearing protocols for 3D samples. However, there is no gold standard metric to quantitatively evaluate and compare the different clearing protocols. In most studies of newly developed clearing protocols both qualitative and quantitative approaches were used to assess clearing efficacy. Among the qualitative approaches, most of the researchers simply used subjective scoring, based on microscopy images before and after optical clearing. These experiments are based on the ratings of brightfield and fluorescence microscopy images [29]. In fact, this method is appropriate when we simply have to decide whether fluorescent signals are present or absent after the clearing process, or when we simply need to distinguish different clearing protocols based on brightfield images. However, these measurements are time-consuming, and are not feasible when hundreds of 3D images are to be compared.
Some of the qualitative metrics aim to assess the changes in various fluorescence intensity profiles: intensity/contrast increases in both lateral and axial dimensions; tissue transparency improves due to clearing. The basic concept of this approach is the signal-to-background (SNB) ratio, which is defined as the ratio between the mean signal and the standard deviation of the background signal in the intensity profile. To obtain this ratio, an intensity threshold is usually applied to determine background (values below threshold) and signal intensities (values above threshold) [30]. As another option, calculating the changes in mean fluorescence intensity at different imaging depths of a 3D sample can also be used to assess lateral or axial imaging depth [31], [32]. Furthermore, corrected total cell fluorescence (CTCF) was also introduced to monitor the loss of the fluorescent signal in response to optical clearing [31], [32], [33], [34]. A recent study has developed an improved signal-to-noise ratio (SNR) based method to characterize depth-dependent signal intensity [35]. Regarding the well-established correlation between image quality improvement and fluorescence intensity changes, assessing these alterations is quite a popular approach in literature. However, as a disadvantage of intensity values, the results are highly sensitive to staining quality and imaging settings, such as exposure time. Furthermore, the results of these analyses are highly dependent on the applied threshold as well, which might easily lead to the misinterpretation of total intensity changes for a whole spheroid.
A different approach to assess the performance of an optical clearing protocol is based on the concept that the number of well-segmented nuclei should be increased within the entire spheroid as image quality improves [36]. An obvious drawback of using the segmentation-based approach (to compare the efficacy of various clearing protocols) is that the results are highly dependent on the precision of the applied segmentation approach.
Based on these considerations, instead of using only the intensity values of the images or the information for the segmented nuclei, we tested seven metrics which are used to characterize blurriness of general photos and videos. Implemented in a user-friendly ImageJ/Fiji plugin, the seven metrics were tested on a large public available 3D dataset [19], quantifying the quality of microscopy images of different spheroid types. The results for these metrics-based analyses were compared to the sharpness ratings of the images executed by ten human experts, and the correlation between the two approaches was assessed. Among the seven metrics tested, intensity variance obtained the highest correlation with the experts’ evaluation. In this case, the results for the whole spheroid and for the internal circle showed relatively strong correlations with ground truth. Comparing the results for the different regions (top, middle, bottom) of the spheroid, we found that this metric strongly correlated with ground truth at the bottom and middle regions, while the correlation was only acceptable in the top region. The correlation between intensity variance metric and the human scores was the strongest in those cases when the experts could consistently differentiate the groups from one another, like in case of images of the bottom and middle regions. Meanwhile, for images of similar quality, such as images of the T-47D and 5-8F spheroids or images of the top regions, the experts could not distinguish the different clearings protocols. Since, the experts’ evaluation was the least consistent with the T-47D and 5-8F spheroids, we have concluded that even the best metric may not definitely show a really strong correlation with human assessment in these cases. However, an overall good correlation (Pearson 0.80) between the metrics and the experts suggests that intensity variance metric in point may serve as a quantitative tool to evaluate the relative efficacy of optical clearing protocols. Our results indicated that the appropriate protocol for optical clearing strongly depends on the cell line composing the spheroid. Furthermore, by comparing the results for the whole spheroid and for the internal part separately, we were able to measure the lateral light scattering effect. This effect is common with light-sheet microscopy systems where the samples are illuminated from the side resulting in great differences between the outer region and the internal parts of the spheroid. The results for the internal circle showed higher correlation with the experts’ evaluation, suggesting that image analysis data related to the internal part of the spheroid could be applicable in practice.
As expected, none of the tested optical clearing protocols performed equally well on all three cell lines. In case of the T-47D cell line, which forms the least compact spheroids, Sucrose, CUBIC and ScaleA2 protocols proved to be equally effective, yielding no significant quality differences among the cleared groups. The 5-8F spheroids showed the best image quality with the ScaleA2 clearing protocol. Finally, regarding the Huh-7D12, only Sucrose clearing protocol was able to visualise single nuclei located at the bottom regions of the spheroids. We also tested the reversible ClearT and ClearT2 protocols and found that in case of the ClearT protocol image analysis improved after the spheroids were washed, which suggests that this clearing method is in fact not completely reversible. Also, we could measure the differences between ClearT and ClearT2 precisely, which provides a practical benefit to distinguish between slightly different clearings. Specifically, as these two protocols differ in a single component only, the effects of a protocol’s composition on spheroid transparency can also be evaluated based on image analysis.
In summary, we introduced seven metrics for image quality assessment, implemented in SQM, a user-friendly open-source ImageJ/Fiji plugin. We aimed to find a metric suitable for the quantitative assessment of z-stack images of 3D spheroids, allowing to compare optical clearing protocols without pre-processing of images. We tested the correlation between the metrics and the human experts’ evaluation (regarded as the ground truth), and found that of the seven implemented metrics, only intensity variance showed a good correlation, at least in the bottom and middle regions, with the experts’ assessment. This metric is suitable to quantitatively compare different optical clearing protocols and spheroids derived from various human carcinoma cell lines. Based on these findings, we support intensity variance as the gold standard metric to quantitatively compare optical clearing protocols.
4. Materials and methods
4.1. Intensity variance
For the intensity metric [25] the average and variance are calculated with the following formulas:
(1) |
(2) |
where is the image with a resolution of . Images with high variance indicate that there are pixels from very dark to bright values, which may suggest that the image is not blurred.
4.2. Derivative based metrics
Image gradient calculation is based on the differentiation of multivariable functions [25]: the partial derivatives of the image function represent the sharpness of the horizontal and vertical edges in the original image. This can be visualized by the magnitude of the gradients (). After that, the mean and the variance of the gradient image can be calculated. Our implementation contains the variance of the gradient magnitude values:
(3) |
where
(4) |
Second order derivatives can also be used for focus detection, for example with the Laplacian operator [26]. The Laplacian of an image can be calculated with the following formula:
(5) |
Next, we calculate the variance of the Laplacian the same way as we did for the gradient magnitudes.
4.3. Histogram based metrics
The approach defines a threshold value , and sums brightness values above that threshold, weighted by the number of pixels with that particular intensity. is usually chosen as the average intensity in the image. Histogram threshold [27] metric is calculated with the following equation:
(6) |
where are the pixel intensities and is the histogram function.
Another histogram metric can be calculated using entropy [27], which is more precise for image quality assessment. The entropy is higher when the intensities are less predictable, i.e. they are more varied and not homogeneous. It is calculated as follows:
(7) |
where is the vertical maximum of the histogram.
4.4. Frequency based metrics
Frequency based metrics rely on the 2 dimensional Fourier transformation, which converts an image from its original space to frequency space. It breaks down the image to a sum of weighted sine and cosine waves. Each pixel intensity at a position represents the amplitude of the function with a certain frequency component characterized by and Around the center of the resulting image lower frequency components are found, so a high amplitude in the middle corresponds to a homogeneous territory in the original image. With a growing distance from the center alongside concentric circles, higher frequency components are found. High amplitudes at the sides of the Fourier image usually correspond to sharp edges or noise in the original image.
The discrete Fourier transformation of an image can be formalized as follows:
(8) |
The calculated function is a complex function, so for visualization, is typically used:
(9) |
where and are the real and imaginary parts of a complex number .
One metric that can be calculated in the Fourier space is the frequency threshold metric [25]. Exactly how to measure sharpness in this domain varies. In this study, we defined a frequency threshold, and summed the amplitude values above that value only. This means that we sum the pixel values in the Fourier space outside a circle mask with radius . Applying the mask is equivalent to multiplying the Fourier transformed image by a high-pass filter:
(10) |
Kurtosis was proposed as an image sharpness measure [28]. The frequency space is utilized here as well, however, instead of using the Fourier magnitude image, kurtosis metric is calculated on the periodogram of the image, which is the Fourier transform of the autocorrelation image. The periodogram can be calculated as
(11) |
where is the complex conjugate of . To calculate the kurtosis of the periodogram, it is beneficial to regard it as a probability distribution. This can be achieved by normalization. We denote the frequencies at certain points of the periodogram by , and calculate the normalized image with
(12) |
for every .
The bivariate kurtosis of our probability distribution is calculated as
(13) |
where
(14) |
and is the normalized correlation between and (). The marginal means and variances of are
(15) |
and
(16) |
Contrary to other metrics, a low number for kurtosis indicates a well-focused image, whereas high metric values suggest that the measured image is blurry.
4.5. Variance of normalized values inside the spheroid
We posed some conditions for the assessments of the fluorescence images:
-
1.
In an image of a spheroid, our volume of interest is the spheroid itself only, the background contains no relevant information, so we do not want to use it.
-
2.
Intensity values highly depend on the quality of the staining and image acquisition. Metrics can behave differently for higher and lower intensity ranges, therefore, normalization is necessary.
-
3.
Certain clearing agents are not appropriate to penetrate into the spheroids, as a result the edges become very sharp, while the internal part remains blurred. For most of the metrics, this can result in an overall high contrast value due to the very sharp edges on the side, which may lead to misinterpretation. Therefore, we assess both the whole spheroid and the internal part of the spheroid, and compare the results.
To satisfy the 1st criterium, we applied a threshold to the spheroids, which can easily be achieved by the Otsu threshold algorithm: the spheroid area is very well distinguishable from the background based on the image histogram.
For intensity normalization (2nd criterium), we took the maximum intensity value of the 3D image stack and divided every pixel value with that.
To assess the internal part of the spheroid separately (3rd criterium), we calculated the center of the spheroid mass, slice by slice, using image moments:
where
(17) |
We then calculated a desired pixel-based metric inside a circle with a radius of and with the center calculated above:
Our internal circle results were obtained with a 200 pixel radius circle. The usage of this is optional, and the radius can be changed. The choice of 200 pixel radius (~55 µm diameter) was to measure a large enough area (~10 nuclei at minimum) to have stable analysis but small enough to have reasonable coverage at the top and bottom of the spheroids.
4.6. Score calculation
We have introduced a metric which can be calculated after plotting the slice-by-slice metric plots. These steps were necessary to make the metrics comparable with the results of the expert evaluations. Let there be different spheroid assessments, and let be the calculated metric plot for the -th spheroid in the domain , where denotes the number of slices in the image stack, and let be the maximum, and be the minimum value from all the assessed plots:
We define our single-value score for every assessment with:
(18) |
With this number, ranging between 0 and 1, the quality of spheroid images relative to one another can be characterized in a given assessment set. The theoretical maximum (1) is a perfect rectangle with a height of , which would mean that an image with such a metric plot maintains the highest metric assessment across all of its slices. The theoretical minimum (0) is the constant zero function, which would mean that an image with such a metric plot gets a score of 0 for all of its slices. If an image maintains high metric values for most of the slices, its score will be closer to 1, whereas those images that consistently give low metric values, or the ones that have high values at the beginning, but then drastically decrease, will be closer to 0. In order to scale these scores to the human scoring system, we normalized all resulting values between 1 and 5. For all the metrics, the plots were divided into three equal regions, and the score calculation method described above was used. These steps do not change the results of the metrics, just scale them to match with the scoring system of the experts. For all five clearing protocol groups, as well as for the control group, the top, the middle, and the bottom regions of the spheroids were evaluated. Ten experts evaluated five spheroids from each clearing protocol group, but only one image from each region. The average of their scores was compared with the metrics. The results of the metrics were calculated almost the same way, except that the metrics evaluated all the images from each region, and the average scores were used for comparison. The whole spheroid and the internal circle were evaluated the same way, and the results were also calculated the same way. Next, the experts’ evaluation and the metrics’ scores were matched, and a linear regression analysis was carried out. For comparison, Pearson’s correlation was used.
All the metrics were implemented in a user-friendly open-source ImageJ/Fiji [17], [18] plugin named SQM. The results for score calculation are available as a csv file, saved by the plugin at the end of each image analysis process. SQM is implemented in Java and it works under Macintosh, Linux, and Windows 64-bit systems. There are no special hardware requirements. SQM can be downloaded from the Fiji plugin store, but it is also available at: https://bitbucket.org/biomag/qualitymetricplugin/downloads/
4.7. Statistical analyses
Statistical analyses were performed using the R software. The Kolmogorov-Smirnov test was utilized to check for normal distribution. For the statistical analysis of the optical clearing results, non-parametric Kruskal-Wallis test with Dunn’s multiple comparisons was performed. Significance level was set to α = 0.05 with a 95% confidence interval, and p-values were adjusted to account for multiple comparisons.
Declaration of Competing Interest
The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.
Footnotes
Supplementary data to this article can be found online at https://doi.org/10.1016/j.csbj.2021.01.040.
Appendix A. Supplementary data
The following are the Supplementary data to this article:
References
- 1.Hoarau-Véchot J., Rafii A., Touboul C., Pasquier J. Halfway between 2D and animal models: are 3D cultures the ideal tool to study cancer-microenvironment interactions? Int J Mol Sci. 2018;19 doi: 10.3390/ijms19010181. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 2.Carragher N., Piccinini F., Tesei A., Jr O.J.T., Bickle M., Horvath P. Concerns, challenges and promises of high-content analysis of 3D cellular models. Nature Rev Drug Discov. 2018;17:606. doi: 10.1038/nrd.2018.99. [DOI] [PubMed] [Google Scholar]
- 3.Piccinini F., De Santis I., Bevilacqua A. Advances in cancer modeling: fluidic systems for increasing representativeness of large 3D multicellular spheroids. Biotechniques. 2018;65:312–314. doi: 10.2144/btn-2018-0153. [DOI] [PubMed] [Google Scholar]
- 4.Cesarz Z., Tamama K. Spheroid culture of mesenchymal stem cells. Stem Cells Int. 2016;2016:1–11. doi: 10.1155/2016/9176357. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 5.Sawant-Basak A., Obach R.S. Emerging models of drug metabolism, transporters, and toxicity. Drug Metab Dispos. 2018;46:1556–1561. doi: 10.1124/dmd.118.084293. [DOI] [PubMed] [Google Scholar]
- 6.Sant S., Johnston P.A. The production of 3D tumor spheroids for cancer drug discovery. Drug Discov Today: Technol. 2017;23:27–36. doi: 10.1016/j.ddtec.2017.03.002. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 7.Di Modugno F., Colosi C., Trono P., Antonacci G., Ruocco G., Nisticò P. 3D models in the new era of immune oncology: focus on T cells, CAF and ECM. J Exp Clin Cancer Res. 2019;38:1–14. doi: 10.1186/s13046-019-1086-2. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 8.Swinney D.C., Anthony J. How were new medicines discovered? Nat Rev Drug Discov. 2011;10:507–519. doi: 10.1038/nrd3480. [DOI] [PubMed] [Google Scholar]
- 9.Smith K., Piccinini F., Balassa T., Koos K., Danka T., Azizpour H. Phenotypic image analysis software tools for exploring and understanding big image data from cell-based assays. Cell Syst. 2018;6:636–653. doi: 10.1016/j.cels.2018.06.001. [DOI] [PubMed] [Google Scholar]
- 10.Method of the Year 2014. Nature methods. 12, 1 (2015). [DOI] [PubMed]
- 11.Power R.M., Huisken J. A guide to light-sheet fluorescence microscopy for multiscale imaging. Nat Methods. 2017;14:360–373. doi: 10.1038/nmeth.4224. [DOI] [PubMed] [Google Scholar]
- 12.Zanoni M., Piccinini F., Arienti C., Zamagni A., Santi S., Polico R. 3D tumor spheroid models for in vitro therapeutic screening: a systematic approach to enhance the biological relevance of data obtained. Sci Rep. 2016;6:1–11. doi: 10.1038/srep19103. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 13.Costa E.C., Silva D.N., Moreira A.F., Correia I.J. Optical clearing methods: an overview of the techniques used for the imaging of 3D spheroids. Biotechnol Bioeng. 2019;116:2742–2763. doi: 10.1002/bit.27105. [DOI] [PubMed] [Google Scholar]
- 14.Richardson D.S., Lichtman J.W. Clarifying tissue clearing. Cell. 2015;162 doi: 10.1016/j.cell.2015.06.067. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 15.Tainaka K., Kuno A., Kubota S.I., Murakami T., Ueda H.R. Chemical principles in tissue clearing and staining protocols for whole-body cell profiling. Annu Rev Cell Dev Biol. 2016;32 doi: 10.1146/annurev-cellbio-111315-125001. [DOI] [PubMed] [Google Scholar]
- 16.Dekkers J.F., Alieva M., Wellens L.M., Ariese H.C.R., Jamieson P.R., Vonk A.M. High-resolution 3D imaging of fixed and cleared organoids. Nat Protoc. 2019;14:1756–1771. doi: 10.1038/s41596-019-0160-8. [DOI] [PubMed] [Google Scholar]
- 17.Abràmoff M.D., Magalhães P.J., Ram S.J. Image processing with imageJ. Biophoton Int. 2004;11:36–41. [Google Scholar]
- 18.Schindelin J., Arganda-Carrera I., Frise E., Verena K., Mark L., Tobias P. Fiji - an open platform for biological image analysis. Nat Methods. 2009;9 doi: 10.1038/nmeth.2019.Fiji. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 19.Diosdi A. et al. Cell lines and clearing approaches: a single-cell level 3D light-sheet fluorescence microscopy dataset of multicellular spheroids. Submitted to Data in Brief. [DOI] [PMC free article] [PubMed]
- 20.Kuwajima T., Sitko A.A., Bhansali P., Jurgens C., Guido W., Mason C. ClearT: a detergent- and solvent-free clearing method for neuronal and non-neuronal tissue. Development. 2013;140:1364–1368. doi: 10.1242/dev.091844. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 21.Susaki E.A., Tainaka K., Perrin D., Kishino F., Tawara T., Watanabe T.M. Whole-brain imaging with single-cell resolution using chemical cocktails and computational analysis. Cell. 2014;157:726–739. doi: 10.1016/j.cell.2014.03.042. [DOI] [PubMed] [Google Scholar]
- 22.Hama H., Kurokawa H., Kawano H., Ando R., Shimogori T., Noda H. Scale: a chemical approach for fluorescence imaging and reconstruction of transparent mouse brain. Nat Neurosci. 2011;14:1481–1488. doi: 10.1038/nn.2928. [DOI] [PubMed] [Google Scholar]
- 23.Tsai P.S., Kaufhold J.P., Blinder P., Friedman B., Drew P.J., Karten H.J., Lyden P.D., Kleinfeld D. Correlations of neuronal and microvascular densities in murine cortex revealed by direct counting and colocalization of nuclei and vessels. J Neurosci. 2009;29(46):14553–14570. doi: 10.1523/JNEUROSCI.3287-09.2009. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 24.Ferzli R., Karam L.J. A no-reference objective image sharpness metric based on just-noticeable blur and probability summation. Proc - Int Conf Image Process, ICIP. 2006;3:445–448. doi: 10.1109/TIP.2008.2011760. [DOI] [PubMed] [Google Scholar]
- 25.Batten C.F. University of Cambridge; 2000. Autofocusing and astigmatism correction in the Scanning Electron Microscope. [Google Scholar]
- 26.Pech-Pacheco J., Cristobal J.L., Chamorro-Martinez G., Fernandez-Valdivia J. 15th International Conference on Pattern Recognition. 2000. Diatom autofocusing in brightfield microscopy: a comparative study; pp. 314–317. [Google Scholar]
- 27.Firestone L., Cook K., Culp K., Talsania N., Preston K. Comparison of autofocus methods for automated microscopy. Cytometry. 1991;12:195–206. doi: 10.1002/cyto.990120302. [DOI] [PubMed] [Google Scholar]
- 28.Zhang N., Vladar A., Postek M., Larrabee B. A kurtosis-based statistical measure for two-dimensional processes and its application to image sharpness. Proc Sect Phys Eng Sci Am Statist Soc. 2003;4730–4736 [Google Scholar]
- 29.Kolesová H., Čapek M., Radochová B., Janáček J., Sedmera D. Comparison of different tissue clearing methods and 3D imaging techniques for visualization of GFP-expressing mouse embryos and embryonic hearts. Histochem Cell Biol. 2016;146:141–152. doi: 10.1007/s00418-016-1441-8. [DOI] [PubMed] [Google Scholar]
- 30.Smyrek I., Stelzer E.H.K. Quantitative three-dimensional evaluation of immunofluorescence staining for large whole mount spheroids with light sheet microscopy. Biomed Opt Express. 2017;8:484. doi: 10.1364/BOE.8.000484. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 31.Costa E.C., Moreira A.F., De Melo-diogo D., Correia I.J. Polyethylene glycol molecular weight influences the ClearT2 optical clearing method for spheroids imaging by confocal laser scanning microscopy. J Biomed Opt. 2018;23:1. doi: 10.1117/1.JBO.23.5.055003. [DOI] [PubMed] [Google Scholar]
- 32.Costa E.C., Moreira A.F., de Melo-Diogo D., Correia I.J. ClearT immersion optical clearing method for intact 3D spheroids imaging through confocal laser scanning microscopy. Opt Laser Technol. 2018;106:94–99. doi: 10.1117/1.JBO.23.5.055003. [DOI] [PubMed] [Google Scholar]
- 33.Ansari N., Müller S., Stelzer E.H.K., Pampaloni F. Quantitative 3D cell-based assay performed with cellular spheroids and fluorescence microscopy. Elsevier; 2013. [DOI] [PubMed] [Google Scholar]
- 34.Klaka P., Grüdl S., Banowski B., Giesen M., Sättler A., Proksch P. A novel organotypic 3D sweat gland model with physiological functionality. PLoS One. 2017;12:1–18. doi: 10.1371/journal.pone.0182752. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 35.Nürnberg E., Vitacolonna M., Klicks J., von Molitor E., Cesetti T., Keller F. Routine optical clearing of 3D-cell cultures: simplicity forward. Front Mol Biosci. 2020;7:1–19. doi: 10.3389/fmolb.2020.00020. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 36.Boutin M.E., Voss T.C., Titus S.A., Cruz-Gutierrez K., Michael S., Ferrer M. A high-throughput imaging and nuclear segmentation analysis protocol for cleared 3D culture models. Sci Rep. 2018;8:1–14. doi: 10.1038/s41598-018-29169-0. [DOI] [PMC free article] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.