TL;DR
This paper introduces a deep learning approach using U-Net for automatic tidemark segmentation in 3D micro-CT images of osteochondral tissues stained with PTA, improving accuracy in identifying cartilage interfaces relevant to osteoarthritis research.
Contribution
First application of deep learning for tidemark segmentation in PTA-stained osteochondral samples, achieving high accuracy and providing publicly available dataset and code.
Findings
Intersection over union up to 0.86 at 75 μm padding
Method enables fully-automatic tidemark segmentation
Dataset and code are publicly available
Abstract
Three-dimensional (3D) semi-quantitative grading of pathological features in articular cartilage (AC) offers significant improvements in basic research of osteoarthritis (OA). We have earlier developed the 3D protocol for imaging of AC and its structures which includes staining of the sample with a contrast agent (phosphotungstic acid, PTA) and a consequent scanning with micro-computed tomography. Such a protocol was designed to provide X-ray attenuation contrast to visualize AC structure. However, at the same time, this protocol has one major disadvantage: the loss of contrast at the tidemark (calcified cartilage interface, CCI). An accurate segmentation of CCI can be very important for understanding the etiology of OA and ex-vivo evaluation of tidemark condition at early OA stages. In this paper, we present the first application of Deep Learning to PTA-stained osteochondral samples…
Click any figure to enlarge with its caption.
Figure 1
Figure 2
Figure 3
Figure 4
Figure 5
Figure 6
Figure 7| Loss | Pad [] | ||||
|---|---|---|---|---|---|
| 15 | 30 | 45 | 60 | 75 | |
| BCE | |||||
| Focal | 0. | ||||
| BCE-log(Jaccard) | |||||
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
MethodsConcatenated Skip Connection · *Communicated@Fast*How Do I Communicate to Expedia? · Max Pooling · Convolution · U-Net
11institutetext: University of Oulu, Finland 22institutetext: Oulu University Hospital, Finland 33institutetext: University of Helsinki, Helsinki, Finland 44institutetext: Aalto University, Espoo, Finland
Deep-Learning for Tidemark Segmentation in Human Osteochondral Tissues Imaged with Micro-computed Tomography
Aleksei Tiulpin 1122
Mikko Finnilä 11
Petri Lehenkari 1122
Heikki J. Nieminen 113344
Simo Saarakkala 1122
Abstract
Three-dimensional (3D) semi-quantitative grading of pathological features in articular cartilage (AC) offers significant improvements in basic research of osteoarthritis (OA). We have earlier developed the 3D protocol for imaging of AC and its structures which includes staining of the sample with a contrast agent (phosphotungstic acid, PTA) and a consequent scanning with micro-computed tomography. Such a protocol was designed to provide X-ray attenuation contrast to visualize AC structure. However, at the same time, this protocol has one major disadvantage: the loss of contrast at the tidemark (calcified cartilage interface, CCI). An accurate segmentation of CCI can be very important for understanding the etiology of OA and ex-vivo evaluation of tidemark condition at early OA stages. In this paper, we present the first application of Deep Learning to PTA-stained osteochondral samples that allows to perform tidemark segmentation in a fully-automatic manner. Our method is based on U-Net trained using a combination of binary cross-entropy and soft-Jaccard loss. On cross-validation, this approach yielded intersection over the union of 0.59, 0.70, 0.79, 0.83 and 0.86 within 15 , 30 , 45 , 60 and 75 padded zones around the tidemark, respectively. Our codes and the dataset that consisted of 35 PTA-stained human AC samples are made publicly available together with the segmentation masks to facilitate the development of biomedical image segmentation methods.
steoarthritis, 3D Histology, Deep Learning
Keywords:
O
1 Introduction
Osteoarthritis (OA) is a common field of interest in micro-computed tomography (CT) research. OA is primarily characterized by progressive degeneration of structure and composition articular cartilage (AC), along with the sclerotic changes in subchondral bone [4]. These changes in the microstructure of AC and subchondral bone can be visualized in three-dimensions (3D) using CT. Conventionally, without any external X-ray contrast agents or sample processing protocols, only calcified tissue can be visualized. Thus, direct CT imaging of soft tissues, such us AC, is not possible. To mitigate this limitation of X-ray imaging, several contrast agents have been introduced to provide X-ray attenuation contrast for the AC, such as phosphotungstic acid (PTA), CA4+ and others [14, 10, 6].
Specifically for OA, a novel ex-vivo CT contrast method and a protocol to quantify collagen distribution in AC has recently been introduced along with the 3D grading system [10, 11]. There, PTA was validated as a contrast agent, since it directly binds to collagen and significantly increases the attenuation contrast within the cartilage tissue [11, 7]. However, despite the unique possibility to image soft tissues, PTA staining has one major drawback when it is used for osteochondral tissue: X-ray attenuation contrast at the tidemark (calcified cartilage interface; CCI) is lost due to the accumulation of PTA. Another drawback of the PTA staining is the occasional occurrence of non-enhancing regions, i.e. voids, at the CCI [10]. Both of these limitations and the typical examples of the PTA-stained samples analyzed in this study are illustrated in Figure 1.
An accurate analysis of CCI from PTA-stained CT image stacks is of high importance in the evaluation of early OA-induced changes [8]. Two straightforward solutions exist: either to perform a manual annotation of this area, or, alternatively, perform double imaging – with and without PTA. However, both of these options are time consuming and could be avoided with the help of Machine Learning. In clinical OA research Machine Learning is has been applied to various tasks [21, 20, 19, 12, 15, 2], however, its application in OA basic research so far has been limited [1].
Recently, one form of Machine Learning – Deep Learning (DL) has become a gold standard in medical image segmentation [17]. Fully-convolutional neural networks (CNN) have shown drastic improvements in the performance of the segmentation methods and decreased their computational time [17]. In particular, U-Net CNN architecture [16] allowed to significantly improve the bio-medical image segmentation.
In this study, we tackled the problem of automatic tidemark segmentation in PTA-stained osteochondral samples using Deep Learning. This study has the following contributions:
- •
We present a method based on Deep Learning that allows to perform assessment of tidemark in PTA-stained human osteochondral samples.
- •
We also present a data acquisition protocol based that allowed to obtain the segmentation masks without their explicit annotation by a human expert.
- •
In our experiments, we demonstrated the performance of popular U-Net architecture and assessed binary cross-entropy, focal and soft-Jaccard losses.
- •
Finally, we release our source code and the dataset with the ground truth masks for the benefit of the community.
2 Materials and methods
Our imaging pipeline consisted of sample preparation, imaging, data pre-processing and, finally, image segmentation. The graphical illustration of this process is demonstrated in Figure 2 and also in Figure 3, respectively. The following sub-sections describe our methodology in details.
2.1 Samples preparation and imaging protocol
We followed the institutional guidelines and regulations (Institutional ethics approval PPSHP 78/2013, The Northern Ostrobothnia Hospital District’s ethical comittee) during sample extraction. The samples were obtained from patients undergoing total knee arthroplasty surgery (informed consents obtained). At the preparation stage, the osteochondral plugs ({\mathchoice{\begin{picture}(1.0,1.0)\roundcap\put(0.0,0.0){\hbox{\displaystyle\circ}} \put(0.0,0.0){\line(1,1){1.0}} \end{picture}}{\begin{picture}(1.0,1.0)\roundcap\put(0.0,0.0){\hbox{\textstyle\circ}} \put(0.0,0.0){\line(1,1){1.0}} \end{picture}}{\begin{picture}(1.0,1.0)\roundcap\put(0.0,0.0){\hbox{\scriptstyle\circ}} \put(0.0,0.0){\line(1,1){1.0}} \end{picture}}{\begin{picture}(1.0,1.0)\roundcap\put(0.0,0.0){\hbox{\scriptscriptstyle\circ}} \put(0.0,0.0){\line(1,1){1.0}} \end{picture}}}=2mm, depth mm) were drilled from tibial and femoral condyles. These plugs were then frozen under C. Before the imaging, we thawed the osteochondral plugs and fixed them in 10% neutral-buffered formalin for a minimum of days. Subsequently, these plugs were wrapped into parafilm and orthodonic wax to avoid sample drying during the imaging process.
At first, we stained the samples with CA4+ contrast agent and imaged them using a CT system (Bruker microCT Skyscan 1272, Kontich, Belgium; kV, A, m voxel side length, 3050 ms, frames/projection, projections, aluminum filter) to be used in another study. After the imaging, CA4+ was washed out and the plugs were stained in PTA for hours before the second round of imaging with CT using the same imaging settings.
Both CA4+ and and PTA data were reconstructed using NRecon software of version 1.6.10.4; Bruker microCT, Kontich, Belgium. Eventually, these 3D stacks were co-registered using rigid intensity-based registration (mean squared error loss) with a subsequent manual adjustment. Subsequently, CA4+ stacks’ intensities were thresholded to obtain the hard tissue masks used as segmentation ground truth. At the final step of the process, we graded each individual cartilage feature from PTA-stained samples according to the 3D histopathological grading system [10].
2.2 Data pre-processing
Our imaging protocol allowed to obtain the 3D volumes of human cartilage and the mask annotations for the underlying mineralized tissues. The original size of the reconstructed samples ranges from to pixels in width and to pixels in height (including the empty space around the sample). To harmonize the data and reduce its size, we firstly cut the bottom % of the scanned volume and performed a global contrast normalization of its intensities to range. Subsequently, we performed a thresholding with a cut-off and summed all the intensities of the obtained volume along the Z-axis. We used active contours method from OpenCV [3] to identify the largest closed contour in the obtained summed image and then identified its center of mass.
Having the center of mass of the sample in XY plane, we performed the cropping of the original volumes and the corresponding ground truth masks to the size of (XYZ) voxels. All the volumes and their masks were then split into ZX and ZY slices to enlarge the dataset in slice-wise segmentation done by a U-Net-like Deep Neural Network [16].
2.3 Network Architecture
Our model is inspired by U-Net [16] with minor modifications. Here, we used 24 convolutional filters as the base width of our model and doubled this quantity every time after the max-pooling layer. The depth of the model was set to 6 and bilinear interpolation was used in the decoder of our model. Finally, every convolutional module of the model had two consequent blocks of convolution, batch normalization and ReLU layers.
2.4 Loss function
In this study, we evaluated several loss functions. As such, we investigated Binary Cross-Entropy (BCE), soft-Jaccard loss (; J – soft-Jaccard index), focal loss and also a combination of BCE and soft jaccard losses. Instead of computing a direct sum of BCE and soft-Jaccard losses, Iglovikov et al. [5] proposed to combine BCE and a negative of :
[TABLE]
where are the model’s weights, are the images and are the ground truth segmentation masks. We found that the loss in equation 1 yields better performance than when computing soft-Jaccard without a logarithm.
2.5 Evaluation metric
As a main evaluation metric, we used Jaccard coefficent (intersection over the union, IoU). IoU was computed only at the area padded around the tidemark. In particular, we identified the location of the tidemark slice-by-slice and for every slice we created a padded region of pixels. Such masks allowed to estimate the IoU only within the zone of the interest ignoring the other, non-relevant parts of the sample, e.g. bone. Besides the IoU, we also computed the complimentary metrics: Dice’s and Volumetric similarity scores.
3 Experiments
3.1 Implementation details
We implemented our models and training pipelines using PyTorch [13].To augment our data, we applied random cropping, horizontal flip and random gamma-correction, varying value of gamma from to . To make our model applicable to the real-life scenario when the black edges (air around the sample) are seen in the full sample, we first performed a padding to pixels before random cropping. For the validation set, we used the original size of the images of . We used SOLT library [18] to perform data augmentation.
All our experiments were conducted with Adam optimizer [9], batch size of , learning rate of and a weight decay of . For the focal loss, we used the standard hyperparameters: and . All the experiments were done using group-5-fold stratified cross-validation, where the group division was performed by subject id and stratification was done using the previously mentioned 3D histopathological grades obtained for the calcified zone [10].
We assessed the results on sample-wise out-of-fold predictions. Here, we averaged the inference results for each sample’s ZX and ZY slices and thresholded the obtained masks with the threshold of for the combined loss and 0.5 for BCE and focal losses, respectively. The padding values for computing the IoU were set to 15 , 30 , 45 , 60 , 75 , 90 , 105 , 120 , 135 and 150 .
3.2 Segmentation performance
The performance of our network with different loss functions on cross-validation for IoU, Dice’s and Volumetric similarity scores is presented in Figure 4.
More fine-grained assessment of the median values of the performance metrics and their standard deviations is presented in Table 1. From Figure 4 and Table 1 it can be seen that for all the metrics, a combination of BCE and jaccard losses from equation 1 yields better performance in the close proximity to the tidemark.
4 Conclusion
In this study, we for the first time applied Deep Learning to CT imaged osteochondral samples in order to segment the tidemark. The results presented in this paper are promising and indicate the possibility of accurate CCI segmentation even with a 2-dimensional method. Despite this, we believe that the presented results can further be improved. In particular, we think that a optimizing the segmentation of the tidemark directly with a volumetric model, e.g. 3D U-Net could yield better results. Finally, the future studies should also leverage other, surface-related metrics, e.g. hausdorff distance for more precise assessment of the segmentation results. The codes and the dataset are released on the project’s GitHub page: https://github.com/MIPT-Oulu/mCTSegmentation.
5 Acknowledgements
This work was supported by Academy of Finland (grants 268378, 303786, 311586 and 314286), European Research Council under the European Union’s Seventh Framework Programme (FP/2007-2013)/ERC Grant Agreement no. 336267, the strategic funding of the University of Oulu and KAUTE foundation. We would also like to acknowledge CSC IT Center for Science, Finland, for generous computational resources. Tuomas Frondelius is acknowledged for the initial experiments with the data and Santeri Rytky is acknowledged for the useful comments and proofreading of the paper.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] Abidin, A.Z., Deng, B., D Souza, A.M., Nagarajan, M.B., Coan, P., Wismüller, A.: Deep transfer learning for characterizing chondrocyte patterns in phase contrast x-ray computed tomography images of the human patellar cartilage. Computers in biology and medicine 95 , 24–33 (2018)
- 2[2] Antony, J., Mc Guinness, K., O’Connor, N.E., Moran, K.: Quantifying radiographic knee osteoarthritis severity using deep convolutional neural networks. In: 2016 23rd International Conference on Pattern Recognition (ICPR). pp. 1195–1200. IEEE (2016)
- 3[3] Bradski, G.: The Open CV Library. Dr. Dobb’s Journal of Software Tools (2000)
- 4[4] Glyn-Jones, S., Palmer, A., Agricola, R., Price, A., Vincent, T., Weinans, H., Carr, A.: Osteoarthritis. The Lancet 386 (9991), 376–387 (2015)
- 5[5] Iglovikov, V., Shvets, A.: Ternausnet: U-net with vgg 11 encoder pre-trained on imagenet for image segmentation. ar Xiv preprint ar Xiv:1801.05746 (2018)
- 6[6] Karhula, S.S., Finnilä, M.A., Freedman, J.D., Kauppinen, S., Valkealahti, M., Lehenkari, P., Pritzker, K.P., Nieminen, H.J., Snyder, B.D., Grinstaff, M.W., et al.: Micro-scale distribution of ca 4+ in ex vivo human articular cartilage detected with contrast-enhanced micro-computed tomography imaging. Frontiers in Physics 5 , 38 (2017)
- 7[7] Karhula, S.S., Finnilä, M.A., Lammi, M.J., Ylärinne, J.H., Kauppinen, S., Rieppo, L., Pritzker, K.P., Nieminen, H.J., Saarakkala, S.: Effects of articular cartilage constituents on phosphotungstic acid enhanced micro-computed tomography. Plo S one 12 (1), e 0171075 (2017)
- 8[8] Kauppinen, S., Karhula, S., Thevenot, J., Ylitalo, T., Rieppo, L., Kestilä, I., Haapea, M., Hadjab, I., Finnilä, M., Quenneville, E., et al.: 3d morphometric analysis of calcified cartilage properties using micro-computed tomography. Osteoarthritis and cartilage 27 (1), 172–180 (2019)
