ViTUNet: Vision Transformer U-Net Hybrid Model for Carious Lesions Segmentation on Bitewing Dental Images
Source abstract
Abstract
Meticulous segmentation of medical images requires obtaining both local and global spatial detailed information. The conventional U-Net model excels at local spatial feature extraction through residual convolutional blocks but struggles to capture global features. To resolve this issue, we propose the vision transformer U-NeT (ViTUNet) model framework, which combines the self-attention mechanism of the vision transformer (ViT) to capture global information while maintaining the extraction of local features via U-NeT. This proposed architecture introduces vision transformers to the existing residual convolution blocks in the U-Net encoder path, thereby capturing both local and global features. The decoder path then rebuilds this information into high-quality segmentation maps with accurately highlighted boundaries/edges. This model is utilized to segment carious lesions in bitewing dental radiographs. These images are pre-processed using augmentation, morphological operations, and segmentation to identify the boundaries/edges of the regions of interest (caries/cavity). The proposed method is evaluated on an augmented dataset containing 3000 image–watershed mask pairs. It was trained on 2400 training images and tested on 600 testing images. The experimental results exemplified significant improvements in segmentation performance, achieving 98.45% validation accuracy, 97.88% validation Dice coefficient, and 95.87% validation intersection over union (IoU) metric scores. These results are superior compared to other conventional and state-of-the-art U-NeT models, thus highlighting the impact of transformer-based hybrid architectures in improving medical image segmentation tasks.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Dental Radiography and Imaging · Dental Research and COVID-19 · COVID-19 diagnosis using AI
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Department of Computer Science, University of South Africa, Preller Street, Muckleneuk Ridge, Pretoria 1709, South Africa
Funding
UNIVERSITY OF SOUTH AFRICA
References (33)
Show source-provided references
1. DenUnet: Enhancing dental image segmentation through edge and body fusion10.1007/s11042-024-19513-0 ↗
2. Exploring the role of Convolutional Neural Networks (CNN) in dental radiography segmentation: A comprehensive Systematic Literature Review10.1016/j.engappai.2024.108510 ↗
3. Assessment of CNNs, transformers, and hybrid architectures in dental image segmentation10.1016/j.jdent.2025.105668 ↗
4. Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A.N., Kaiser, Ł, and Polosukhin, I. (2017). Attention is all you need. Adv. Neural Inf. Process. Syst., 30.
5. Dosovitskiy, A. (2020). An image is worth 16x16 words: Transformers for image recognition at scale. arXiv.
6. Data dentistry: How data are changing clinical care and research10.1177/00220345211020265 ↗
7. Hatamizadeh, A., Tang, Y., Nath, V., Yang, D., Myronenko, A., Landman, B., Roth, H.R., and Xu, D. (2022, January 3–8). Unetr: Transformers for 3d medical image segmentation. Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision, Waikoloa, HI, USA.10.1109/WACV51458.2022.00181 ↗
8. Detection and localization of caries and hypomineralization on dental photographs with a vision transformer model10.1038/s41746-023-00944-2 ↗
9. Sivagami, S., Chitra, P., Kailash, G.S.R., and Muralidharan, S.R. (2020). Unet architecture based dental panoramic image segmentation. 2020 International Conference on Wireless Communications Signal Processing and Networking (WiSPNET), IEEE.10.1109/WiSPNET48689.2020.9198370 ↗
10. Koch, T.L., Perslev, M., Igel, C., and Brandt, S.S. (2019). Accurate segmentation of dental panoramic radiographs with U-Nets. 2019 IEEE 16th International Symposium on Biomedical Imaging (ISBI 2019), IEEE.10.1109/ISBI.2019.8759563 ↗
11. Refined tooth and pulp segmentation using U-Net in CBCT image10.1259/dmfr.20200251 ↗
12. A comprehensive review of ai and deep learning applications in dentistry: From image segmentation to treatment planning
13. Publicly available dental image datasets for artificial intelligence10.1177/00220345241272052 ↗
14. Semantic segmentation on panoramic dental x-ray images using u-net architectures10.1109/ACCESS.2024.3380027 ↗
15. Automatic semantic segmentation for dental restorations in panoramic radiography images using U-Net model10.1002/ima.22803 ↗
16. Tragakis, A., Kaul, C., Murray-Smith, R., and Husmeier, D. (2023). The fully convolutional transformer for medical image segmentation. Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision, IEEE.10.1109/WACV56688.2023.00365 ↗
17. Huang, X., Deng, Z., Li, D., and Yuan, X. (2021). Missformer: An effective medical image segmentation transformer. arXiv.
18. Volumetric medical image segmentation via a 3d transformer10.1109/TIP.2023.3293771 ↗
19. Perera, S., Navard, P., and Yilmaz, A. (2024). Segformer3d: An efficient transformer for 3d medical image segmentation. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, IEEE.10.1109/CVPRW63382.2024.00503 ↗
20. Valanarasu, J.M.J., Oza, P., Hacihaliloglu, I., and Patel, V.M. (2021). Medical transformer: Gated axial-attention for medical image segmentation. International Conference on Medical Image Computing and Computer-Assisted Intervention, Springer International Publishing.10.1007/978-3-030-87193-2_4 ↗
21. Ho, J., Kalchbrenner, N., Weissenborn, D., and Salimans, T. (2019). Axial attention in multidimensional transformers. arXiv.
22. Xie, Y., Zhang, J., Shen, C., and Xia, Y. (2021). Cotr: Efficiently bridging cnn and transformer for 3d medical image segmentation. International Conference on Medical Image Computing and Computer-Assisted Intervention, Springer International Publishing.10.1007/978-3-030-87199-4_16 ↗
23. Scribformer: Transformer makes cnn work better for scribble-based medical image segmentation10.1109/TMI.2024.3363190 ↗
24. H2former: An efficient hierarchical hybrid transformer for medical image segmentation10.1109/TMI.2023.3264513 ↗
25. 3D medical image segmentation using parallel transformers10.1016/j.patcog.2023.109432 ↗
26. Gao, Y., Zhou, M., and Metaxas, D.N. (2021). UTNet: A hybrid transformer architecture for medical image segmentation. International Conference on Medical Image Computing and Computer-Assisted Intervention, Springer International Publishing.10.1007/978-3-030-87199-4_6 ↗
27. Huang, H., Xie, S., Lin, L., Iwamoto, Y., Han, X., Chen, Y.W., and Tong, R. (2022). ScaleFormer: Revisiting the transformer-based backbones from a scale-wise perspective for medical image segmentation. arXiv.10.24963/ijcai.2022/135 ↗
28. Transattunet: Multi-level attention-guided u-net with transformer for medical image segmentation10.1109/TETCI.2023.3309626 ↗
29. Kybic, J., Tichý, A., and Kunt, L. (2023). Dental caries in bitewing radiographs. Mendeley Data, 1.
30. Buslaev, A., Iglovikov, V.I., Khvedchenya, E., Parinov, A., Druzhinin, M., and Kalinin, A.A. (2020). Albumentations: Fast and flexible image augmentations. Information, 11.10.3390/info11020125 ↗
31. Liu, X., and Goh, K.M. (2025). ResNet: Enabling Deep Convolutional Neural Networks through Residual Learning. arXiv.
32. Ba, J.L., Kiros, J.R., and Hinton, G.E. (2016). Layer normalization. arXiv.
33. Majanga, V., Mnkandla, E., Koulla Moulla, D., Thotempudi, S., and Sena, A.D. (2025). Watershed encoder–decoder neural network for nuclei segmentation of breast cancer histology images. Bioengineering, 13.10.3390/bioengineering13020154 ↗