{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,16]],"date-time":"2026-09-16T15:01:09Z","timestamp":1789570869137,"version":"build-2803163510"},"reference-count":55,"publisher":"MDPI AG","issue":"9","license":[{"start":{"date-parts":[[2026,5,5]],"date-time":"2026-05-05T00:00:00Z","timestamp":1777939200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"DOI":"10.13039\/501100004775","name":"Natural Science Foundation of Gansu Province","doi-asserted-by":"publisher","award":["25JRRA666"],"award-info":[{"award-number":["25JRRA666"]}],"id":[{"id":"10.13039\/501100004775","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Sensors"],"abstract":"<jats:p>Traditional deep learning-based models have achieved promising results in medical image segmentation. However, their performance degrades severely when applied to unseen domains due to variations in imaging protocols, acquisition devices, and patient populations across medical centers, which lead to significant distribution shifts. With the emergence of the Segment Anything Model (SAM), a single model now exhibits significantly improved generalization and adaptability to various image types. Nevertheless, while SAM has learned structure representations from large-scale natural images, it lacks fine-grained structural knowledge specific to the medical imaging domain, remaining relatively invariant across imaging domains. In addition, its structural enhancement is vulnerable to unreliable prompts, and patch-wise inference disrupts structural continuity, leading to suboptimal performance in capturing anatomical details. To address this, we propose a novel Medical Fine-grained Segment Anything Model (termed MedFineSAM), which integrates three key modules: shared fine-grained structural enhancement, which extracts and selectively enhances fine-grained structural features shared between prompts and image embeddings via a structural dictionary; a prompt gating mechanism, which estimates prompt confidence and dynamically adjusts prompt weights to avoid erroneous enhancement; and a structural continuity diffusion in frequency domain (SCFD), which performs frequency-domain smoothing during decoding to alleviate structural discontinuity caused by patch aggregation. Experiments on the fundus benchmark and prostate MRI benchmark demonstrate superior generalization performance, offering new insights into leveraging SAM for single-source domain generalization in medical image segmentation.<\/jats:p>","DOI":"10.3390\/s26092879","type":"journal-article","created":{"date-parts":[[2026,5,5]],"date-time":"2026-05-05T10:01:30Z","timestamp":1777975290000},"page":"2879","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":1,"title":["Fine-Grained Perception for Fundus and Prostate Medical Image Segmentation"],"prefix":"10.3390","volume":"26","author":[{"ORCID":"https:\/\/orcid.org\/0009-0006-7531-5535","authenticated-orcid":false,"given":"Qiao","family":"Ba","sequence":"first","affiliation":[{"name":"School of Information Science and Engineering, Lanzhou University, Lanzhou 730000, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Jia-Xuan","family":"Jiang","sequence":"additional","affiliation":[{"name":"School of Information Science and Engineering, Lanzhou University, Lanzhou 730000, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-5430-1587","authenticated-orcid":false,"given":"Yuee","family":"Li","sequence":"additional","affiliation":[{"name":"School of Information Science and Engineering, Lanzhou University, Lanzhou 730000, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-8648-9999","authenticated-orcid":false,"given":"Zhong","family":"Wang","sequence":"additional","affiliation":[{"name":"School of Information Science and Engineering, Lanzhou University, Lanzhou 730000, China"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1968","published-online":{"date-parts":[[2026,5,5]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","unstructured":"Ronneberger, O., Fischer, P., and Brox, T. (2015). U-net: Convolutional networks for biomedical image segmentation. Proceedings of the International Conference on Medical Image Computing and Computer-Assisted Intervention, Munich, Germany, 5\u20139 October 2015, Springer.","DOI":"10.1007\/978-3-319-24574-4_28"},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"203","DOI":"10.1038\/s41592-020-01008-z","article-title":"nnU-Net: A self-configuring method for deep learning-based biomedical image segmentation","volume":"18","author":"Isensee","year":"2021","journal-title":"Nat. Methods"},{"key":"ref_3","doi-asserted-by":"crossref","first-page":"60","DOI":"10.1016\/j.media.2017.07.005","article-title":"A survey on deep learning in medical image analysis","volume":"42","author":"Litjens","year":"2017","journal-title":"Med. Image Anal."},{"key":"ref_4","first-page":"4396","article-title":"Domain generalization: A survey","volume":"45","author":"Zhou","year":"2022","journal-title":"IEEE Trans. Pattern Anal. Mach. Intell."},{"key":"ref_5","unstructured":"Zhou, K., Yang, Y., Qiao, Y., and Xiang, T. (2021). Domain generalization with mixstyle. arXiv."},{"key":"ref_6","doi-asserted-by":"crossref","unstructured":"Wang, P., Zhang, Z., Lei, Z., and Zhang, L. (2023, January 18\u201322). Sharpness-aware gradient matching for domain generalization. Proceedings of the IEEE\/CVF Conference on Computer Vision and Pattern Recognition, Vancouver, BC, Canada.","DOI":"10.1109\/CVPR52729.2023.00367"},{"key":"ref_7","doi-asserted-by":"crossref","unstructured":"Khandelwal, P., and Yushkevich, P. (2020). Domain generalizer: A few-shot meta learning framework for domain generalization in medical imaging. Proceedings of the MICCAI Workshop on Domain Adaptation and Representation Transfer, Lima, Peru, 4\u20138 October 2020, Springer.","DOI":"10.1007\/978-3-030-60548-3_8"},{"key":"ref_8","doi-asserted-by":"crossref","unstructured":"Kamnitsas, K., Baumgartner, C., Ledig, C., Newcombe, V., Simpson, J., Kane, A., Menon, D., Nori, A., Criminisi, A., and Rueckert, D. (2017). Unsupervised domain adaptation in brain lesion segmentation with adversarial networks. Proceedings of the International Conference on Information Processing in Medical Imaging, Boone, NC, USA, 25\u201330 June 2017, Springer.","DOI":"10.1007\/978-3-319-59050-9_47"},{"key":"ref_9","doi-asserted-by":"crossref","unstructured":"Dou, Q., Ouyang, C., Chen, C., Chen, H., and Heng, P.A. (2018). Unsupervised cross-modality domain adaptation of convnets for biomedical image segmentations with adversarial loss. arXiv.","DOI":"10.24963\/ijcai.2018\/96"},{"key":"ref_10","doi-asserted-by":"crossref","first-page":"1173","DOI":"10.1109\/TBME.2021.3117407","article-title":"Domain adaptation for medical image analysis: A survey","volume":"69","author":"Guan","year":"2021","journal-title":"IEEE Trans. Biomed. Eng."},{"key":"ref_11","doi-asserted-by":"crossref","first-page":"130120","DOI":"10.1016\/j.neucom.2025.130120","article-title":"Multi-receptive field feature disentanglement with Distance-Aware Gaussian Brightness Augmentation for single-source domain generalization in medical image segmentation","volume":"638","author":"Wang","year":"2025","journal-title":"Neurocomputing"},{"key":"ref_12","doi-asserted-by":"crossref","first-page":"109828","DOI":"10.1016\/j.bspc.2026.109828","article-title":"Disentangled contrastive learning with adaptive resampling for generalizable joint optic disc and cup segmentation","volume":"119","author":"Jiang","year":"2026","journal-title":"Biomed. Signal Process. Control"},{"key":"ref_13","doi-asserted-by":"crossref","unstructured":"Su, Z., Yao, K., Yang, X., Huang, K., Wang, Q., and Sun, J. (2023, January 8\u201312). Rethinking data augmentation for single-source domain generalization in medical image segmentation. Proceedings of the AAAI Conference on Artificial Intelligence, Washington, DC, USA.","DOI":"10.1609\/aaai.v37i2.25332"},{"key":"ref_14","doi-asserted-by":"crossref","first-page":"1095","DOI":"10.1109\/TMI.2022.3224067","article-title":"Causality-inspired single-source domain generalization for medical image segmentation","volume":"42","author":"Ouyang","year":"2022","journal-title":"IEEE Trans. Med. Imaging"},{"key":"ref_15","unstructured":"Chen, T., Kornblith, S., Norouzi, M., and Hinton, G. (2020, January 13\u201318). A simple framework for contrastive learning of visual representations. Proceedings of the International Conference on Machine Learning, Virtual Event."},{"key":"ref_16","doi-asserted-by":"crossref","first-page":"106801","DOI":"10.1016\/j.bspc.2024.106801","article-title":"Structure-aware single-source generalization with pixel-level disentanglement for joint optic disc and cup segmentation","volume":"99","author":"Jiang","year":"2025","journal-title":"Biomed. Signal Process. Control"},{"key":"ref_17","doi-asserted-by":"crossref","unstructured":"Hu, S., Liao, Z., and Xia, Y. (2023). Devil is in channels: Contrastive single domain generalization for medical image segmentation. Proceedings of the International Conference on Medical Image Computing and Computer-Assisted Intervention, Vancouver, BC, Canada, 8\u201312 October 2023, Springer.","DOI":"10.1007\/978-3-031-43901-8_2"},{"key":"ref_18","doi-asserted-by":"crossref","unstructured":"Liu, Q., Dou, Q., and Heng, P.A. (2020). Shape-aware meta-learning for generalizing prostate MRI segmentation to unseen domains. Proceedings of the International Conference on Medical Image Computing and Computer-Assisted Intervention, Lima, Peru, 4\u20138 October 2020, Springer.","DOI":"10.1007\/978-3-030-59713-9_46"},{"key":"ref_19","doi-asserted-by":"crossref","unstructured":"Chen, C., Li, Z., Ouyang, C., Sinclair, M., Bai, W., and Rueckert, D. (2022). Maxstyle: Adversarial style composition for robust medical image segmentation. Proceedings of the International Conference on Medical Image Computing and Computer-Assisted Intervention, Singapore, 18\u201322 September 2022, Springer.","DOI":"10.1007\/978-3-031-16443-9_15"},{"key":"ref_20","unstructured":"DeVries, T., and Taylor, G.W. (2017). Improved regularization of convolutional neural networks with cutout. arXiv."},{"key":"ref_21","unstructured":"Xu, Z., Liu, D., Yang, J., Raffel, C., and Niethammer, M. (2020). Robust and generalizable visual representation learning via random convolutions. arXiv."},{"key":"ref_22","doi-asserted-by":"crossref","first-page":"654","DOI":"10.1038\/s41467-024-44824-z","article-title":"Segment anything in medical images","volume":"15","author":"Ma","year":"2024","journal-title":"Nat. Commun."},{"key":"ref_23","first-page":"3523","article-title":"Image segmentation using deep learning: A survey","volume":"44","author":"Minaee","year":"2021","journal-title":"IEEE Trans. Pattern Anal. Mach. Intell."},{"key":"ref_24","doi-asserted-by":"crossref","unstructured":"Guo, Y., Stutz, D., and Schiele, B. (2023, January 18\u201322). Improving robustness of vision transformers by reducing sensitivity to patch corruptions. Proceedings of the IEEE\/CVF Conference on Computer Vision and Pattern Recognition, Vancouver, BC, Canada.","DOI":"10.1109\/CVPR52729.2023.00400"},{"key":"ref_25","doi-asserted-by":"crossref","unstructured":"Kim, H., Shin, Y., and Hwang, D. (2023). Dimix: Disentangle-and-mix based domain generalizable medical image segmentation. Proceedings of the International Conference on Medical Image Computing and Computer-Assisted Intervention, Vancouver, BC, Canada, 18\u201322 June 2023, Springer.","DOI":"10.1007\/978-3-031-43898-1_24"},{"key":"ref_26","doi-asserted-by":"crossref","unstructured":"Kirillov, A., Mintun, E., Ravi, N., Mao, H., Rolland, C., Gustafson, L., Xiao, T., Whitehead, S., Berg, A.C., and Lo, W.Y. (2023, January 2\u20136). Segment anything. Proceedings of the IEEE\/CVF International Conference on Computer Vision, Paris, France.","DOI":"10.1109\/ICCV51070.2023.00371"},{"key":"ref_27","doi-asserted-by":"crossref","unstructured":"Zhang, K., and Liu, D. (2023). Customized segment anything model for medical image segmentation. arXiv.","DOI":"10.2139\/ssrn.4495221"},{"key":"ref_28","doi-asserted-by":"crossref","unstructured":"Gao, Y., Xia, W., Hu, D., Wang, W., and Gao, X. (2024). Desam: Decoupled segment anything model for generalizable medical image segmentation. Proceedings of the International Conference on Medical Image Computing and Computer-Assisted Intervention, Marrakesh, Morocco, 6\u201310 October 2024, Springer.","DOI":"10.1007\/978-3-031-72390-2_48"},{"key":"ref_29","doi-asserted-by":"crossref","first-page":"103547","DOI":"10.1016\/j.media.2025.103547","article-title":"Medical sam adapter: Adapting segment anything model for medical image segmentation","volume":"102","author":"Wu","year":"2025","journal-title":"Med. Image Anal."},{"key":"ref_30","doi-asserted-by":"crossref","unstructured":"Zhou, W., Guan, G., Gao, Y., Si, P., Xu, M., and Yan, Q. (2025). MASG-SAM: Enhancing Few-Shot Medical Image Segmentation with Multi-Scale Attention and Semantic Guidance. IEEE J. Biomed. Health Inform.","DOI":"10.1109\/JBHI.2025.3571430"},{"key":"ref_31","doi-asserted-by":"crossref","first-page":"6031","DOI":"10.1109\/JBHI.2024.3406871","article-title":"Lesam: Adapt segment anything model for medical lesion segmentation","volume":"28","author":"Gu","year":"2024","journal-title":"IEEE J. Biomed. Health Inform."},{"key":"ref_32","doi-asserted-by":"crossref","first-page":"211","DOI":"10.5582\/bst.2023.01128","article-title":"The ability of Segmenting Anything Model (SAM) to segment ultrasound images","volume":"17","author":"Chen","year":"2023","journal-title":"Biosci. Trends"},{"key":"ref_33","doi-asserted-by":"crossref","first-page":"102904","DOI":"10.1016\/j.media.2023.102904","article-title":"CDDSA: Contrastive domain disentanglement and style augmentation for generalizable medical image segmentation","volume":"89","author":"Gu","year":"2023","journal-title":"Med. Image Anal."},{"key":"ref_34","unstructured":"Sun, C., Terry, R.S., Bian, J., and Xu, J. (2024). GASA-UNet: Global Axial Self-Attention U-Net for 3D Medical Image Segmentation. arXiv."},{"key":"ref_35","doi-asserted-by":"crossref","unstructured":"Zhou, Z., Rahman Siddiquee, M.M., Tajbakhsh, N., and Liang, J. (2018). Unet++: A nested u-net architecture for medical image segmentation. Proceedings of the International Workshop on Deep Learning in Medical Image Analysis, Granada, Spain, 20 September 2018, Springer.","DOI":"10.1007\/978-3-030-00889-5_1"},{"key":"ref_36","doi-asserted-by":"crossref","first-page":"101644","DOI":"10.1016\/j.imu.2025.101644","article-title":"Glaucoma identification with retinal fundus images using deep learning: Systematic review","volume":"56","author":"Meedeniya","year":"2025","journal-title":"Inform. Med. Unlocked"},{"key":"ref_37","doi-asserted-by":"crossref","first-page":"e230138","DOI":"10.1148\/ryai.230138","article-title":"Deep Learning Prostate MRI Segmentation Accuracy and Robustness: A Systematic Review","volume":"6","author":"Fassia","year":"2024","journal-title":"Radiol. Artif. Intell."},{"key":"ref_38","unstructured":"Hu, E.J., Shen, Y., Wallis, P., Allen-Zhu, Z., Li, Y., Wang, S., Wang, L., and Chen, W. (2021). Lora: Low-rank adaptation of large language models. arXiv."},{"key":"ref_39","doi-asserted-by":"crossref","unstructured":"Hu, J., Shen, L., and Sun, G. (2018). Squeeze-and-excitation networks. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA, 18\u201322 June 2018, IEEE.","DOI":"10.1109\/CVPR.2018.00745"},{"key":"ref_40","doi-asserted-by":"crossref","unstructured":"Wei, Z., Dong, W., Zhou, P., Gu, Y., Zhao, Z., and Xu, Y. (2024). Prompting segment anything model with domain-adaptive prototype for generalizable medical image segmentation. Proceedings of the International Conference on Medical Image Computing and Computer-Assisted Intervention, Marrakesh, Morocco, 6\u201310 October 2024, Springer.","DOI":"10.1007\/978-3-031-72111-3_50"},{"key":"ref_41","doi-asserted-by":"crossref","unstructured":"Wei, Z., Chen, L., Jin, Y., Ma, X., Liu, T., Ling, P., Wang, B., Chen, H., and Zheng, J. (2024, January 16\u201322). Stronger fewer & superior: Harnessing vision foundation models for domain generalized semantic segmentation. Proceedings of the IEEE\/CVF Conference on Computer Vision and Pattern Recognition, Seattle, DC, USA.","DOI":"10.1109\/CVPR52733.2024.02704"},{"key":"ref_42","doi-asserted-by":"crossref","unstructured":"Wang, Z., Liu, Y., Tian, Y., Liu, Y., Wang, Y., and Ye, Q. (2025, January 15\u201318). Building Vision Models upon Heat Conduction. Proceedings of the Computer Vision and Pattern Recognition Conference, Shanghai, China.","DOI":"10.1109\/CVPR52734.2025.00907"},{"key":"ref_43","doi-asserted-by":"crossref","unstructured":"Liu, Q., Chen, C., Qin, J., Dou, Q., and Heng, P.A. (2021, January 20\u201325). FedDG: Federated Domain Generalization on Medical Image Segmentation via Episodic Learning in Continuous Frequency Space. Proceedings of the IEEE\/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Nashville, TN, USA.","DOI":"10.1109\/CVPR46437.2021.00107"},{"key":"ref_44","doi-asserted-by":"crossref","first-page":"101570","DOI":"10.1016\/j.media.2019.101570","article-title":"Refuge challenge: A unified framework for evaluating automated methods for glaucoma assessment from fundus photographs","volume":"59","author":"Orlando","year":"2020","journal-title":"Med. Image Anal."},{"key":"ref_45","doi-asserted-by":"crossref","unstructured":"Sivaswamy, J., Krishnadas, S., Joshi, G.D., Jain, M., and Tabish, A.U.S. (2014). Drishti-gs: Retinal image dataset for optic nerve head (onh) segmentation. Proceedings of the 2014 IEEE 11th International Symposium on Biomedical Imaging (ISBI), Beijing, China, 29 April\u20132 May 2014, IEEE.","DOI":"10.1109\/ISBI.2014.6867807"},{"key":"ref_46","doi-asserted-by":"crossref","unstructured":"Hu, S., Liao, Z., and Xia, Y. (2022). Domain Specific Convolution and High Frequency Reconstruction based Unsupervised Domain Adaptation for Medical Image Segmentation. Proceedings of the International Conference on Medical Image Computing and Computer-Assisted Intervention, Singapore, 18\u201322 September 2022, Springer.","DOI":"10.1007\/978-3-031-16449-1_62"},{"key":"ref_47","unstructured":"Fumero, F., Sigut, J., Alay\u00f3n, S., Gonz\u00e1lez-Hern\u00e1ndez, M., and Gonz\u00e1lez de la Rosa, M. (2015, January 8\u201312). Interactive Tool and Database for Optic Disc and Cup Segmentation of Stereo and Monocular Retinal Fundus Images. Proceedings of the 23rd International Conference in Central Europe on Computer Graphics, Visualization and Computer Vision, Plzen, Czech Republic."},{"key":"ref_48","doi-asserted-by":"crossref","first-page":"2763","DOI":"10.1109\/TMI.2023.3264513","article-title":"H2former: An efficient hierarchical hybrid transformer for medical image segmentation","volume":"42","author":"He","year":"2023","journal-title":"IEEE Trans. Med. Imaging"},{"key":"ref_49","doi-asserted-by":"crossref","unstructured":"Dai, G., Wang, Q., Qin, Y., Wei, G., and Huang, S. (2025). VG-SAM: Visual In-Context Guided SAM for Universal Medical Image Segmentation. Fractal Fract., 9.","DOI":"10.3390\/fractalfract9110722"},{"key":"ref_50","doi-asserted-by":"crossref","first-page":"130749","DOI":"10.1016\/j.neucom.2025.130749","article-title":"SRPL-SFDA: Sam-Guided Reliable Pseudo-Labels for Source-Free Domain Adaptation in medical image segmentation","volume":"649","author":"Liu","year":"2025","journal-title":"Neurocomputing"},{"key":"ref_51","doi-asserted-by":"crossref","unstructured":"Chen, C., Qin, C., Qiu, H., Ouyang, C., Wang, S., Chen, L., Tarroni, G., Bai, W., and Rueckert, D. (2020). Realistic adversarial data augmentation for MR image segmentation. Proceedings of the International Conference on Medical Image Computing and Computer-Assisted Intervention, Lima, Peru, 4\u20138 October 2020, Springer.","DOI":"10.1007\/978-3-030-59710-8_65"},{"key":"ref_52","doi-asserted-by":"crossref","first-page":"35961","DOI":"10.1038\/s41598-025-11759-4","article-title":"A fine-tuned foundational model SurgiSAM2 for surgical video anatomy segmentation and detection","volume":"15","author":"Kamtam","year":"2025","journal-title":"Sci. Rep."},{"key":"ref_53","unstructured":"Dosovitskiy, A., Beyer, L., Kolesnikov, A., Weissenborn, D., Zhai, X., Unterthiner, T., Dehghani, M., Minderer, M., Heigold, G., and Gelly, S. (2020). An image is worth 16 \u00d7 16 words: Transformers for image recognition at scale. arXiv."},{"key":"ref_54","doi-asserted-by":"crossref","first-page":"17290","DOI":"10.1109\/ACCESS.2024.3359698","article-title":"Automated Tool Support for Glaucoma Identification with Explainability Using Fundus Images","volume":"12","author":"Shyamalee","year":"2024","journal-title":"IEEE Access"},{"key":"ref_55","doi-asserted-by":"crossref","first-page":"3255","DOI":"10.21037\/qims-22-1068","article-title":"Development and acceptability validation of a deep learning-based tool for whole-prostate segmentation on multiparametric MRI: A multicenter study","volume":"13","author":"Xu","year":"2023","journal-title":"Quant. Imaging Med. Surg."}],"container-title":["Sensors"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1424-8220\/26\/9\/2879\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,5,12]],"date-time":"2026-05-12T04:24:58Z","timestamp":1778559898000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1424-8220\/26\/9\/2879"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,5,5]]},"references-count":55,"journal-issue":{"issue":"9","published-online":{"date-parts":[[2026,5]]}},"alternative-id":["s26092879"],"URL":"https:\/\/doi.org\/10.3390\/s26092879","relation":{},"ISSN":["1424-8220"],"issn-type":[{"value":"1424-8220","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,5,5]]}}}