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

16 Mar 2023  ·  Rui-Yang Ju, Chih-Chia Chen, Jen-Shiun Chiang, Yu-Shian Lin, Wei-Han Chen, Chun-Tse Chien ·

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 x4 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. This implementation code is publicly available at

PDF Abstract
Task Dataset Model Metric Name Metric Value Global Rank Result Benchmark
Image Super-Resolution BSD100 - 2x upscaling SwinOIR PSNR 32.34 # 11
SSIM 0.9022 # 7
Image Super-Resolution BSD100 - 3x upscaling SwinOIR PSNR 29.27 # 9
SSIM 0.8111 # 6
Image Super-Resolution BSD100 - 4x upscaling SwinOIR PSNR 27.76 # 17
SSIM 0.7441 # 16
Image Super-Resolution Set14 - 2x upscaling SwinOIR PSNR 33.97 # 11
SSIM 0.922 # 9
Image Super-Resolution Set14 - 3x upscaling SwinOIR PSNR 30.65 # 10
SSIM 0.8493 # 5
Image Super-Resolution Set14 - 4x upscaling SwinOIR PSNR 28.92 # 24
SSIM 0.7892 # 24
Image Super-Resolution Set5 - 2x upscaling SwinOIR PSNR 38.21 # 12
SSIM 0.9614 # 8
Image Super-Resolution Set5 - 3x upscaling SwinOIR PSNR 34.69 # 12
SSIM 0.9296 # 8
Image Super-Resolution Urban100 - 2x upscaling SwinOIR PSNR 32.83 # 12
SSIM 0.9353 # 8
Image Super-Resolution Urban100 - 3x upscaling SwinOIR PSNR 28.87 # 10
SSIM 0.8674 # 7
Image Super-Resolution Urban100 - 4x upscaling SwinOIR PSNR 26.74 # 19
SSIM 0.806 # 17