Referring Flexible Image Restoration

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Guan, Runwei, Hu, Rongsheng, Zhou, Zhuhao, Xue, Tianlang, Man, Ka Lok, Smith, Jeremy, Lim, Eng Gee, Ding, Weiping, Yue, Yutao
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866910411899535360
author Guan, Runwei
Hu, Rongsheng
Zhou, Zhuhao
Xue, Tianlang
Man, Ka Lok
Smith, Jeremy
Lim, Eng Gee
Ding, Weiping
Yue, Yutao
author_facet Guan, Runwei
Hu, Rongsheng
Zhou, Zhuhao
Xue, Tianlang
Man, Ka Lok
Smith, Jeremy
Lim, Eng Gee
Ding, Weiping
Yue, Yutao
contents In reality, images often exhibit multiple degradations, such as rain and fog at night (triple degradations). However, in many cases, individuals may not want to remove all degradations, for instance, a blurry lens revealing a beautiful snowy landscape (double degradations). In such scenarios, people may only desire to deblur. These situations and requirements shed light on a new challenge in image restoration, where a model must perceive and remove specific degradation types specified by human commands in images with multiple degradations. We term this task Referring Flexible Image Restoration (RFIR). To address this, we first construct a large-scale synthetic dataset called RFIR, comprising 153,423 samples with the degraded image, text prompt for specific degradation removal and restored image. RFIR consists of five basic degradation types: blur, rain, haze, low light and snow while six main sub-categories are included for varying degrees of degradation removal. To tackle the challenge, we propose a novel transformer-based multi-task model named TransRFIR, which simultaneously perceives degradation types in the degraded image and removes specific degradation upon text prompt. TransRFIR is based on two devised attention modules, Multi-Head Agent Self-Attention (MHASA) and Multi-Head Agent Cross Attention (MHACA), where MHASA and MHACA introduce the agent token and reach the linear complexity, achieving lower computation cost than vanilla self-attention and cross-attention and obtaining competitive performances. Our TransRFIR achieves state-of-the-art performances compared with other counterparts and is proven as an effective architecture for image restoration. We release our project at https://github.com/GuanRunwei/FIR-CP.
format Preprint
id arxiv_https___arxiv_org_abs_2404_10342
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Referring Flexible Image Restoration
Guan, Runwei
Hu, Rongsheng
Zhou, Zhuhao
Xue, Tianlang
Man, Ka Lok
Smith, Jeremy
Lim, Eng Gee
Ding, Weiping
Yue, Yutao
Computer Vision and Pattern Recognition
Multimedia
In reality, images often exhibit multiple degradations, such as rain and fog at night (triple degradations). However, in many cases, individuals may not want to remove all degradations, for instance, a blurry lens revealing a beautiful snowy landscape (double degradations). In such scenarios, people may only desire to deblur. These situations and requirements shed light on a new challenge in image restoration, where a model must perceive and remove specific degradation types specified by human commands in images with multiple degradations. We term this task Referring Flexible Image Restoration (RFIR). To address this, we first construct a large-scale synthetic dataset called RFIR, comprising 153,423 samples with the degraded image, text prompt for specific degradation removal and restored image. RFIR consists of five basic degradation types: blur, rain, haze, low light and snow while six main sub-categories are included for varying degrees of degradation removal. To tackle the challenge, we propose a novel transformer-based multi-task model named TransRFIR, which simultaneously perceives degradation types in the degraded image and removes specific degradation upon text prompt. TransRFIR is based on two devised attention modules, Multi-Head Agent Self-Attention (MHASA) and Multi-Head Agent Cross Attention (MHACA), where MHASA and MHACA introduce the agent token and reach the linear complexity, achieving lower computation cost than vanilla self-attention and cross-attention and obtaining competitive performances. Our TransRFIR achieves state-of-the-art performances compared with other counterparts and is proven as an effective architecture for image restoration. We release our project at https://github.com/GuanRunwei/FIR-CP.
title Referring Flexible Image Restoration
topic Computer Vision and Pattern Recognition
Multimedia
url https://arxiv.org/abs/2404.10342