Keywords

1 Introduction

The extracellular matrix (ECM) is a highly dynamic structure that is present in all tissues that continuously undergoes controlled remodeling; this is an essential process for development, wound healing and normal organ homeostasis. Many pathological conditions, such as inflammation, cardiovascular disease and tumor cells metastasis, arise when extracellular matrix remodeling becomes excessive or uncontrolled [12]. The analysis and quantification of the ECM degradation by cancer cells is thus a crucial feature to consider in order to determine their metastatic potential [4, 5, 20, 21]. To analyze the invasiveness of tumor cells by means of quantification of the ECM degradation, in vitro assays based on cells cultured on a gelatin-coated support, are often used [10]. Measures of the possible degradation of the gelatin matrix allow a quantification of the invasiveness of tumor cells. Different fluorescence substances are generally used to label with different colors the cells and the gelatin support. This process is required to allow the acquisition of two digital images, after a given period of observation of the assay of interest: one image includes only the tumor cells (in the following, cell image), while the second image represents the gelatin support (in the following, gelatin image) located under the tumor cells of the first image (see Fig. 1). The digital images are processed to perform the measure of the degradation areas for each tumor cell. Specifically, segmentation processes of the two acquired images are used to extract the regions of interest (cells and degradation areas, respectively); then, image analysis methods are performed to find both the correspondence between a cell and the relative degradation areas, and the computation of the area of these regions.

Fig. 1
figure 1

Example of an assay. a Cell image; b gelatin image

Many segmentation methods have been reported for the analysis of biological preparations [3, 8]. They differ in the type of measurements to be carried out [17, 19], in the type of cell images [2, 16] and in the complexity of these images [18, 22]. In particular, for the types of images of interest in the present study, segmentation processes based on threshold algorithms are commonly adopted: they produce a binary image in which the foreground represents the regions of interest. The binarization processes and the quantification of the degradation areas are performed by means of standardized procedures based on available image processing software [1, 6, 13, 14].

One of the most popular procedures used for this scope, is described in [13] and involves the following steps:

  • a manual threshold setting for each binarization process;

  • an indication of the feature to compute (for this context, the area);

  • the choice of processes to eliminate the noise;

  • the selection of the cells for which the degradation areas has to be calculated.

The main limitation of such a procedure is the necessary interaction with the user for the choice of the threshold values to apply in the binarization processes and the methods to remove noise from foreground. Such an interaction can produce arbitrary and subjective measures [7, 9]. In this paper, we propose a method to perform a fully automatic computation of the degradation areas, obtaining quickly results on the whole set of tumor cells under examination.

2 Method

The binarization of the cell image is performed using the faster version [11] of the Multi Otsu Threshold Algorithm [15]. This algorithm requires the definition of the following parameters: the range [mM] of gray levels in which the threshold values should be computed and the number n of classes in which the image should be partitioned. Generally \(m=0\) and \(M=255\); in this work, the first parameter is automatically defined considering the minimum and maximum values of the gray levels associated to current image. On the basis of the value of the second parameter n, the algorithm provides n threshold values \(t_1=m\), \(t_2\ldots \), \(t_n < M\). The choice of the second parameter n depends on the type of the image to be segmented. Clearly, a binarization process implies a partition of the image in two classes (foreground and background) and for this, n should be set to 2 to generate a threshold value \(m<t_2<M\); however, the partition performed on the basis of the value \(t_2\) might produce an under or over segmentation. For this, a value \(n>2\) can be appropriate to generate more threshold values and use one of the threshold values or the combination of these values to obtain the correct partition of the image. To obtain the appropriate values of n for both binarization processes, a set of tests has been performed on a dataset of 30 assays, including the digital images of the tumor cells and gelatin supports. Accordingly, the appropriate number n of classes, for the cell images, has been chosen equal to 3. Thus, the algorithm provides three threshold values \(t_1=m\), \(t_2\) and \(t_3 < M\); the foreground of the cell image is represented from pixels with gray levels belonging to the range \([t_2,M]\), while the set of remaining pixels represents the background (see Fig. 2a). To reduce the noise in the binarized image, the holes present in the regions of the foreground are filled (see Fig. 2b).

Fig. 2
figure 2

binarization of the image of Fig. 1. a Foreground in green and background in blue; b reduction of noise

The foreground associated to the cell image is now used as a mask to binarize only the parts of gelatin image in which degradation areas could be detected. In particular, a connected component labeling is performed on the foreground of cell image so that any region of the foreground, representing a cell, is labeled by a single value. For each cell, a new image is built including only the part of the gelatin image corresponding to the selected cell (see Fig. 3a). The same threshold algorithm used for the cell image is applied on this new image, but the values m e M are computed only in the area masked by the current cell and n is experimentally set to 5 to generate five threshold values \(t_1=m\), ..., \(t_5 < M\). Since the degradation regions are the dark regions of the images (on the contrary, the cells are lighter than other regions in the relative image), pixels with low gray levels should be taken into account for the detection of the foreground. Precisely, the foreground of the current image is represented from pixels with gray levels belonging to the range \([t_1, (t_2+t_3)/2]\); the set of remaining pixels represents the background. To eliminate the noise on the found foreground, the same process applied to cell image is carried out (see Fig. 3b). Finally, the area of the foreground is computed.

Fig. 3
figure 3

a Gelatin support related to the first cell; b binarization with reduction of noise: foreground in red and background in blue

As soon as the degradation areas of all cells are evaluated, the final result is shown to the user. More precisely, the contours of the cells are outlined in green, and the gelatin degradation areas are visualized in red (see Fig. 4a); moreover, the values of the total degradation area for each cell are given in a table (see Fig. 4b).

Fig. 4
figure 4

Result of the detection of the degradation areas. a Contours of the cells in green, and degradation regions in red; b measure of the degradation area

Since in some cases, several small degradation areas may not be detected, an optional step to improve the binarization is introduced. In particular, the user can draw a rectangle around the region of interest (ROI). The binarization, with \(n=3\), is performed on the ROI and the foreground is given by the set of pixels with value less or equal to \(t_2\). An example of this improvement process is displayed in Fig. 5.

Fig. 5
figure 5

Example of semi-automatic improvement of the binarization on a magnified part of the Fig. 4a. a The blue rectangle is defined by the user to obtain a better detection of the degradation area in this part; b improved detection of degraded area

Fig. 6
figure 6

a Cells images; b gelatin images; c results of the procedure [13] for the cell outlined in green. Only the red degraded areas included into the selected cell are successively taken into account; d results of the proposed, automatic method

3 Results

To evaluate the advantages of the method presented in this study a comparison with the procedure proposed in [13] has been performed. For this, biologists were employed to measure the degradation areas for the dataset of 30 assays, by adopting the standard procedure proposed in [13] and applying, at the same time, our method without taking into account the optional step for the improvement of the binarization. Biologists evaluated the results and confirmed that our method produces generally a comparable or a more accurate detection of degraded areas, for a set of samples large enough. Some examples of the results obtained by applying the two methods are shown in Fig. 6, while comparisons of the quantitative results on the computation of the degradation areas for a given cell, are reported in Table 1. Since different results for the procedure [13] has been obtained by different users, the manual threshold values reported in the Table 1, represent the average of the values provided by biologists employed in the test.

Table 1 Results of the calculation of the degradation areas

Generally, the threshold values obtained manually for the binarization of the gelatin image are slightly higher than the values automatically computed. This implies that the degradation areas calculated with the procedure in [13] are always a little greater than the ones computed with the method we are reporting. A reason for this phenomenon is partly due to the incorrect human perception of contours of not well defined degraded areas and to the presence of small noisy regions produced by the over segmentation.

According to the overall evaluation of biologists on the use of our method, the advantages can be summarized as follows: (1) the measures can be obtained very rapidly and consistently; (2) no requirement for selecting a threshold values as for the procedure [13]; (3) reproducibility of the results, independently from the operators; (4) a more accurate identification of the degraded areas.

4 Conclusion

In this paper a fully automatic method for the computation of the ECM degradation areas produced by tumor cells is presented. The method is based on automatic binarization processes of the images obtained on assays of tumor cells cultured on gelatin-coated dishes. Comparisons with the standard semi-automatic procedures reported earlier [13], indicate that the detection and the quantification of the degradation areas are faster and their identification more accurate according to our method; moreover, the choice of parameters is completely unbiased as it is independent from the operators.