Skip to Content
EntropyEntropy
  • Article
  • Open Access

13 April 2022

16 Pages

A Method for Unsupervised Semi-Quantification of Inmunohistochemical Staining with Beta Divergences

,
,
,
,
and
1
Departamento de Teoría de la Señal y Comunicaciones, Universidad de Sevilla, Avda. Descubrimientos S/N, 41092 Seville, Spain
2
Centro Andaluz de Biología Molecular y Medicina Regenerativa-CABIMER, Consejo Superior de Investigaciones Científicas, Universidad de Sevilla, Universidad Pablo de Olavide, Avda. Américo Vespucio 24, 41092 Seville, Spain
*
Author to whom correspondence should be addressed.

Abstract

In many research laboratories, it is essential to determine the relative expression levels of some proteins of interest in tissue samples. The semi-quantitative scoring of a set of images consists of establishing a scale of scores ranging from zero or one to a maximum number set by the researcher and assigning a score to each image that should represent some predefined characteristic of the IHC staining, such as its intensity. However, manual scoring depends on the judgment of an observer and therefore exposes the assessment to a certain level of bias. In this work, we present a fully automatic and unsupervised method for comparative biomarker quantification in histopathological brightfield images. The method relies on a color separation method that discriminates between two chromogens expressed as brown and blue colors robustly, independent of color variation or biomarker expression level. For this purpose, we have adopted a two-stage stain separation approach in the optical density space. First, a preliminary separation is performed using a deconvolution method in which the color vectors of the stains are determined after an eigendecomposition of the data. Then, we adjust the separation using the non-negative matrix factorization method with beta divergences, initializing the algorithm with the matrices resulting from the previous step. After that, a feature vector of each image based on the intensity of the two chromogens is determined. Finally, the images are annotated using a systematically initialized k-means clustering algorithm with beta divergences. The method clearly defines the initial boundaries of the categories, although some flexibility is added. Experiments for the semi-quantitative scoring of images in five categories have been carried out by comparing the results with the scores of four expert researchers yielding accuracies that range between 76.60 % and 94.58 % . These results show that the proposed automatic scoring system, which is definable and reproducible, produces consistent results.

1. Introduction

Immunohistochemistry (IHC) is a procedure that is widely used and accessible to almost all laboratories for detecting the expression of biological markers in formalin-fixed and paraffin-embedded tissues. Chromogens, which can appear as different colors (brown, blue, red) are localized in fixed tissues to antigens of interest via an antibody–antigen detection system. The appearance of the staining can be followed by observation under bright field microscopy, and standard red–green–blue (RGB) color images can be acquired from it. The main advantage of a chromogenic system is that the quality of the staining is maintained for many years. However, the disadvantage is that the procedure for quantifying the intensity of such staining is not straightforward.
One of the most commonly used chromogens for the visualization of interest proteins is the chromogen 3,3 ′ -Diaminobenzidine (DAB), which forms a brown precipitate. The DAB chromogen is not a true absorber of light but a scatterer of light. In addition to absorption, scattering also contributes to the light extinction process and causes a non-linear relation between the absorbance value and the stain amount. In view of this, one can say that DAB does not follow the Beer–Lambert law, which describes the linear relationship between the concentration of a compound and its absorbance, or optical density [1]. Therefore, a precise quantification of the expression level of a protein is not possible through visual examination of a DAB-stained IHC image. However, the use of DAB is widely accepted by the scientific community for the performance of semi-quantitative analysis, especially in comparative studies where images from a trial are ranked according to specific criteria. The number of images within a trial can be variable, but experimental protocols are designed in such a way that in each trial, there will be at least one image with the highest and one with the lowest possible score, which are referred to as control images.
The scoring of immunohistochemically stained tissue samples is important in translational research. However, manual evaluation by an experienced researcher remains a time-consuming and subjective procedure that might lead to intra- and inter-observer variability [2]. Inter-observer variation is the amount of variation between the scores obtained by two or more observers examining the same sample, whereas intra-observer variation is the amount of variation one observer experiences when observing the same sample more than once. In addition, the same sample that is in two different trials may obtain different scores in each trial by the same observer. This is because the criteria for obtaining the highest and lowest scores may differ from one trial to another, which we call inter-session variability. Since it is more objective and reproducible than manual evaluation, semi-quantitative automatic scoring systems are in increasing demand by research laboratories to include histopathology information in biomedical research [3].
There are currently a number of different annotation systems based on different criteria, and in most laboratories, scientists design the scoring system that is best suited to answer a particular scientific question [4]. However, we can see in the literature several systems that are common to many experimental studies. The simplest scoring system for the assessment of IHC staining classifies whole tissue sections as positive or negative, so that the sample is positive when the observed staining is above the background staining level. Other systems are based on estimating the percentage of cells in the tissue or in sub-compartments of the tissue that show positive (or negative) staining without taking into account variations in staining intensity when assigning scores. In addition, scoring systems based on both the staining intensity and percentages of stained cells are employed [5].
Semi-quantitative scoring systems use a tiered approach. In some cases, the signal strength is described by a value within a range on a scale (e.g., grades of 0 , 1 + , 2 + , 3 + ), whereas in other cases, terms such as “very low or absent”, “low”, “medium”, “high”, or “very high” are used. The number of score categories typically ranges from about three to five. In general, a smaller number of scoring categories tends to reduce the sensitivity of the system, while a larger number tends to reduce reproducibility, as there is less obvious distinction between each of the categories [3]. In any case, it is particularly relevant to pay attention to the specific criteria defining each stain. Note that the criteria may change from one experimental protocol to another, and therefore, supervised techniques developed from one trial based on certain criteria may not work in other trials. Therefore, when developing an automatic system for semi-quantification so that it can be used in a generalized way for the study of any protein of interest, it is recommendable that the methods used to solve the problem be of the unsupervised type.
There are several bioimage analysis platforms that allow implementing scripts for the semi-quantitative scoring of IHC images. However, they often require the adjustment of several software parameters for different images and staining conditions and advanced coding experience, which could be a tedious and time-consuming task for such a workflow to be applicable. Two of these freely distributed platforms are QuPath [6] and IHC Profiler [7], which is a plugging of the free software ImageJ Fiji. Researchers that perform image analysis with these platforms, as for example in [8,9], often do not provide enough detail to reproduce the step-by-step analysis protocols in their publications, although the protocols can be quite tedious and time consuming for researchers, as they are not fully automatic. A practical guide to semi-quantification with the IHC profiler is detailed in [10], in which the necessary researcher intervention in the procedure described above can be verified, as for example for the selection of appropriate cut-off thresholds for protein detection.
In this work, we present a fully automatic and unsupervised method for comparative biomarker quantification that relies on a color separation method that discriminates between DAB (brown) and H (blue) staining robustly, independent of color variation, or biomarker expression level. To the best of our knowledge, this is the first end-to-end semi-quantification system that takes a set of IHC images as the input and directly outputs a score to each of them without the intervention of the researcher beyond specifying which are the control images.The proposed method employs: a two-step stain separation procedure based on eigendecomposition (ED) and NMF approaches, features based on the stain concentration matrix and hue saturation of color vectors estimated, and a clustering k-means approach for predicting the semi-quantitative scores. We use the family of beta divergences as the dissimilarity measure in both NMF and k-means procedures due to its proven robustness against outliers. The developed method is designed to predict the image scores as an expert researcher would. Experimental results show that our method is able to predict the image scores on a 5-point scale with very high and statistically significant correlation with experienced researchers’ scores.

3. Methods

The proposed method first converts the RGB images into optical density using the Beer–Lambert law, as shown in Equation (1). After this, the following three stages are carried out: stain separation, feature extraction, and prediction of the scores. The separation of hematoxylin-stained nuclei from DAB-positive structures allows the automated extraction of appropriate features for each stain independently. This stage is crucial to achieve robust and accurate algorithms, with any inconsistency at this stage greatly affecting the estimation of the stain concentration. After that, three features related with the intensity of DAB and H chromogens are calculated. Finally, the scores for all the images are predicted through an unsupervised clustering strategy. A precise description of the proposed method is given below.

3.1. Stain Separation

Images obtained in the same laboratory can be subject to quite large differences in the true colors and intensity expressed by the stains. Thus, the staining separation method must estimate the color vectors of the stains independently for each image and must be able to correctly separate high and low-intensity stains. A common practice for experimental protocols in semi-quantitative studies is to include control images with the highest and lowest score. Our method assumes the existence of such control images so that the investigator must indicate what these images are. We denote the OD of the control images with the maximum and minimum score as Y 5 + and Y 1 + , respectively.
In images where there is a high expression of the protein of interest, and therefore, the brown color is expressed with high intensity, traditional unsupervised separation methods, such as those based on CD or NMF, usually yield good results. However, in images where the protein of interest has a low expression, traditional methods may fail, and it is often necessary to determine manually the stain color vectors. To solve this problem, our separation method consists of two steps. In a first preliminary separation step, the expert has to choose a control image with the highest score from the set of images. On this control image, a separation based on ED is performed to obtain the initial staining color vectors. Then, the staining concentration matrix of each image is calculated by a traditional deconvolution method. In the final separation step, an NMF algorithm is initialized with the initial matrices calculated in the first step. An NMF algorithm with beta divergences has been chosen, because several authors have stated the usefulness of beta divergences as a robust similarity measure against outliers [31]. IHC images may contain artifacts generated during tissue processing, hence the need for robust similarity measures. This second stage allows a better adjustment of the solution by automatically updating the color and the concentration of the separate stains. A precise description of the proposed stain separation method is given below.

3.1.1. Preliminary Separation Step

We obtain the color vector matrix of Y 5 + , W i n i t , through an eigendecomposition procedure. This color vector matrix is employed as the initial color vector matrix for all the images in the trial, W i n i t m = W i n i t , ∀ m = 1 ⋯ M , in which M is the total number of images in the trial.
Since Y 5 + is generated, predominantly, by the combination of two vectors (those produced by DAB and hematoxylin), its scattering mainly lies in the plane spanned by both vectors (the columns of W i n i t , its color vector matrix). It is well known that the ED of the autocorrelation matrix of Y 5 + , R Y 5 + = Y 5 + Y 5 + T / N , provides a basis for the above-mentioned plane [32]. This basis is given by the eigenvectors associated to the 2 largest eigenvalues of R Y 5 + . Therefore, the first step of the initialization is to compute the ED of R Y 5 + , obtaining its eigenvector matrix, Q = [ q 1 , q 2 , q 3 ] , where the first column corresponds to the largest eigenvalue and the third column corresponds to the lowest one. The second step is the computation of the 2 first principal components (i.e., the coordinates of Y 5 + in the first 2 columns of Q ),
Z = [ q 1 , q 2 ] T Y 5 + = [ q 1 , q 2 ] T W i n i t ⏟ [ v 1 , v 2 ] H .
The 2D vectors v 1 and v 2 are the coordinates of the columns of W i n i t in [ q 1 , q 2 ] . Therefore, W i n i t = [ q 1 , q 2 ] · [ v 1 , v 2 ] . The third step is to find good estimates of v 1 and v 2 . Since nuclei are mainly H-stained and the cytoplasms is DAB-stained, there will be a lot of pixels with high value of only one of the stains (one of the rows of H ), although there will be also a lot of pixels with high values of both stains. So, defining z ( t ) as the t-th column of Z and ϕ ( t ) = ∠ ( z ( t ) ) as the angle given by both coordinates of z ( t ) , the search of the estimates of v 1 and v 2 is made by means of the search of 2 angles ( ϕ 1 and ϕ 2 ) with a large concentration of high levels of ∥ z ( t ) ∥ . For this purpose, the range of values of ϕ ( t ) is divided into 1000 intervals. For the k-th interval, the maximum of ∥ z ( t ) ∥ is taken as ν ( k ) . A smoothing filter (local mean for 20 samples) is applied to ν ( t ) . Since the vectors v 1 and v 2 are near the edges of the 2D scattering, the angles ϕ 1 and ϕ 2 are estimated by searching for the first and last peaks of the filtered version of ν ( k ) . If for some control image, both peaks cannot be estimated, ϕ 1 and ϕ 2 are taken at 18% and 55% of the whole range, respectively.
Once the initial color vector matrix has been estimated, the initial stain concentration matrix for each image m in the trial is obtained through color deconvolution [11]
H i n i t m = W i n i t + Y , Y ≥ 0
where W i n i t + = ( W i n i t T W i n i t ) − 1 W i n i t T is the Moore–Penrose pseudo-inverse matrix of the non-square matrix W i n i t selected. In addition, all the negative elements of matrix H i n i t m are set to a very small value, 10 − 16 , since the molar concentration of a specific stain must be a positive value.

3.1.2. Final Separation Step

In the final separation step, the decomposition of each image in the trial is adjusted using NMF with beta divergences initializing the algorithm with the matrices resulting from preliminary separation. Since the variation of the color vector matrix is expected to be small among all the images on a trial, the initialization matrices obtained in the previous step are expected to be close to a desired solution. Therefore, a small number of iterations of the NMF algorithm are needed, thus reducing the computing time.
The beta divergences are a family of divergences parameterized by a single shape parameter β [33]. Given two non-negative matrices P ∈ R + I × T and Q ∈ R + I × T with entries p i t = P i t and q i t = Q i t , using the notation given by [34], the beta divergences can be expressed as
D B β P ∥ Q = ∑ i t d B β p i t , q i t
where d B β p i t , q i t is defined as
d B β p i t , q i t = − 1 β p i t q i t β − 1 1 + β p i t 1 + β − β 1 + β q i t 1 + β , for β , 1 + β ≠ 0 1 2 p i t − q i t 2 , for β = 1 p i t ln p i t q i t − p i t + q i t , for β = 0 ln q i t p i t + p i t q i t − 1 , for β = − 1
The beta divergences include several well-known divergence measures as special cases of this parameter and thus allowing smooth interpolation between many known divergences. In particular, when β = 0 , the beta divergence takes the form of the standard Kullback–Leibler (KL) divergence, whereas when β = − 1 , it reduces to the Itakura–Saito (IS) divergence. In addition, the beta divergence corresponds to the standard squared Euclidean distance for β = 1 .
The appropriate value for the β parameter is related with the distribution of the data and the statistics of the noise assumed on the data. For example, using the Euclidean distance corresponds to the maximum likelihood estimator for i.i.d. Gaussian noise. Similarly, the KL and the IS divergences correspond to a Poisson distribution and multiplicative Gamma noise, respectively [35]. Although the Euclidean distance is the most widely used to tackle the stain separation problem, other dissimilarities measures should be explored. In fact, beta divergences have been proven to be robust to outliers for some values of the tuning parameter β being more suitable than other metrics for some specific applications [36]. For the stain separation, we will assume that P = [ p i t ] is the observed OD image Y , whereas Q = [ p i t ] = W H is the decomposition. The objective of the NMF is to solve the minimization problem subject to the non-negativity constraints defined by
min W , H D B β Y ∥ W H , s . t . W ≥ 0 , H ≥ 0
A multiplicative NMF algorithm equipped with the beta divergence as the approximation measure was developed in [37]. The corresponding multiplicative update rules are given by the following equations
h j t ← h j t ∑ i = 1 I w i j q i t β − 1 p i t ∑ i = 1 I w i j q i t β
w i j ← w i j ∑ t = 1 T h j t q i t β − 1 p i t ∑ t = 1 T h j t q i t β
In practice, at each iteration of the algorithm, the columns of the matrix W are normalized to the unit ℓ p -norm (typically, p = 1). This normalization is actually a normalization of the chromogenic color vectors. Thus, the staining concentration matrices of two images can be compared even if the color vector matrices of the images are not exactly the same. The difference in the color vector matrices between two images is due to differences in the hue and saturation of the true colors, which is a common phenomenon in IHC comparative studies.
It is well established that the monotonic descent in the beta divergence with the update formulas of Equations (10) and (11) is guaranteed for β = ( 0 , 1 ) . However, convergence to a local minimum can also be achieved for β heats outside this range; see [34] for more information. In our experiments, we have set the value of the β parameter of the divergence to 0.5.
Since convergence to a global minimum is not guaranteed, only convergence to a local minimum, it is very important to pay attention to the initialization of the NMF algorithm. One of the most commonly used techniques when no prior information is available is to perform several tests with random matrices. Then, the final decomposition corresponds to the matrices obtained in the test with the minimum cost function value. Such an initialization means that the initial point of the iterative process might be close to a local minimum, and therefore, the separation can converge to unsuitable solutions, with stain color vectors very different from those expected. Hence, our method initializes the NMF algorithm with the decomposition W i n i t + H i n i t m obtained in the preliminary separation for each image Y m .
Once the final decomposition is obtained, the matrices are arranged so that the first column of W m and the first row of H m correspond to the hematoxylin chromogen, and the second column of W m and the second row of H m correspond to the DAB chromogen. For that, we compare the average value of the magenta channel of the CMYK color model of the separated stains.

3.2. Feature Extraction

Once the DAB and H plane have been obtained, the next step is to calculate one or more features whose value allows the images to be properly classified in a similar way to what an expert researcher would do. We have calculated a feature vector f m = [ f 1 m , f 2 m , f 3 m ] for each image Y m that is composed of three features related to the amount of DAB concentration encoded in the matrix H m of the decomposition. The first one, f 1 m , is the 1-norm of the DAB staining plane normalized to the image size
f 1 m = 1 N ∑ i = 1 N H m ( 2 , i ) ,
in which N is the number of pixels in the image. This feature, unlike others such as the pix H-score and the positive pixel counting, does not require the setting of any parameters or decision thresholds.
Features f 2 m and f 3 m are related with the normalization procedure presented in [21]. This normalization method uses normalization factors for each stain in order to preserve the positive structures encoded in the stain concentration matrix, while color appearance normalization is performed. We employ the control image Y 5 + as a reference image so that the normalization factors are calculated as follows
N j m = H ( j , : ) R M , 5 + H ( j , : ) R M , m , j = 1 , 2
where the superscript R M denotes the robust pseudo maximum of each row vector at 99%. These normalization factors can be interpreted as a relative intensity measure between the control image Y 5 + and the image Y m . Then, the second and third features are computed as
f 2 m = N 2 m
f 3 m = N 2 m N 1 m
Note that the values of features f 2 m and f 3 m do not depend on the color bases determined at the stain separation stage.

3.3. Prediction of the Scores

The images are scored using a k-means clustering algorithm equipped with beta divergences [38] for β = − 0.5 and initializing the initial centroids in a methodical way using the references images Y 5 + and Y 1 + . We have not considered it suitable to set fixed boundaries for the classification because we have not found clear boundaries between the different classes in the dataset. Instead, we have opted for a clustering algorithm that allows some flexibility in determining the boundaries of each class. This added flexibility achieves consistent emulation of expert annotations. We have reduced the number of iterations to a maximum of 3 iterations to avoid that the final centroids are too different from the initial centroids, since the distribution of the data is a priori unknown, and some of the classes may be under-represented.
The initial centroids of each cluster have been calculated using a systematic approach. The values for the initial centroid of clusters “5+” and “1+” are the features of the control images Y 5 + and Y 1 + selected by the researcher in each trial. The first feature of the initial centroids for the groups scores as “2+”, “3+”, and “4+” are calculated as a percentage of the difference between the first feature of the two control images,
f 1 c k = f 1 1 + + p k 100 f 1 5 + − f 1 1 + , k = 2 , 3 , 4
where c k denotes the k-centroid and p k = [ p ] k represents the percentage associated with the k-centroid. These percentage can be fixed by the researchers, although in our experiments, we have used values of 15%, 40%, and 70% to initialize the groups scored as “2+”, “3+”, and “4+”, respectively, that is, p = [ 15 , 40 , 70 ] .
Although in principle, one might expect a linear relationship between feature f 1 m and features f 2 m and f 3 m , our experiments have not revealed such a relationship but rather an exponential type. Thus, for the determination of the second and third features of the initial centroids, we have fitted the feature vectors to a two-term exponential model y t ( x ) = a exp ( b x ) + c exp ( d x ) with x = f 1 and t = 2 , 3 . Then, we have predicted the values for f 2 c k and f 3 c k as follows
f t c k = y t ( f 1 c k ) , k = 2 , 3 , 4 t = 2 , 3

4. Results and Discussion

4.1. Data Description

Our dataset consisted of 94 images taken from stained xenograph tumors, using HCT116 cells implanted in mice treated with either vehicle or with a cell-permeable α-ketoglutarate derivative, dimethylα-KG (DMKG), followed by treatment with the mTORC1 inhibitor temsirolimus (TEM) or with metformin (MET). Samples were processed as described in [39]. All procedures were approved by the corresponding institutional organizations (APAFIS# 10090 2017052409402562 v2). Omission of the primary antibody in the immunostaining procedure was used as a negative control. Images were acquired in the TIFF format with a Leica DM6000B microscope using ×20 or ×40 objective lenses and a Leica DFC500 digital camera. All images have been independently annotated by four expert observers. Figure 1 shows examples of different IHC tissue images scored from “1+” to “5+” in the same way by all the observers.
Figure 1. Examples of different immunolabeling intensities in IHC images with a magnification of 20×: (a) very low positivity or negative (1+), (b) low positivity (2+), (c) mild positivity (3+), (d) moderate positivity (4+), and (e) strong positivity (5+). The protein was visualized by DAB chromogen and nuclear counterstain with hematoxylin.
The agreement among observers measured as the percentage of images that have been annotated with the same score by all experts is 70.21 % . Figure 2 shows some of the images where there is a discrepancy between the annotations of the observers.
Figure 2. Example of IHC images where there is a discrepancy in the score assigned by the observers. In (a), the image has been annotated as 1+ or 2+, in (b), the image has been annotated as 3+ or 4+, and in (c) the image has been annotated as 4+ or 5+.

4.2. Stain Separation Results

The two-stage stain separation method achieves satisfactory DAB and H planes in both high-intensity and low-intensity images. The hue saturation of the blue and brown colors may differ noticeably between some of the images in the database. Therefore, as mentioned above, it is necessary to adjust the color bases of each image with respect to the bases obtained in the control image. Figure 3 shows the stain separation results of the “5+” control image obtained through eigendecomposition, whereas Figure 4 and Figure 5 show the preliminary and final results of staining separation in high and low-intensity level images, respectively. The better adjustment of the brown and blue colors in the final separation results compared to the preliminary separation results can be seen.
Figure 3. Stain separation results of the reference image Y 5 + obtained with eigendecomposition method: (a) Original IHC image (b) H-plane estimated (c) DAB-plane estimated.
Figure 4. Example of stain separation in an IHC image with a high-intensity level: (a) Original image, (b) Preliminary stain separation and (c) Final stain separation.
Figure 5. Example of stain separation in an IHC image with a low-intensity level: (a) Original image, (b) Preliminary stain separation, and (c) Final stain separation.

4.3. Prediction of the Scores Results

We have investigated the suitability of several pixel-wise features as discriminating features to be able to differentiate between the different categories of images. In particular, we have calculated the ATM score, the pix H-score, and the 1-norm of the DAB stain concentration vector obtained in the stain separation stage of all the images in the dataset. The ATM score has been calculated using the RGB image of the DAB plane. For computing the pix H-score, we have manually adjusted the thresholds to { 2.5 , 0.7 } values for the DAB plane and { 0.7 } for the H plane. The same thresholds have been used for all images in the dataset. The obtained results shown in Figure 6 indicate that the individual use of these features correlates moderately with the annotations made by the experts, with pix H-score showing the lowest correlation.
Figure 6. Correlation between some features based on the DAB staining plane and the score annotated by one expert for all the images in the dataset. The features examined are: (a) ATM score, (b) Pix-H score, and (c) 1-norm of the DAB stain concentration vector obtained in the NMF decomposition of the OD image. Similar results are obtained with the scores of the other observers.
We have found that including the normalization factors improves this correlation significantly, allowing a subsequent classification of the images more in line with the experts’ notation. Figure 7 shows a scatter plot of the features calculated as Equations (12), (14) and (15) and a reference truth calculated as the median between the scores of observers #1, #2, and #3. A higher correlation can be seen, although even with these new features, there are no clear boundaries to differentiate the five image classes.
Figure 7. Scatter plot of the extracted features and the scores: (a) calculated as the median value of the annotations of observers, (b) predicted by our method.
The correlations between the scores provided by the proposed method and experts’ scores are summarized in Table 1 in terms of accuracy. A high level of accuracy is obtained in all cases. We have also investigated the inter-observer reliability for the dataset by computing the Cohen’s kappa values κ between pairwise comparison of the observers and the proposed method. The strength of agreement has been estimated using the rating scale proposed in [40] as follows: values κ < 0.20 as indicating bad; 0.21–0.40 as fair; 0.41–0.60 as moderate; 0.61–0.80 as good; and 0.81–1.00 as very good agreement. Results are shown in Table 2. Although Cohen’s kappa values were variable between observers, the most common agreement was very good.
Table 1. Comparison of the performance of different clustering algorithms in terms of accuracy (%).
Table 2. Pairwise inter-observer reliability of semi-quantitative scoring by four observers and the proposed score. Crosstabs contain the Cohen’s kappa values, κ (orange background), and the strength of agreement (blue background) between two different observers.
The method has been implemented in MatLab R2021b. The total execution time, including the stain separation, feature extraction, and score prediction of the 94 images was 244.48 s in an iMac (chip: Apple M1, RAM: 8GB).

5. Conclusions

In biomedical research, semi-quantitative scoring systems are widely used to convert the subjective perception of IHC marker expression by researchers into quantitative data that allow determining specific differences in a group of images. Manual scoring is not only time consuming but also suffers from the classical inter-observer, intra-observer, and inter-session variabilities. In addition, human physiological factors such as fatigue and eyestrain can occur during the monotonous process of evaluating a large number of images. Therefore, subjectivity is a mayor problem that can be avoided with an automatic system.
In this article, we have developed an automatic scoring system in order to emulate the scores that a researcher may propose. Our method consists of three parts: stain separation, feature extraction, and prediction of the scores. The staining separation step has been specifically designed to perform robustly on IHC images expressing the protein of interest at both very high and very low intensities. In addition, it is capable of automatically adjusting the color vectors in each image without the need for researcher intervention. With a proper separation of the color planes, it is possible to calculate different types of features, the simplest being pixel-wise features. However, we have found that the individual use of pixel-wise features correlates only moderately with the annotations provided by the experts.
The measures we propose as features for the prediction of the scores are related to the intensity of DAB staining and to the relative intensity DAB and H staining between the image and a control image. Relative intensity features are related to normalization factors of color appearance in histological images. These features significantly improve the correlation of the predicted scores with those provided by experts.This may be due to the fact that the perception of intensity can be altered for a variety of reasons. In particular, pale browns tend to be perceived less intensely than dark browns. In addition, the hue and saturation of colors may affect the perception of the intensity. The values of relative intensity features do not depend on the color bases determined at the stain separation stage, but it helps to reproduce the comparative intensity perception of the experts. The prediction of the scores is performed by an unsupervised clustering method in order to add some flexibility to the proposed method rather than setting predefined boundaries between the different classes.
The results obtained on a database of 94 images show that the developed method achieves its goal, predicting image scores automatically and highly correlated with the scores predicted by the experts. The scoring method reaches 94.58 % in terms of accuracy with respect to one of the experts. The lower accuracy obtained has been 76.60 % . These values can be considered as very good, mainly because we have used a five-point scale, which is a high number of possible categories in semi-quantitative studies. Similar results have been obtained with Cohen’s kappa coefficient, which is a statistical measure that adjusts for the effect of chance on the proportion of observed agreement. In particular, the strength of the agreement between the proposed method and the observers was very good except for one of the observers in which the strength was lowered to good. The proposed method can easily be adapted to a number of different categories, and it is able to handle with large datasets.
In the future, we would like to further investigate other features related to color perception that may model the influence of differences in true colors of the images on the scores provided by experts. In our opinion, the relevance of features related with color perception has been understated by the scientific community with current methods focusing on intensity-based features.

Author Contributions

Conceptualization, A.S., I.D.-D. and I.F.; methodology, A.S., I.D.-D. and I.F.; data curation, A.S., I.D.-D., I.F., M.T., C.B. and R.V.D.; formal analysis, A.S., I.D.-D., I.F., M.T., C.B. and R.V.D.; writing—original draft preparation, A.S., I.D.-D. and I.F.; writing—review and editing, A.S., I.D.-D., I.F., M.T. and R.V.D.; funding acquisition, A.S. and R.V.D. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Ministerio de Economía, Industria y Competitividad (MINECO) of the Government of Spain, grant number TEC2017- 82807-P, by the European Regional Development Fund (ERDF), European Union grant number PGC2018-096244-B-I00, SAF2016-75442-R and by FEDER/Junta de Andalucía-Consejería de Economía y Conocimiento grant number US-1264994.

Institutional Review Board Statement

Not applicable.

Data Availability Statement

The data that support this study are available from the author R.V.D., upon reasonable request.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
IHCImmunohistochemistry
RGBRed–Green–Blue
DAB3,3′-Diaminobenzidine
HHematoxylin
CDColor Deconvolution
NMFNon-Negative Matrix Factorization
SNMFSparse Non-Negative Matrix Factorization
KLKullback–Leibler
ISItakura–Saito
ODOptical Density
EDEigendecomposition

References

  1. van der Loos, C.M. Multiple immunoenzyme staining: Methods and visualizations for the observation with spectral imaging. J. Histochem. Cytochem. Off. J. Histochem. Soc. 2008, 56, 313–328. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  2. Kitaya, K.; Yasuo, T. Inter-observer and intra-observer variability in immunohistochemical detection of endometrial stromal plasmacytes in chronic endometritis. Exp. Ther. Med. 2013, 5, 485–488. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  3. Meyerholz, D.K.; Beck, A.P. Fundamental Concepts for Semiquantitative Tissue Scoring in Translational Research. ILAR J. 2018, 59, 13–17. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  4. Fedchenko, N.; Reifenrath, J. Different approaches for interpretation and reporting of immunohistochemistry analysis results in the bone tissue—A review. Diagn. Pathol. 2014, 9, 221. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  5. Aeffner, F.; Wilson, K.; Martin, N.T.; Black, J.C.; Hendriks, C.L.L.; Bolon, B.; Rudmann, D.G.; Gianani, R.; Koegler, S.R.; Krueger, J.; et al. The Gold Standard Paradox in Digital Image Analysis: Manual Versus Automated Scoring as Ground Truth. Arch. Pathol. Lab. Med. 2017, 141, 1267–1275. [Google Scholar] [CrossRef] [Scilit]
  6. Bankhead, P.; Fernández, J.; McArt, D.G.; Boyle, D.P.; Li, G.; Loughrey, M.B.; Irwin, G.W.; Harkin, D.P.; James, J.A.; McQuaid, S.; et al. Integrated tumor identification and automated scoring minimizes pathologist involvement and provides new insights to key biomarkers in breast cancer. Lab. Investig. 2018, 98, 15–26. [Google Scholar] [CrossRef] [Scilit]
  7. Varghese, F.; Bukhari, A.B.; Malhotra, R.; De, A. IHC Profiler: An Open Source Plugin for the Quantitative Evaluation and Automated Scoring of Immunohistochemistry Images of Human Tissue Samples. PLoS ONE 2014, 9, e96801. [Google Scholar] [CrossRef] [Scilit]
  8. Loughrey, M.B.; Bankhead, P.; Coleman, H.G.; Hagan, R.S.; Craig, S.; McCorry, A.M.B.; Gray, R.T.; McQuaid, S.; Dunne, P.D.; Hamilton, P.W.; et al. Validation of the systematic scoring of immunohistochemically stained tumour tissue microarrays using QuPath digital image analysis. Histopathology 2018, 73, 327–338. [Google Scholar] [CrossRef] [Scilit]
  9. Mane, D.R.; Kale, A.D.; Belaldavar, C. Validation of immunoexpression of tenascin-C in oral precancerous and cancerous tissues using ImageJ analysis with novel immunohistochemistry profiler plugin: An immunohistochemical quantitative analysis. J. Oral Maxillofac. Pathol. 2017, 21, 211–217. [Google Scholar] [CrossRef] [Scilit]
  10. Crowe, A.R.; Yue, W. Semi-quantitative Determination of Protein Expression using Immunohistochemistry Staining and Analysis: An Integrated Protocol. Bio-Protoc. 2019, 9, e3465. [Google Scholar] [CrossRef] [Scilit]
  11. Ruifrok, A.C.; Johnston, D.A. Quantification of histochemical staining by color deconvolution. Anal. Quant. Cytol. Histol. 2001, 23, 291–299. [Google Scholar] [PubMed]
  12. Macenko, M.; Niethammer, M.; Marron, J.S.; Borland, D.; Woosley, J.T.; Guan, X.; Schmitt, C.; Thomas, N.E. A method for normalizing histology slides for quantitative analysis. In Proceedings of the 2009 IEEE International Symposium on Biomedical Imaging: From Nano to Macro, Boston, MA, USA, 28 June–1 July 2009; pp. 1107–1110. [Google Scholar] [CrossRef] [Scilit]
  13. Anghel, A.; Stanisavljevic, M.; Andani, S.; Papandreou, N.; Rüschoff, J.; Wild, P.; Gabrani, M.; Pozidis, H. A High-Performance System for Robust Stain Normalization of Whole-Slide Images in Histopathology. Front. Med. 2019, 6, 193. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  14. Salvi, M.; Michielli, N.; Molinari, F. Stain Color Adaptive Normalization (SCAN) algorithm: Separation and standardization of histological stains in digital pathology. Comput. Methods Programs Biomed. 2020, 193, 105506. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  15. Pérez-Bueno, F.; Vega, M.; Sales, M.A.; Aneiros-Fernández, J.; Naranjo, V.; Molina, R.; Katsaggelos, A.K. Blind color deconvolution, normalization, and classification of histological images using general super Gaussian priors and Bayesian inference. Comput. Methods Programs Biomed. 2021, 211, 106453. [Google Scholar] [CrossRef] [Scilit]
  16. Gavrilovic, M.; Azar, J.; Lindblad, J.; Wahlby, C.; Bengtsson, E.; Busch, C.; Carlbom, I. Blind color decomposition of histological images. IEEE Trans. Med Imaging 2013, 32, 983–994. [Google Scholar] [CrossRef] [Scilit]
  17. Geijs, D.J.; Intezar, M.; van der Laak, J.A.W.M.; Litjens, G.J.S. Automatic color unmixing of IHC stained whole slide images. In Proceedings of the SPIE Medical Imaging 2018: Digital Pathology, Houston, TX, USA, 10–15 February 2018; Volume 10581. [Google Scholar] [CrossRef] [Scilit]
  18. Trahearn, N.; Snead, D.; Cree, I.; Rajpoot, N. Multi-class stain separation using independent component analysis. In Proceedings of the SPIE Medical Imaging 2015: Digital Pathology, Orlando, FL, USA, 21–26 February 2015; Gurcan, M.N., Madabhushi, A., Eds.; International Society for Optics and Photonics: Bellingham, WA, USA, 2015; Volume 9420, pp. 113–123. [Google Scholar] [CrossRef] [Scilit]
  19. Carey, D.; Wijayathunga, V.; Bulpitt, A.; Treanor, D. A novel approach for the colour deconvolution of multiple histological stains. In Proceedings of the 19Th Conference of Medical Image Understanding and Analysis, Lincoln, UK, 15–17 July 2015; pp. 156–162. [Google Scholar]
  20. Rabinovich, A.; Agarwal, S.; Laris, C.A.; Price, J.H.; Belongie, S. Unsupervised Color Decomposition of Histologically Stained Tissue Samples. In Proceedings of the 16th International Conference on Neural Information Processing Systems (NIPS’03), Whistler, BC, Canada, 9–11 December 2003; MIT Press: Cambridge, MA, USA, 2003; pp. 667–674. [Google Scholar]
  21. Vahadane, A.; Peng, T.; Sethi, A.; Albarqouni, S.; Wang, L.; Baust, M.; Steiger, K.; Schlitter, A.M.; Esposito, I.; Navab, N. Structure-Preserving Color Normalization and Sparse Stain Separation for Histological Images. IEEE Trans. Med. Imaging 2016, 35, 1962–1971. [Google Scholar] [CrossRef] [Scilit]
  22. Van Eycke, Y.R.; Allard, J.; Salmon, I.; Debeir, O.; Decaestecker, C. Image processing in digital pathology: An opportunity to solve inter-batch variability of immunohistochemical staining. Sci. Rep. 2017, 7, 42964. [Google Scholar] [CrossRef] [Scilit]
  23. Li, X.; Plataniotis, K.N. A Complete Color Normalization Approach to Histopathology Images Using Color Cues Computed From Saturation-Weighted Statistics. IEEE Trans. Biomed. Eng. 2015, 62, 1862–1873. [Google Scholar] [CrossRef] [Scilit]
  24. Geread, R.S.; Morreale, P.; Dony, R.D.; Brouwer, E.; Wood, G.A.; Androutsos, D.; Khademi, A. IHC Color Histograms for Unsupervised Ki67 Proliferation Index Calculation. Front. Bioeng. Biotechnol. 2019, 7, 226. [Google Scholar] [CrossRef] [Scilit]
  25. Ghoshal, B.; Hikmet, F.; Pineau, C.; Tucker, A.; Lindskog, C. DeepHistoClass: A Novel Strategy for Confident Classification of Immunohistochemistry Images Using Deep Learning. Mol. Cell. Proteom. 2021, 20, 100140. [Google Scholar] [CrossRef] [Scilit]
  26. Bencze, J.; Szarka, M.; Kóti, B.; Seo, W.; Hortobágyi, T.G.; Bencs, V.; Módis, L.V.; Hortobágyi, T. Comparison of Semi-Quantitative Scoring and Artificial Intelligence Aided Digital Image Analysis of Chromogenic Immunohistochemistry. Biomolecules 2022, 12, 19. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  27. Uhlén, M.; Fagerberg, L.; Hallström, B.M.; Lindskog, C.; Oksvold, P.; Mardinoglu, A.; Sivertsson, Å.; Kampf, C.; Sjöstedt, E.; Asplund, A.; et al. Proteomics. Tissue-based map of the human proteome. Science 2015, 347, 1260419. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  28. Uhlen, M.; Zhang, C.; Lee, S.; Sjöstedt, E.; Fagerberg, L.; Bidkhori, G.; Benfeitas, R.; Arif, M.; Liu, Z.; Edfors, F.; et al. A pathology atlas of the human cancer transcriptome. Science 2017, 357, eaan2507. [Google Scholar] [CrossRef] [Scilit]
  29. Choudhury, K.R.; Yagle, K.J.; Swanson, P.E.; Krohn, K.A.; Rajendran, J.G. A robust automated measure of average antibody staining in immunohistochemistry images. J. Histochem. Cytochem. Off. J. Histochem. Soc. 2010, 58, 95–107. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  30. Ram, S.; Vizcarra, P.; Whalen, P.; Deng, S.; Painter, C.L.; Jackson-Fisher, A.; Pirie-Shepherd, S.; Xia, X.; Powell, E.L. Pixelwise H-score: A novel digital image analysis-based metric to quantify membrane biomarker expression from immunohistochemistry images. PLoS ONE 2021, 16, e0245638. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  31. Samek, W.; Blythe, D.; Müller, K.R.; Kawanabe, M. Robust Spatial Filtering with Beta Divergence. In Proceedings of the Advances in Neural Information Processing Systems, Lake Tahoe, NV, USA, 5–10 December 2013; Burges, C.J.C., Bottou, L., Welling, M., Ghahramani, Z., Weinberger, K.Q., Eds.; Curran Associates, Inc.: Red Hook, NY, USA, 2013; Volume 26. [Google Scholar]
  32. Jolliffe, I. Principal Component Analysis; Springer Series in Statistics; Springer: Berlin/Heidelberg, Germany, 2002. [Google Scholar]
  33. Cichocki, A.; Zdunek, R.; Amari, S.i. Csiszár’s Divergences for Non-negative Matrix Factorization: Family of New Algorithms. In Proceedings of the Independent Component Analysis and Blind Signal Separation, Charleston, SC, USA, 5–8 March 2006; Rosca, J., Erdogmus, D., Príncipe, J.C., Haykin, S., Eds.; Springer: Berlin/Heidelberg, Germany, 2006; pp. 32–39. [Google Scholar]
  34. Cichocki, A.; Cruces, S.; Amari, S.i. Generalized Alpha-Beta Divergences and Their Application to Robust Nonnegative Matrix Factorization. Entropy 2011, 13, 134–170. [Google Scholar] [CrossRef] [Scilit]
  35. Leplat, V.; Gillis, N.; Févotte, C. Multi-resolution beta-divergence NMF for blind spectral unmixing. Signal Process. 2022, 193, 108428. [Google Scholar] [CrossRef] [Scilit]
  36. Cichocki, A.; Amari, S.I. Families of Alpha- Beta- and Gamma- Divergences: Flexible and Robust Measures of Similarities. Entropy 2010, 12, 1532–1568. [Google Scholar] [CrossRef] [Scilit]
  37. Cichocki, A.; Zdunek, R.; Phan, A.H.; Amari, S.I. Nonnegative Matrix and Tensor Factorizations: Applications to Exploratory Multi-Way Data Analysis and Blind Source Separation; John Wiley & Sons: Hoboken, NJ, USA, 2009. [Google Scholar]
  38. Sarmiento, A.; Fondón, I.; Durán-Díaz, I.; Cruces, S. Centroid-Based Clustering with AB-Divergences. Entropy 2019, 21, 196. [Google Scholar] [CrossRef] [Scilit]
  39. Bodineau, C.; Tomé, M.; Courtois, S.; Costa, A.S.H.; Sciacovelli, M.; Rousseau, B.; Richard, E.; Vacher, P.; Parejo-Pérez, C.; Bessede, E.; et al. Two parallel pathways connect glutamine metabolism and mTORC1 activity to regulate glutamoptosis. Nat. Commun. 2021, 12, 4814. [Google Scholar] [CrossRef] [Scilit]
  40. Landis, J.R.; Koch, G.G. The Measurement of Observer Agreement for Categorical Data. Biometrics 1977, 33, 159–174. [Google Scholar] [CrossRef] [Scilit] [PubMed]
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.