11email: [email protected] 22institutetext: Peng Cheng Laboratory, Shenzhen, China 33institutetext: Guangdong Provincial Key Laboratory of Aerospace Communication and Networking Technology, Harbin Institute of Technology (Shenzhen), Shenzhen, China 44institutetext: International Research Institute for Artificial Intelligence, Harbin Institute of Technology (Shenzhen), Shenzhen, China
Centerline Boundary Dice Loss for Vascular Segmentation
Abstract
Vascular segmentation in medical imaging plays a crucial role in analysing morphological and functional assessments. Traditional methods, like the centerline Dice (clDice) loss, ensure topology preservation but falter in capturing geometric details, especially under translation and deformation. The combination of clDice with traditional Dice loss can lead to diameter imbalance, favoring larger vessels. Addressing these challenges, we introduce the centerline boundary Dice (cbDice) loss function, which harmonizes topological integrity and geometric nuances, ensuring consistent segmentation across various vessel sizes. cbDice enriches the clDice approach by including boundary-aware aspects, thereby improving geometric detail recognition. It matches the performance of the boundary difference over union (B-DoU) loss through a mask-distance-based approach, enhancing traslation sensitivity. Crucially, cbDice incorporates radius information from vascular skeletons, enabling uniform adaptation to vascular diameter changes and maintaining balance in branch growth and fracture impacts. Furthermore, we conducted a theoretical analysis of clDice variants (cl-X-Dice). We validated cbDice’s efficacy on three diverse vascular segmentation datasets, encompassing both 2D and 3D, and binary and multi-class segmentation. Particularly, the method integrated with cbDice demonstrated outstanding performance on the MICCAI 2023 TopCoW Challenge dataset. Our code is made publicly available at: https://github.com/PengchengShi1220/cbDice.
Keywords:
Vascular segmentation, Centerline boundary loss, Diameter balance1 Introduction
Advancements in deep learning have remarkably enhanced medical image segmentation, especially in vasculature, revolutionizing diagnostic and interventional radiology. However, prevalent metrics frequently neglect domain-specific needs, exposing significant deficiencies [10, 15]. Vascular segmentation encounters three significant challenges: (1) preserving the topology of the vascular network to enable accurate hemodynamic analysis; (2) capturing the intricate geometric morphologies vital for the diagnosis of conditions like stenosis; (3) attaining balanced segmentation across vessel diameters and consistent width adjustments within each branch to mitigate diameter imbalance (see Fig. 1).
In this paper, we seek to address a fundamental question: How to encompass topology, geometry, and vessel diameter consistency in vascular segmentation? Recent advancements in the field of vascular segmentation have been significantly driven by the integration of deep neural networks that utilize both topological [4, 13, 20, 17, 11, 7, 14, 2] and geometric [24, 13, 23, 12, 18, 14] principles. While significant strides have been made, particularly in designing loss functions to mitigate data imbalance in medical image segmentation [6, 28, 22, 27], a comprehensive analytical framework in this domain remains elusive. Our study aims to bridge this gap by proposing the centerline boundary Dice (cbDice) loss function. Distinctively, cbDice integrates boundary awareness with radius information extracted from vascular skeletons. This methodology facilitates equitable segmentation across vessels of differing diameters, critically preserving topological integrity. Our contributions in this study are multifaceted: (1) We introduce the unified clDice variants (cl-X-Dice) loss, a new framework combining topology, geometry, and vessel diameter consistency for vascular segmentation. (2) We refine the centerline Dice (clDice) loss with geometric considerations, equating its performance to the boundary difference over union (B-DoU) loss through a mask-distance-based method that enhances traslation sensitivity. (3) We enhance the cbDice loss by integrating radius information from vascular skeletons. This enables uniform adaptation to changes in vascular diameter, ensuring a balanced impact on fractures or growth across various branches. (4) We conduct a theoretical analysis to show the scrutinizing their responsiveness to geometric transformations among different cl-X-Dice implementations. Additionally, we evaluate cbDice loss across a range of vascular segmentation datasets, covering 2D and 3D dimensions and both binary and multi-class segmentation tasks.
Related works: (i) Topologically, maintaining connectivity, as underscored by persistent homology [4, 1, 13, 20], centerline or skeletonization techniques [17, 11], and Euler characteristic methods [7], is essential. The emergence of topology-aware uncertainty estimation [2] has also played a significant role. Despite advancements, challenges remain. For example, the clDice loss function [17], though effective in ensuring topological integrity, has limitations in capturing geometric nuances, especially during translation and deformation. This underscores the need for approaches that harmoniously balance topological fidelity with precise morphological representation in vessel imagery. (ii) Geometrically, boundary precision is highlighted by methods such as the B-DoU loss [21] and edge-reinforced networks [24]. Techniques such as dynamic snake convolution [13] target fine, intricate features. In medical image segmentation, distance map-based approaches are crucial, including shape-aware segmentation with signed distance maps [25], and CNN integration of distance transform maps [9]. Recent techniques that combine centerlines with distance maps have demonstrated the capability to constrain both the skeleton and the geometric morphology in tubular structure segmentation [23, 18]. However, they lack comprehensive integration within a loss function, a crucial aspect for enhancing applicability and generalization, and have not been adequately linked with centerline-based metrics like the clDice. Although the normalized skeleton distance transform (NSDT) clDice loss [14] considers geometry based on clDice, this method overlooks the challenges posed by diameter imbalance. (iii) Imbalance is a common issue in medical image segmentation, where traditional loss functions like the Dice loss exhibit a bias towards larger anatomical structures. To address this issue, recent studies have introduced a range of targeted solutions, including boundary loss [6], focal Dice loss [28], combo loss [22], and unified focal loss [27]. These approaches are designed to mitigate imbalanced segmentation. However, they do not specifically address the problem of imbalanced vessel diameter in vascular segmentation, while also neglecting the connectivity of the vascular network.
2 Methodology
Preliminaries. This method first processes an input through a model to generate an output , where and denote the number of input and output channels, respectively. Subsequently, the output is transformed into a binary mask, denoted by . Here, signifies the total number of pixels or voxels, defined as for 2D images, or for 3D volumes, where , , and represent width, height, and depth, respectively. The mask is defined as , comprising mask points () with value 1, and background points () with value 0. The corresponding skeleton , derived from , consisting of with skeletal points () valued 1, and background points () valued 0. Both and belong to . The subscripts P and L respectively denote the prediction and the reference. We begin by examining the traditional clDice[17], introduced for topology preservation:
(1) |
(2) |
where and are the masks of predicted and labeled segments. The skeletons and are extracted from and respectively.
Variations of clDice. Fig. 2 illustrates the stepwise evolution of the cl-X-Dice. Our method models tubular structures as entities with variable radius: employing normals to the skeleton line for depicting radius changes in 2D, and using circular cross-sections aligned along the central line in 3D. This alignment facilitates volume estimation through the application of set-based expressions. The set signifies the minimum distances from mask points () in to their respective boundaries, defined as , thus forming the distance map. The set , associated with skeletal points in , is defined as , representing skeletal points () with corresponding skeletal radius (). The radius of each skeletal point in is derived from the distance map , resulting in the set . Conversely, denotes the set of inverse skeleton radius for the same skeletal points in . , and are elements of . To reconcile differences between skeleton line and distance map computations, values in exceeding are adjusted to . Hence, the range of is [0, ] and the range of is [1, ]. For the mask points located either in a 2D plane perpendicular to the centerline or in a 3D cross-section, which include a skeleton point with a corresponding skeleton radius , the distance from each of the mask points to the boundary is within the range of [1, ]. The cl-X-Dice metric is designed to address segmentation challenges in vasculatures of varying diameters:
(3) |
(4) |
(5) |
where we define with each element set to 1. We introduce variables and to address geometric and vascular diameter imbalance aspects in segmentation processes. These variables are crucial for the detailed analysis of vascular structures. A comprehensive comparison of the cl-X-Dice for vascular segmentation is available in Table 1. Key notations for are defined as: and . Additionally, normalized ratios are represented as and . Figure 3 demonstrates how different metrics respond to translation, deformation, and diameter imbalance. We extensively analyze the cl-X-Dice metric’s theoretical response to geometric transformations. For a detailed proof, see the supplementary materials.
Metric | cl-D | cl-S-D | cl-M-D | cl-MS-D | cl-MI-D | cl-MSN-D | cl-MIN-D | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dim | 2D | 3D | 2D | 3D | 2D | 3D | 2D | 3D | 2D | 3D | 2D | 3D | 2D | 3D |
3 Experiments
3.1 Datasets
We evaluate our proposed methodology across three vascular segmentation datasets. The DRIVE dataset [19], a benchmark for 2D retinal vessel imaging, includes 40 color fundus photographs (584x565 pixels), split into 16 training, 4 validation, and 20 testing images. For 3D CT pulmonary artery segmentation, the MICCAI 2022 Parse Challenge dataset [8] comprises 100 CT scans (512x512x228 to 512x512x376 pixels), with 80 for training and 20 for validation and testing. Lastly, the MICCAI 2023 TopCoW Challenge dataset [26] consists of 90 brain MRA cases (approximately 481x586x185 pixels), with 72 for training and 18 for validation and testing.
Loss | X | – | – | B-DoU | B-DoU | cl-M-Dice | clDice | cbDice | cbDice | cbDice |
---|---|---|---|---|---|---|---|---|---|---|
0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | ||
0 | 0 | 1 | 1 | 1 | 1 | 0.5 | 1 | 2 | ||
Overlap | Dice | 81.8 | 82.4 | 82.2 | 82.3 | 82.4 | 82.3 | 82.5 | 82.4 | 82.3 |
clDice | 81.2 | 82.3 | 81.9 | 82.1 | 82.3 | 82.2 | 82.3 | 82.4 | 82.2 | |
Topology | 345 | 360 | 339 | 343 | 356 | 355 | 358 | 361 | 351 | |
631 | 599 | 620 | 611 | 599 | 605 | 590 | 601 | 607 | ||
Distance | NSD | 86.1 | 86.9 | 87.0 | 87.1 | 87.1 | 86.8 | 87.2 | 87.0 | 86.9 |
3.2 Setup
We conducted our experiments using PyTorch 2.1, utilizing NVIDIA V100 for increased computational efficiency. All experiments were trained from scratch on the nnU-Net V2 framework [5]. In standardizing our experimental setup, we opted not to use deep supervision, set the batch size to 2, and adjusted other parameters according to the default configurations of nnU-Net for each dataset. Additionally, for the TopCoW 2023 dataset, we disabled mirror augmentation to prevent the incorrect flipping of left and right labels. We rigorously assessed the effectiveness of the cbDice loss across a range of state-of-the-art segmentation models from the TopCoW 2023 Challenge [26] and from other recent studies. This assessment included nnU-Net [5], SwinUNETR [3] and NexToU [16]. The comparative study involved several loss functions: standard Dice loss, clDice loss [17], B-DoU loss [21], and our proposed cl-M-Dice and cbDice loss. Segmentation performance was evaluated using key metrics in overlap (Dice and clDice [17]), topology (Betti Number error and Betti Matching error [20]), and distance (Normalized Surface Distance (NSD) at 1.0mm tolerance, following [12, 10]). and correspond to the Betti number error and the Betti matching error, respectively. We adopted the topology preserving differentiable skeleton extraction algorithm described in [11], and implemented the Euclidean distance transform using a GPU-accelerated approach with the cuCIM library. Aligning with nnU-Net, we maintain the Cross Entropy (CE) loss. The loss function is , where X denotes cl-X-Dice or B-DoU [21]. Parameters and are non-negative numbers; with both set to 0, it reverts to CE loss.
3.3 Results
Our method demonstrates effectiveness in 2D and 3D binary segmentation tasks. Detailed analysis of the DRIVE dataset, as presented in Table 2, demonstrates that the cbDice loss significantly improves overlap metrics. Specifically, it achieves the highest Dice score of 82.5% and a clDice score of 82.4%. Additionally, the cbDice variant with reaches a top NSD of 87.2%. In parallel, cl-M-Dice performs comparably to B-DoU. Within the Parse 2022 dataset, the cbDice loss is effective in maintaining both topology and geometry in vascular structures, as evidenced by improved segmentation Dice scores, increased NSD scores, and reduced topological errors.
The cbDice loss approach has substantially improved vascular segmentation, especially in precision and topological integrity of small structures. This is particularly significant in the TopCoW 2023 dataset, as shown in Table 3. The metric , denoted by ’–’, is not calculated for multi-class segmentation if not all classes are segmented. Our comparative visualization for the TopCoW, as shown in Figure 4, effectively highlights segmentation errors, with arrows indicating false negatives, false positives, and misclassifications. Our loss function, which incorporates cbDice, contrasts starkly with the standard CE and Dice loss (=1, =0) and the combination of CE, Dice, and clDice loss (X=clDice, =1, =1). It exhibits superior performance, particularly in multi-class segmentation and enhancing connectivity among different vessel classes. The cbDice approach outperforms conventional Dice and clDice methods in terms of scores, while also reducing false positives and negatives. For example, nnU-Net with cbDice achieves Dice(S) scores as high as 43.38% at and values of 1 and 2, surpassing clDice’s 38.46%. Similarly, NexToU with cbDice attains a peak Dice(S) of 48.43% at and . Overall, the cbDice loss approach represents a significant advancement in accurately segmenting small and complex vascular structures across diverse datasets. For 2D binary segmentation, setting the hyperparameter to 0.5 or 1 offers advantages. In 3D binary segmentation, values of 1 or 2 are more effective. For 3D multi-class imbalanced segmentation, a value of 2 or 3 is recommended. Its effectiveness in maintaining structural integrity and precision underscores the need for tailored values to optimize performance for specific network architectures and datasets.
Network | Loss | Parse 2022 (50 epochs) | TopCoW 2023 (100 epochs, classes average) | ||||||||||
X | Dice | clDice | NSD | Dice(L) | Dice(S) | clDice | NSD(L) | NSD(S) | |||||
nnU-Net | – | 0 | 0 | 82.55 | 68.91 | 331.5 | 78.51 | 81.51 | 7.012 | 90.10 | – | 89.78 | 14.08 |
– | 1 | 0 | 85.05 | 80.11 | 277.7 | 86.04 | 84.03 | 0 | 88.22 | – | 91.90 | 0 | |
clDice | 1 | 1 | 85.30 | 80.23 | 263.4 | 86.20 | 84.21 | 38.46 | 90.72 | – | 92.45 | 47.85 | |
cbDice | 1 | 1 | 85.46 | 80.76 | 266.1 | 86.57 | 84.11 | 41.55 | 91.34 | 0.96 | 92.21 | 50.42 | |
cbDice | 1 | 2 | 84.91 | 80.02 | 275.8 | 85.98 | 84.01 | 43.38 | 91.95 | 0.98 | 91.99 | 54.11 | |
cbDice | 1 | 3 | 84.97 | 78.98 | 285.6 | 85.26 | 84.18 | 42.68 | 90.63 | 0.95 | 92.67 | 51.76 | |
SwinUNETR | – | 0 | 0 | 78.91 | 58.53 | 508.7 | 70.80 | 61.22 | 0 | 88.64 | – | 70.64 | 0 |
– | 1 | 0 | 81.94 | 69.87 | 496.9 | 78.33 | 83.19 | 37.32 | 90.18 | 1.40 | 89.55 | 46.36 | |
clDice | 1 | 1 | 82.06 | 70.12 | 499.4 | 78.80 | 83.16 | 34.72 | 90.03 | 1.31 | 90.73 | 43.65 | |
cbDice | 1 | 1 | 82.19 | 71.04 | 476.5 | 79.36 | 82.29 | 37.34 | 90.21 | 1.43 | 89.51 | 46.49 | |
cbDice | 1 | 2 | 81.88 | 69.96 | 469.0 | 78.89 | 82.86 | 38.38 | 90.56 | 1.29 | 90.70 | 48.37 | |
cbDice | 1 | 3 | 81.59 | 68.62 | 477.5 | 77.54 | 83.09 | 38.85 | 90.24 | 1.27 | 90.67 | 47.52 | |
NexToU | – | 0 | 0 | 81.33 | 64.80 | 387.7 | 75.35 | 56.33 | 0 | 89.93 | – | 67.79 | 0 |
– | 1 | 0 | 85.08 | 79.39 | 288.5 | 85.49 | 84.52 | 42.37 | 90.44 | 0.99 | 92.30 | 51.82 | |
clDice | 1 | 1 | 84.88 | 79.27 | 274.3 | 85.23 | 84.30 | 43.90 | 90.19 | 0.66 | 92.02 | 53.31 | |
cbDice | 1 | 1 | 85.19 | 80.07 | 248.95 | 85.88 | 84.32 | 44.51 | 90.72 | 0.68 | 92.18 | 55.62 | |
cbDice | 1 | 2 | 85.22 | 79.72 | 216.2 | 85.56 | 84.37 | 47.39 | 90.45 | 0.65 | 92.37 | 57.71 | |
cbDice | 1 | 3 | 85.05 | 79.18 | 289.6 | 85.31 | 84.21 | 48.43 | 90.89 | 0.66 | 92.30 | 58.91 |
4 Conclusion
In this study, we introduce the cbDice loss, an innovative advancement within the clDice loss framework, further elaborated through a series of cl-X-Dice metrics. These developments specifically cater to the complexities of vascular segmentation in medical imaging. Extensive evaluations across diverse datasets have validated the efficacy of our method in preserving topological integrity, capturing geometric detail, and maintaining balanced diameter representation in vascular segmentation tasks. Comparative analysis against leading models and loss functions have demonstrated the superior capability of the cbDice loss in meeting the intricate demands of vascular segmentation.
4.0.1 Acknowledgements
This work was supported in part by the National Natural Science Foundation of China under Grant 62276081 and 62106113, in part by the National Key Research and Development Program of China under Grant 2021YFC2501202, and in part by the Major Key Project of Peng Cheng Laboratory under Grant PCL2023A09.
4.0.2 \discintname
The authors have no competing interests to declare that are relevant to the content of this article.
References
- [1] Clough, J.R., Byrne, N., Oksuz, I., Zimmer, V.A., Schnabel, J.A., King, A.P.: A topological loss function for deep-learning based image segmentation using persistent homology. IEEE transactions on pattern analysis and machine intelligence 44(12), 8766–8778 (2020)
- [2] Gupta, S., Zhang, Y., Hu, X., Prasanna, P., Chen, C.: Topology-aware uncertainty for image segmentation. Advances in Neural Information Processing Systems 36 (2024)
- [3] Hatamizadeh, A., Nath, V., Tang, Y., Yang, D., Roth, H.R., Xu, D.: Swin unetr: Swin transformers for semantic segmentation of brain tumors in mri images. In: International MICCAI Brainlesion Workshop. pp. 272–284. Springer (2021)
- [4] Hu, X., Li, F., Samaras, D., Chen, C.: Topology-preserving deep image segmentation. Advances in neural information processing systems 32 (2019)
- [5] Isensee, F., Jaeger, P.F., Kohl, S.A., Petersen, J., Maier-Hein, K.H.: nnu-net: a self-configuring method for deep learning-based biomedical image segmentation. Nature methods 18(2), 203–211 (2021)
- [6] Kervadec, H., Bouchtiba, J., Desrosiers, C., Granger, E., Dolz, J., Ayed, I.B.: Boundary loss for highly unbalanced segmentation. In: International conference on medical imaging with deep learning. pp. 285–296. PMLR (2019)
- [7] Li, L., Ma, Q., Ouyang, C., Li, Z., Meng, Q., Zhang, W., Qiao, M., Kyriakopoulou, V., Hajnal, J.V., Rueckert, D., et al.: Robust segmentation via topology violation detection and feature synthesis. In: International Conference on Medical Image Computing and Computer-Assisted Intervention. pp. 67–77. Springer (2023)
- [8] Luo, G., Wang, K., Liu, J., Li, S., Liang, X., Li, X., Gan, S., Wang, W., Dong, S., Wang, W., et al.: Efficient automatic segmentation for multi-level pulmonary arteries: The parse challenge. arXiv preprint arXiv:2304.03708 (2023)
- [9] Ma, J., Wei, Z., Zhang, Y., Wang, Y., Lv, R., Zhu, C., Gaoxiang, C., Liu, J., Peng, C., Wang, L., et al.: How distance transform maps boost segmentation cnns: an empirical study. In: Medical Imaging with Deep Learning. pp. 479–492. PMLR (2020)
- [10] Maier-Hein, L., Reinke, A., Godau, P., Tizabi, M.D., Buettner, F., Christodoulou, E., Glocker, B., Isensee, F., Kleesiek, J., Kozubek, M., et al.: Metrics reloaded: recommendations for image analysis validation. Nature methods pp. 1–18 (2024)
- [11] Menten, M.J., Paetzold, J.C., Zimmer, V.A., Shit, S., Ezhov, I., Holland, R., Probst, M., Schnabel, J.A., Rueckert, D.: A skeletonization algorithm for gradient-based optimization. In: Proceedings of the IEEE/CVF International Conference on Computer Vision. pp. 21394–21403 (2023)
- [12] Nikolov, S., Blackwell, S., Zverovitch, A., Mendes, R., Livne, M., De Fauw, J., Patel, Y., Meyer, C., Askham, H., Romera-Paredes, B., et al.: Clinically applicable segmentation of head and neck anatomy for radiotherapy: deep learning algorithm development and validation study. Journal of medical Internet research 23(7), e26151 (2021)
- [13] Qi, Y., He, Y., Qi, X., Zhang, Y., Yang, G.: Dynamic snake convolution based on topological geometric constraints for tubular structure segmentation. In: Proceedings of the IEEE/CVF International Conference on Computer Vision. pp. 6070–6079 (2023)
- [14] Qiu, Y., Li, Z., Wang, Y., Dong, P., Wu, D., Yang, X., Hong, Q., Shen, D.: Corsegrec: a topology-preserving scheme for extracting fully-connected coronary arteries from ct angiography. In: International Conference on Medical Image Computing and Computer-Assisted Intervention. pp. 670–680. Springer (2023)
- [15] Reinke, A., Tizabi, M.D., Baumgartner, M., Eisenmann, M., Heckmann-Nötzel, D., Kavur, A.E., Rädsch, T., Sudre, C.H., Acion, L., Antonelli, M., et al.: Understanding metric-related pitfalls in image analysis validation. Nature methods pp. 1–13 (2024)
- [16] Shi, P., Guo, X., Yang, Y., Ye, C., Ma, T.: Nextou: Efficient topology-aware u-net for medical image segmentation. arXiv preprint arXiv:2305.15911 (2023)
- [17] Shit, S., Paetzold, J.C., Sekuboyina, A., Ezhov, I., Unger, A., Zhylka, A., Pluim, J.P., Bauer, U., Menze, B.H.: cldice-a novel topology-preserving loss function for tubular structure segmentation. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. pp. 16560–16569 (2021)
- [18] Song, Z., Chai, S., Zhu, E.: Segmentation of aorta with aortic dissection based on centerline and boundary distance. In: 2022 41st Chinese Control Conference (CCC). pp. 7292–7297. IEEE (2022)
- [19] Staal, J., Abràmoff, M.D., Niemeijer, M., Viergever, M.A., Van Ginneken, B.: Ridge-based vessel segmentation in color images of the retina. IEEE transactions on medical imaging 23(4), 501–509 (2004)
- [20] Stucki, N., Paetzold, J.C., Shit, S., Menze, B., Bauer, U.: Topologically faithful image segmentation via induced matching of persistence barcodes. In: International Conference on Machine Learning. pp. 32698–32727. PMLR (2023)
- [21] Sun, F., Luo, Z., Li, S.: Boundary difference over union loss for medical image segmentation. In: International Conference on Medical Image Computing and Computer-Assisted Intervention. pp. 292–301. Springer (2023)
- [22] Taghanaki, S.A., Zheng, Y., Zhou, S.K., Georgescu, B., Sharma, P., Xu, D., Comaniciu, D., Hamarneh, G.: Combo loss: Handling input and output imbalance in multi-organ segmentation. Computerized Medical Imaging and Graphics 75, 24–33 (2019)
- [23] Wang, Y., Wei, X., Liu, F., Chen, J., Zhou, Y., Shen, W., Fishman, E.K., Yuille, A.L.: Deep distance transform for tubular structure segmentation in ct scans. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. pp. 3833–3842 (2020)
- [24] Xia, L., Zhang, H., Wu, Y., Song, R., Ma, Y., Mou, L., Liu, J., Xie, Y., Ma, M., Zhao, Y.: 3d vessel-like structure segmentation in medical images by an edge-reinforced network. Medical Image Analysis 82, 102581 (2022)
- [25] Xue, Y., Tang, H., Qiao, Z., Gong, G., Yin, Y., Qian, Z., Huang, C., Fan, W., Huang, X.: Shape-aware organ segmentation by predicting signed distance maps. In: Proceedings of the AAAI Conference on Artificial Intelligence. pp. 12565–12572 (2020)
- [26] Yang, K., Musio, F., Ma, Y., Juchler, N., Paetzold, J.C., Al-Maskari, R., Höher, L., Li, H.B., Hamamci, I.E., Sekuboyina, A., et al.: Benchmarking the cow with the topcow challenge: Topology-aware anatomical segmentation of the circle of willis for cta and mra. arXiv preprint arXiv:2312.17670 (2023)
- [27] Yeung, M., Sala, E., Schönlieb, C.B., Rundo, L.: Unified focal loss: Generalising dice and cross entropy-based losses to handle class imbalanced medical image segmentation. Computerized Medical Imaging and Graphics 95, 102026 (2022)
- [28] Zhao, R., Qian, B., Zhang, X., Li, Y., Wei, R., Liu, Y., Pan, Y.: Rethinking dice loss for medical image segmentation. In: 2020 IEEE International Conference on Data Mining (ICDM). pp. 851–860. IEEE (2020)
5 Supplementary Material
Theoretical Analysis of clDice Variants. This section delves into the theoretical foundations and geometric sensitivities of cl-X-Dice metrics in vascular segmentation. We introduce three theorems to elucidate the behavior and computation of cl-X-Dice metrics:
Theorem 5.1
For vertical translations along skeleton lines without deformation, cl-M-Dice coefficient is sensitive to translations of mask within radius , whereas clDice remains invariant.
Proof
In 2D, cl-M-Dice is defined thus (extendable analogously to 3D):
(6) |
(7) |
Under vertical translations maintaining constant radius, equals . This reduces cl-M-Dice’s denominator to (and analogously for ), making its sensitivity dependent solely on the numerator. Hence, cl-M-Dice reacts to spatial displacements of within . Conversely, clDice, assessing overlap between and , is not influenced by these variations.
Theorem 5.2
cl-S-Dice, unlike clDice, is sensitive to radius variations at the skeleton under deformation without perpendicular translation. In cases of complete overlap, cl-S-Dice equals clDice with a value of 1.
Proof
In 2D, cl-S-Dice is defined thus (extendable analogously to 3D):
(8) |
For clDice (partial overlap), changes in radius (, ) affect both and . Specifically, with and , variances in at any modify cl-S-Dice. When clDice (complete overlap), and , aligning cl-S-Dice with clDice, highlighting cl-S-Dice’s sensitivity to radius changes in other scenarios.
Theorem 5.3
cl-X-Dice enhances geometric sensitivity and compensates for diameter differences while preserving clDice’s topological integrity.
Proof
The cl-X-Dice metric, through the incorporation of variables and , offers an advanced sensitivity to geometric alterations, including size and shape variability, while upholding the topological preservation traits of clDice.
(9) |
(10) |
Eq. 9 and Eq. 10 represent a balanced approach, maintaining topological accuracy while adapting to geometric variances, thus achieving an equilibrium between topological integrity and geometric precision.
CoW Anterior Variants | CoW Posterior Variants | ||||||
(n=11) | (n=2) | (n=5) | (n=4) | (n=6) | (n=8) | ||
nnU-Net | CE+Dice | 0% | 0% | 0% | 0% | 17% | 50% |
CE+Dice+clDice | 64% | 50% | 0% | 75% | 67% | 75% | |
CE+Dice+cbDice | 64% | 50% | 40% | 75% | 83% | 75% | |
SwinUNETR | CE+Dice | 36% | 0% | 20% | 100% | 67% | 50% |
CE+Dice+clDice | 45% | 50% | 0% | 75% | 100% | 63% | |
CE+Dice+cbDice | 45% | 50% | 20% | 100% | 100% | 88% | |
NexToU | CE+Dice | 55% | 50% | 40% | 50% | 50% | 50% |
CE+Dice+clDice | 73% | 50% | 40% | 100% | 67% | 63% | |
CE+Dice+cbDice | 73% | 50% | 60% | 100% | 67% | 75% |
Category | Abbreviation | Full Name |
---|---|---|
Non-communicating arteries | BA | Basilar Artery |
R-PCA | Right Posterior Cerebral Artery | |
L-PCA | Left Posterior Cerebral Artery | |
R-ICA | Right Internal Carotid Artery | |
R-MCA | Right Middle Cerebral Artery | |
L-ICA | Left Internal Carotid Artery | |
L-MCA | Left Middle Cerebral Artery | |
R-ACA | Right Anterior Cerebral Artery | |
L-ACA | Left Anterior Cerebral Artery | |
Communicating arteries | R-Pcom | Right Posterior Communicating Artery |
L-Pcom | Left Posterior Communicating Artery | |
Acom | Anterior Communicating Artery | |
3rd-A2 | A2 segment of the Anterior Cerebral Artery |