Skip to content

Rubbbbbbbbby/SwinOIR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Resolution Enhancement Processing on Low Quality Images Using Swin Transformer Based on Interval Dense Connection Strategy

Resolution Enhancement Processing on Low Quality Images Using Swin Transformer Based on Interval Dense Connection Strategy

PWC PWC PWC PWC PWC

Abstract

The Transformer-based method has demonstrated remarkable performance for image super-resolution in comparison to the method based on the convolutional neural networks (CNNs). However, using the self-attention mechanism like SwinIR (Image Restoration Using Swin Transformer) to extract feature information from images needs a significant amount of computational resources, which limits its application on low computing power platforms. To improve the model feature reuse, this research work proposes the Interval Dense Connection Strategy, which connects different blocks according to the newly designed algorithm. We apply this strategy to SwinIR and present a new model, which named SwinOIR (Object Image Restoration Using Swin Transformer). For image super-resolution, an ablation study is conducted to demonstrate the positive effect of the Interval Dense Connection Strategy on the model performance. Furthermore, we evaluate our model on various popular benchmark datasets, and compare it with other state-of-the-art (SOTA) lightweight models. For example, SwinOIR obtains a PSNR of 26.62 dB for ×4 upscaling image super-resolution on Urban100 dataset, which is 0.15 dB higher than the SOTA model SwinIR. For real-life application, this work applies the lastest version of You Only Look Once (YOLOv8) model and the proposed model to perform object detection and real-life image super-resolution on low-quality images.

SwinOIR Network Architecture

Open-Source

For research project agreement, we don't release training code, please refer to EDSR framework and our paper for details.

  • Paper of our method [arXiv]
  • The pretrained model and test code.

Citation

If you find our paper useful in your research, please consider citing:

@article{ju2023resolution,
  title={Resolution enhancement processing on low quality images using swin transformer based on interval dense connection strategy},
  author={Ju, Rui-Yang and Chen, Chih-Chia and Chiang, Jen-Shiun and Lin, Yu-Shian and Chen, Wei-Han},
  journal={Multimedia Tools and Applications},
  pages={1--17},
  year={2023},
  publisher={Springer}
}

Requirements

  • Linux (Ubuntu)
  • Python >= 3.6
  • Pytorch >= 1.5.0
  • NVIDIA GPU + CUDA CuDNN

Dataset

Experimental Results

Application

Overall two-stage framework

Graphical User Interface

References

About

A Framework for Real-time Object Detection and Image Restoration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages