Keywords: MR-Guided Interventions, Segmentation
Motivation: Localization of liver, liver vessels, and interventional needle on 3D magnetic resonance imaging (MRI) provides essential information for MR-guided interventions.
Goal(s): To develop a multi-class network for segmenting the three classes on intra-procedural 3D MRI.
Approach: 3D Swin UNEt Transformer (UNETR) with pre-trained model weights was trained with data augmentation. Needle localization was performed based on the predicted needle segmentation.
Results: In six-fold cross validation of 42 3D images, the multi-class model achieved median Dice scores of 0.87, 0.64, 0.76 for liver, liver vessels and needle. The needle tip localization showed improvements compared to a single-class 3D Swin UNETR model.
Impact: We trained the 3D Swin UNETR for 3D liver, liver vessel, and interventional needle segmentation on intra-procedural 3D MRI and showed that the needle localization performance can be improved using multi-class model compared to single-class model for needle localization.
1. Kaye EA, Granlund KL, Morris EA, Maybody M, Solomon SB. Closed-Bore Interventional MRI: Percutaneous Biopsies and Ablations. American Journal of Roentgenology. 2015;205(4):W400-W410. doi:10.2214/AJR.15.14732
2. DeAngelis GA, Moran RE, Fajardo LL, Mugler JP, Christopher JM, Harvey JA. MRI-guided needle localization: Technique. Seminars in Ultrasound, CT and MRI. 2000;21(5):337-350. doi:10.1016/S0887-2171(00)90028-3
3. Alhonnoro T, Pollari M, Lilja M, et al. Vessel Segmentation for Ablation Treatment Planning and Simulation. In: Jiang T, Navab N, Pluim JPW, Viergever MA, eds. Medical Image Computing and Computer-Assisted Intervention – MICCAI 2010. Lecture Notes in Computer Science. Springer; 2010:45-52. doi:10.1007/978-3-642-15705-9_6
4. Morris EA, Liberman L, Dershaw DD, et al. Preoperative MR Imaging—Guided Needle Localization of Breast Lesions. American Journal of Roentgenology. 2002;178(5):1211-1220. doi:10.2214/ajr.178.5.1781211
5. Ansari MY, Abdalla A, Ansari MY, et al. Practical utility of liver segmentation methods in clinical surgeries and interventions. BMC Medical Imaging. 2022;22(1):97. doi:10.1186/s12880-022-00825-2
6. Mehrtash A, Ghafoorian M, Pernelle G, et al. Automatic Needle Segmentation and Localization in MRI With 3-D Convolutional Neural Networks: Application to MRI-Targeted Prostate Biopsy. IEEE Transactions on Medical Imaging. 2019;38(4):1026-1036. doi:10.1109/TMI.2018.2876796
7. Ciecholewski M, Kassjański M. Computational Methods for Liver Vessel Segmentation in Medical Imaging: A Review. Sensors. 2021;21(6):2027. doi:10.3390/s21062027
8. Orlando N, Gyacskov I, Gillies DJ, et al. Effect of dataset size, image quality, and image type on deep learning-based automatic prostate segmentation in 3D ultrasound. Phys Med Biol. 2022;67(7):074002. doi:10.1088/1361-6560/ac5a93
9. Hatamizadeh A, Nath V, Tang Y, Yang D, Roth HR, Xu D. Swin UNETR: Swin Transformers for Semantic Segmentation of Brain Tumors in MRI Images. In: Crimi A, Bakas S, eds. Brainlesion: Glioma, Multiple Sclerosis, Stroke and Traumatic Brain Injuries. Lecture Notes in Computer Science. Springer International Publishing; 2022:272-284. doi:10.1007/978-3-031-08999-2_22
10. Pieper S, Halle M, Kikinis R. 3D Slicer. In: 2004 2nd IEEE International Symposium on Biomedical Imaging: Nano to Macro (IEEE Cat No. 04EX821). ; 2004:632-635 Vol. 1. doi:10.1109/ISBI.2004.1398617
11. Tang Y, Yang D, Li W, et al. Self-Supervised Pre-Training of Swin Transformers for 3D Medical Image Analysis. In: ; 2022:20730-20740. Accessed April 19, 2023. https://openaccess.thecvf.com/content/CVPR2022/html/Tang_Self-Supervised_Pre-Training_of_Swin_Transformers_for_3D_Medical_Image_Analysis_CVPR_2022_paper.html
12. Kumar RP. Fast Blood Vessel Segmentation for Surgical and Interventional Planning and Navigation. Doctoral thesis. 2014. Accessed November 2, 2023. https://www.duo.uio.no/handle/10852/41751
13. Lu DSK, Raman SS, Vodopich DJ, Wang M, Sayre J, Lassman C. Effect of Vessel Size on Creation of Hepatic Radiofrequency Lesions in Pigs. American Journal of Roentgenology. 2002;178(1):47-51. doi:10.2214/ajr.178.1.1780047
Figure 1: Overview of the 3D Swin UNETR architecture (W:256, H:256, D:128). Outputs of the network are segmentation labels for liver (red), liver vessels (blue), and needle (yellow). We adopted pre-trained weights from self-supervised learning on publicly available CT images. The 3D MRI datasets were expanded 15-fold for training through data augmentation by random rotation (0°–360°), horizontal flipping, vertical flipping, translation, zooming, and adding Gaussian noise. The model was trained on one NVIDIA RTX A6000 GPU card.
Figure 2: Volume-rendered views of example segmentation reference and model predicted liver (red), liver vessel (blue), and needle feature segmentation (yellow) using 3D MRI.
Figure 3: 2D views of example segmentation reference and model predicted liver (red), liver vessel (blue), and needle feature (yellow) segmentation on axial, sagittal and coronal planes. The shown case has Dice scores of 0.90, 0.72, 0.85 for liver, liver vessel, and needle.
Figure 4: Violin plots of Dice scores of liver, liver vessel and needle from multi-class model and single-class needle segmentation model. The multi-class model achieved median [interquartile range (IQR)] Dice scores of 0.87 [0.05], 0.64 [0.08], 0.76 [0.13] for liver, liver vessels, and needle. The single-class needle segmentation model achieved 0.8 [0.15]. In Mann–Whitney U test, there was no significant difference between the multi-class and single-class needle segmentation Dice score (p=0.09). The numbers shown on the violin plot are the medians of the Dice scores.
Figure 5: Violin plots of 3D needle axis (a) and needle tip (b) localization errors of multi-class and single-class models. For multi-class model, the median [IQR] needle tip localization error was 1.65 [1.39] mm (single-class: 1.94 [1.31] mm) , and median needle axis localization error was 1.05° [1.37°] (single-class: 0.98° [0.79°]). In Mann–Whitney U test, there was significant difference between the needle tip localization error of multi-class and single-class needle segmentation methods (p=0.046), but no significant difference between needle axis localization error.