Skip to content

This is official implementtaion of "VmambaIR: Visual State Space Model for Image Restoration"

Notifications You must be signed in to change notification settings

AlphacatPlus/VmambaIR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VmambaIR: Visual State Space Model for Image Restoration

Yuan Shi, Bin Xia, Xiaoyu Jin, Xing Wang, Tianyu Zhao, Xin Xia, Xuefeng Xiao, and Wenming Yang, "VmambaIR: Visual State Space Model for Image Restoration", arXiv, 2024

[arXiv] [supplementary material] [visual results] [pretrained models]

🔥🔥🔥 News

  • 2024-03-18: This repo is released.

Abstract: Image restoration is a critical task in low-level computer vision, aiming to restore high-quality images from degraded inputs. Various models, such as convolutional neural networks (CNNs), generative adversarial networks (GANs), transformers, and diffusion models (DMs), have been employed to address this problem with significant impact. However, CNNs have limitations in capturing long-range dependencies. DMs require large prior models and computationally intensive denoising steps. Transformers have powerful modeling capabilities but face challenges due to quadratic complexity with input image size. To address these challenges, we propose VmambaIR, which introduces State Space Models (SSMs) with linear complexity into comprehensive image restoration tasks. We utilize a Unet architecture to stack our proposed Omni Selective Scan (OSS) blocks, consisting of an OSS module and an Efficient Feed-Forward Network (EFFN). Our proposed omni selective scan mechanism overcomes the unidirectional modeling limitation of SSMs by efficiently modeling image information flows in all six directions. Furthermore, we conducted a comprehensive evaluation of our VmambaIR across multiple image restoration tasks, including image deraining, single image super-resolution, and real-world image super-resolution. Extensive experimental results demonstrate that our proposed VmambaIR achieves state-of-the-art (SOTA) performance with much fewer computational resources and parameters. Our research highlights the potential of state space models as promising alternatives to the transformer and CNN architectures in serving as foundational frameworks for next-generation low-level visual tasks.


Single Image Super-Resolution

Real-World Image Super-Resolution

Image Deraining


⚒️ TODO

  • Release code and pretrained models

🔗 Contents

  1. Datasets
  2. Models
  3. Training
  4. Testing
  5. Results
  6. Citation
  7. Acknowledgements

🔎 Results

We achieved state-of-the-art performance on multiple image restoration tasks. Detailed results can be found in the paper.

Evaluation on Single Image Super-Resolution (click to expand)
  • quantitative comparisons in Table 1 of the main paper

  • visual comparison in Figure 5 of the main paper

Evaluation on Real-World Image Super-Resolution (click to expand)
  • quantitative comparisons in Table 2 of the main paper

  • visual comparison in Figure 6 of the main paper

Evaluation on Image Deraining (click to expand)
  • quantitative comparisons in Table 2 of the main paper

  • visual comparison in Figure 6 of the main paper

📎 Citation

If you find the code helpful in your resarch or work, please cite the following paper(s).

@article{shi2024vmambair,
  title={VmambaIR: Visual State Space Model for Image Restoration},
  author={Shi, Yuan and Xia, Bin and Jin, Xiaoyu and Wang, Xing and Zhao, Tianyu and Xia, Xin and Xiao, Xuefeng and Yang, Wenming},
  journal={arXiv preprint arXiv:2403.11423},
  year={2024}
}

💡 Acknowledgements

This code is built on BasicSR, Vmamba, Restormer and DiffIR. We thank them all for their excellent work.

About

This is official implementtaion of "VmambaIR: Visual State Space Model for Image Restoration"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •