Fine-Grained Perception for Fundus and Prostate Medical Image Segmentation
Open Access
Abstract
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.Keywords
Funding Information
- Natural Science Foundation of Gansu Province (25JRRA666)
This publication has 47 references indexed in Scilit:
- DeSAM: Decoupled Segment Anything Model for Generalizable Medical Image Segmentation2024
- Prompting Segment Anything Model with Domain-Adaptive Prototype for Generalizable Medical Image Segmentation2024
- DiMix: Disentangle-and-Mix Based Domain Generalizable Medical Image Segmentation2023
- Devil is in Channels: Contrastive Single Domain Generalization for Medical Image Segmentation2023
- Domain Specific Convolution and High Frequency Reconstruction Based Unsupervised Domain Adaptation for Medical Image Segmentation2022
- MaxStyle: Adversarial Style Composition for Robust Medical Image Segmentation2022
- Shape-Aware Meta-learning for Generalizing Prostate MRI Segmentation to Unseen Domains2020
- Realistic Adversarial Data Augmentation for MR Image Segmentation2020
- Domain Generalizer: A Few-Shot Meta Learning Framework for Domain Generalization in Medical Imaging2020
- UNet++: A Nested U-Net Architecture for Medical Image Segmentation2018