TransMedSeg: A Transferable Semantic Framework for Semi-Supervised Medical Image Segmentation