Advancing Medical Image Segmentation With Transformers: Investigations Into Selfsupervised And Supervised Learning