[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-detail-83208-en":3,"doc-seo-83208-105":30,"detail-sidebar-cat-0-en-105":91},{"code":4,"msg":5,"data":6},0,"success",{"doc_id":7,"user_id":8,"nickname":9,"user_avatar":10,"doc_module":4,"category_id":11,"category_name":12,"doc_title":13,"doc_description":14,"doc_content":15,"file_id":16,"file_url":17,"file_type":18,"file_size":19,"view_count":20,"is_deleted":4,"is_public":21,"is_downloadable":21,"audit_status":21,"page_count":22,"language":23,"language_code":24,"site_id":25,"html_lang":24,"table_of_contents":26,"faqs":27,"seo_title":13,"seo_description":14,"update_tm":28,"read_time":29},83208,1374391974468,"Eden","https://ap-avatar.wpscdn.com/davatar_29158cc5080c5b710cf443261637dec0",8,"Research & Report","An Edge-aware Prompt-enhanced SAM for Ultrasound Image Segmentation","Ultrasound image segmentation is vital for outlining anatomical structures and lesions, enabling reliable diagnosis. Existing use of the Segment Anything Model (SAM) is limited by weak boundary delineation on ultrasound, caused by speckle noise, low contrast, and blurred contours. EP-SAM introduces an edge-aware, prompt-enhanced adaptation: multi-block feature extraction improves coarse-to-fine semantics, while edge-aware supervision strengthens contour robustness. High-quality prompts guide the model to regions of interest, and experiments on multiple benchmarks show consistent performance gains over SAM-based approaches.","An Edge-aware Prompt-enhanced SAM for Ultrasound Image Segmentation  \nWenhao Li 1 , Fangyi Liu2* , Bo Du2*  \n1 Key Laboratory of Aerospace Information Security and Trusted Computing, Ministry of Education,  \nSchool of Cyber Science and Engineering, Wuhan University, Wuhan, China  \n2 National Engineering Research Center for Multimedia Software, Institute of Artificial Intelligence, School of Computer Science and Hubei Key Laboratory of Multimedia and Network Communication Engineering,  \nWuhan University, Wuhan, China  \n[2024202210100@whu.edu.cn](2024202210100@whu.edu.cn), [fangyiliu@whu.edu.cn](fangyiliu@whu.edu.cn), [dubo@whu.edu.cn](dubo@whu.edu.cn)  \narXiv :2607 .07240v 1 [ cs .CV] 8 Jul 2026  \nAbstract—Ultrasound image segmentation is essential for delineating anatomical structures and lesions, providing the foundation for accurate diagnosis. While the Segment Anything Model (SAM) has demonstrated remarkable success on natural images, its performance on ultrasound data is often hindered by poor boundary delineation. To address this limitation, we propose EP-SAM, an edge-aware and prompt-enhanced adaptation of SAM. Specifically, we leverage multi-block feature extraction from the image encoder to enrich coarse-to-fine semantic representations, while edge-aware supervision of the image encoder improves robustness to contour ambiguity and speckle noise. By integrating these complementary cues, EP-SAM generates high-quality prompts that effectively guide the model toward target regions of interest. Experimental results on multiple benchmarks demonstrate that EP-SAM consistently outperforms existing SAM-based methods.  \nIndex Terms—Ultrasound image segmentation, SAM, edgeaware, prompt-enhanced  \nI. INTRODUCTION  \nUltrasound medical image segmentation is crucial for clinical diagnosis, treatment planning, and biomedical research [20] . Owing to its radiation-free, portable, and costeffective nature, ultrasound is widely adopted for point-of-care applications. However, its real-time, reflection-based imaging mechanism introduces speckle noise, low contrast, and blurred anatomical boundaries, which degrade image quality and obscure structural details [32] . These inherent challenges not only complicate accurate segmentation but also hinder the direct application of deep learning models and prompt-based strategies originally designed for natural images.  \nRecently, the Segment Anything Model (SAM) has demonstrated remarkable segmentation capabilities. This breakthrough has further opened new opportunities for advancing ultrasound image segmentation and has motivated a growing body of SAM-based methods, which can be broadly categorized as follows. (1) Decoder-level adaptation focuses on refining the segmentation head [21] by fine-tuning themask decoder to better align with medical domain data.  \n(2) Encoder-level adaptation modifies the image encoder to enhance feature representation [27], [31], and (3) Promptlevel adaptation optimizes or learns new prompts to guide the  \n*Corresponding authors  \n\n| \u003Cbr>Prompt\u003Cbr>（a）\u003Cbr> | \u003Cbr>\u003Cbr>Prompt Encoder\u003Cbr>\u003Cbr>Prompt\u003Cbr>\u003Cbr>（b） |\n| --- | --- |\n\nImage Encoder  \nPrompt Encoder  \nA  \nMask Decoder  \nMask Decoder  \n（c）  \nImage Encoder  \nPrompt Encoder  \nMask Decoder  \n Learnable   Frozen   A  Adapter  \nFig. 1: Comparison of SAM-based adaptations for medical image segmentation. Unlike other prompting strategies, our EP-SAM enhances the synergy of individual components and explicitly alleviates boundary ambiguity.  \nsegmentation results without modifying SAM’s weights [28] . However, as shown in Figure 1(a), most existing adaptations treat the constituent components of SAM as isolated modules, resulting in a lack of synergy between them. This architecture often fails to leverage the rich semantic information available during the encoding stage to guide the subsequent prompting process. To address this, self-prompting methods have emerged as a promising solution. As illustrated in Figure 1(b), they ","cbCaipVKmxqQ2hx8","https://ap.wps.com/l/cbCaipVKmxqQ2hx8","pdf",4672633,2,1,6,"English","en",105,"# Abstract\n# Index Terms\n# Introduction","[{\"question\":\"What problem does EP-SAM address in ultrasound image segmentation?\",\"answer\":\"Ultrasound boundaries are often blurred and corrupted by speckle noise, which makes SAM struggle with accurate contour delineation and leads to edge drift. EP-SAM targets this boundary ambiguity with edge-aware guidance.\"},{\"question\":\"How does EP-SAM improve SAM performance on ultrasound images?\",\"answer\":\"EP-SAM uses multi-block feature extraction to enrich coarse-to-fine semantic representations. It also applies edge-aware supervision via an Edge-Aware Module to improve robustness to contour ambiguity and speckle noise.\"},{\"question\":\"What are the two main modules in EP-SAM?\",\"answer\":\"EP-SAM consists of an Edge-Aware Module (EAM) that extracts fine-grained boundary cues for supervision and a Prompt Enhanced Module (PEM) that fuses intermediate features with boundary priors to produce boundary-informed initial masks and prompts.\"}]",1784185955,15,{"code":4,"msg":31,"data":32},"ok",{"site_id":25,"language":24,"slug":33,"title":13,"keywords":34,"description":14,"schema_data":35,"social_meta":86,"head_meta":88,"extra_data":90,"updated_unix":28},"an-edge-aware-prompt-enhanced-sam-for-ultrasound-image-segmentation","",{"@graph":36,"@context":85},[37,53,68],{"@type":38,"itemListElement":39},"BreadcrumbList",[40,44,47,50],{"item":41,"name":42,"@type":43,"position":21},"https://docshare.wps.com","Home","ListItem",{"item":45,"name":46,"@type":43,"position":20},"https://docshare.wps.com/document/","Document",{"item":48,"name":12,"@type":43,"position":49},"https://docshare.wps.com/document/research-report/",3,{"item":51,"name":13,"@type":43,"position":52},"https://docshare.wps.com/document/an-edge-aware-prompt-enhanced-sam-for-ultrasound-image-segmentation/83208/",4,{"url":51,"name":13,"@type":54,"author":55,"headline":13,"publisher":57,"fileFormat":60,"inLanguage":24,"description":14,"dateModified":61,"datePublished":62,"encodingFormat":60,"isAccessibleForFree":63,"interactionStatistic":64},"DigitalDocument",{"name":9,"@type":56},"Person",{"url":41,"name":58,"@type":59},"DocShare","Organization","application/pdf","2026-07-20","2026-07-16",true,{"@type":65,"interactionType":66,"userInteractionCount":20},"InteractionCounter",{"@type":67},"ViewAction",{"@type":69,"mainEntity":70},"FAQPage",[71,77,81],{"name":72,"@type":73,"acceptedAnswer":74},"What problem does EP-SAM address in ultrasound image segmentation?","Question",{"text":75,"@type":76},"Ultrasound boundaries are often blurred and corrupted by speckle noise, which makes SAM struggle with accurate contour delineation and leads to edge drift. EP-SAM targets this boundary ambiguity with edge-aware guidance.","Answer",{"name":78,"@type":73,"acceptedAnswer":79},"How does EP-SAM improve SAM performance on ultrasound images?",{"text":80,"@type":76},"EP-SAM uses multi-block feature extraction to enrich coarse-to-fine semantic representations. It also applies edge-aware supervision via an Edge-Aware Module to improve robustness to contour ambiguity and speckle noise.",{"name":82,"@type":73,"acceptedAnswer":83},"What are the two main modules in EP-SAM?",{"text":84,"@type":76},"EP-SAM consists of an Edge-Aware Module (EAM) that extracts fine-grained boundary cues for supervision and a Prompt Enhanced Module (PEM) that fuses intermediate features with boundary priors to produce boundary-informed initial masks and prompts.","https://schema.org",{"og:url":51,"og:type":87,"og:title":13,"og:site_name":58,"og:description":14},"article",{"robots":89,"canonical":51},"index,follow",{"doc_id":7,"site_id":25},{"code":4,"msg":5,"data":92},[93,97,101,105,110,114,119,122,127,130,134],{"id":21,"doc_module":4,"doc_module_name":46,"category_name":94,"show_sort_weight":95,"slug":96},"Story & Novel",90,"story-novel",{"id":20,"doc_module":4,"doc_module_name":46,"category_name":98,"show_sort_weight":99,"slug":100},"Literature",80,"literature",{"id":52,"doc_module":4,"doc_module_name":46,"category_name":102,"show_sort_weight":103,"slug":104},"Exam",70,"exam",{"id":106,"doc_module":4,"doc_module_name":46,"category_name":107,"show_sort_weight":108,"slug":109},5,"Comic",60,"comic",{"id":22,"doc_module":4,"doc_module_name":46,"category_name":111,"show_sort_weight":112,"slug":113},"Technology",50,"technology",{"id":115,"doc_module":4,"doc_module_name":46,"category_name":116,"show_sort_weight":117,"slug":118},7,"Healthcare",40,"healthcare",{"id":11,"doc_module":4,"doc_module_name":46,"category_name":12,"show_sort_weight":120,"slug":121},30,"research-report",{"id":123,"doc_module":4,"doc_module_name":46,"category_name":124,"show_sort_weight":125,"slug":126},9,"Religion & Spirituality",20,"religion-spirituality",{"id":125,"doc_module":4,"doc_module_name":46,"category_name":128,"show_sort_weight":125,"slug":129},"World Cup","world-cup",{"id":131,"doc_module":4,"doc_module_name":46,"category_name":132,"show_sort_weight":131,"slug":133},10,"Lifestyle","lifestyle",{"id":135,"doc_module":4,"doc_module_name":46,"category_name":136,"show_sort_weight":106,"slug":137},19,"General","general"]