SAM-Deblur: Let Segment Anything Boost Image Deblurring

Siwei Li, Mingxuan Liu, Yating Zhang, Shu Chen, Haoxiang Li +2 more
9/5/2023
33 citations
cs.CV

Official code: HPLQAQ/SAM-Deblur (33 stars, Python, Apache-2.0, last commit 2023-12-22).

Abstract

Image deblurring is a critical task in the field of image restoration, aiming to eliminate blurring artifacts. However, the challenge of addressing non-uniform blurring leads to an ill-posed problem, which limits the generalization performance of existing deblurring models.

Show full abstract

To solve the problem, we propose a framework SAM-Deblur, integrating prior knowledge from the Segment Anything Model (SAM) into the deblurring task for the first time. In particular, SAM-Deblur is divided into three stages. First, we preprocess the blurred images, obtain segment masks via SAM, and propose a mask dropout method for training to enhance model robustness. Then, to fully leverage the structural priors generated by SAM, we propose a Mask Average Pooling (MAP) unit specifically designed to average SAM-generated segmented areas, serving as a plug-and-play component which can be seamlessly integrated into existing deblurring networks. Finally, we feed the fused features generated by the MAP Unit into the deblurring model to obtain a sharp image. Experimental results on the RealBlurJ, ReloBlur, and REDS datasets reveal that incorporating our methods improves GoPro-trained NAFNet's PSNR by 0.05, 0.96, and 7.03, respectively. Project page is available at GitHub \href{https://hplqaq.github.io/projects/sam-deblur}{HPLQAQ/SAM-Deblur}.

View on arXivView PDF

Code Implementations(1)

HPLQAQ/SAM-DeblurOfficial100%
Apache-2.0

Implementation of the paper SAM-Deblur: Let Segment Anything Boost Image Deblurring(ICASSP2024)

331PythonAug 31, 20232 years agoApache-2.0
image-deblurringimage-restorationood-generalizationplug-and-playsegment-anything

Similar Papers

Cite this paper

@article{li2023samdeblur,
  title  = {SAM-Deblur: Let Segment Anything Boost Image Deblurring},
  author = {Siwei Li and Mingxuan Liu and Yating Zhang and Shu Chen and Haoxiang Li and Zifei Dou and Hong Chen},
  year   = {2023},
  eprint = {2309.02270},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2309.02270v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2309.02270.svg)](https://codeofpaper.com/paper/2309.02270)

Discussion