AWRaCLe: All-Weather Image Restoration using Visual In-Context Learning

Sudarshan Rajagopalan, Vishal M. Patel
8/30/2024
cs.CV

No official code found. Best implementation: sudraj2002/AWRaCLe (25 stars, MIT, last commit 2025-03-22).

Abstract

All-Weather Image Restoration (AWIR) under adverse weather conditions is a challenging task due to the presence of different types of degradations. Prior research in this domain relies on extensive training data but lacks the utilization of additional contextual information for restoration guidance. Consequently, the performance of existing methods is limited by the degradation cues that are learnt from individual training samples. Recent advancements in visual in-context learning have introduced generalist models that are capable of addressing multiple computer vision tasks simultaneously by using the information present in the provided context as a prior. In this paper, we propose All-Weather Image Restoration using Visual In-Context Learning (AWRaCLe), a novel approach for AWIR that innovatively utilizes degradation-specific visual context information to steer the image restoration process. To achieve this, AWRaCLe incorporates Degradation Context Extraction (DCE) and Context Fusion (CF) to seamlessly integrate degradation-specific features from the context into an image restoration network. The proposed DCE and CF blocks leverage CLIP features and incorporate attention mechanisms to adeptly learn and fuse contextual information. These blocks are specifically designed for visual in-context learning under all-weather conditions and are crucial for effective context utilization. Through extensive experiments, we demonstrate the effectiveness of AWRaCLe for all-weather restoration and show that our method advances the state-of-the-art in AWIR.

View on arXivView PDF

Code Implementations(1)

sudraj2002/AWRaCLeCommunity73%
MIT

PyTorch code for AWRaCLe: All-Weather Image Restoration using Visual In-Context Learning

253Shell, PythonDec 14, 20241 years agoMIT

Similar Papers

Cite this paper

@article{rajagopalan2024awracle,
  title  = {AWRaCLe: All-Weather Image Restoration using Visual In-Context Learning},
  author = {Sudarshan Rajagopalan and Vishal M. Patel},
  year   = {2024},
  eprint = {2409.00263},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.00263v2}
}

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/2409.00263.svg)](https://codeofpaper.com/paper/2409.00263)

Discussion