{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/sam-helps-shadow-when-segment-anything-model","title":"SAM-helps-Shadow:When Segment Anything Model meet shadow removal","arxiv_id":"2306.06113","date":"2023-06-01","proceeding":null,"authors":["Xiaofeng Zhang","Chaochen Gu","Shanying Zhu"],"abstract":"The challenges surrounding the application of image shadow removal to real-world images and not just constrained datasets like ISTD/SRD have highlighted an urgent need for zero-shot learning in this field. In this study, we innovatively adapted the SAM (Segment anything model) for shadow removal by introducing SAM-helps-Shadow, effectively integrating shadow detection and removal into a single stage. Our approach utilized the model's detection results as a potent prior for facilitating shadow detection, followed by shadow removal using a second-order deep unfolding network. The source code of SAM-helps-Shadow can be obtained from https://github.com/zhangbaijin/SAM-helps-Shadow.","url_abs":"https://arxiv.org/abs/2306.06113v1","url_pdf":"https://arxiv.org/pdf/2306.06113v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"sam-helps-shadow-when-segment-anything-model","repo_url":"https://github.com/zhangbaijin/sam-helps-shadow","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"image-shadow-removal","task_name":"Image Shadow Removal"},{"task_slug":"shadow-detection","task_name":"Shadow Detection"},{"task_slug":"shadow-detection-and-removal","task_name":"Shadow Detection And Removal"},{"task_slug":"shadow-removal","task_name":"Shadow Removal"},{"task_slug":"zero-shot-learning","task_name":"Zero-Shot Learning"}],"methods":[{"method_slug":"sam","method_name":"SAM"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":null,"mcp":null,"developers":"https://syntology.ai/developers"},"arxiv_metadata":null,"syntology_extracted_results":null}