Command Palette
Search for a command to run...
Restormer: Efficient Transformer for High-Resolution Image Restoration
Zamir Syed Waqas ; Arora Aditya ; Khan Salman ; Hayat Munawar ; Khan Fahad Shahbaz ; Yang Ming-Hsuan

Abstract
Since convolutional neural networks (CNNs) perform well at learninggeneralizable image priors from large-scale data, these models have beenextensively applied to image restoration and related tasks. Recently, anotherclass of neural architectures, Transformers, have shown significant performancegains on natural language and high-level vision tasks. While the Transformermodel mitigates the shortcomings of CNNs (i.e., limited receptive field andinadaptability to input content), its computational complexity growsquadratically with the spatial resolution, therefore making it infeasible toapply to most image restoration tasks involving high-resolution images. In thiswork, we propose an efficient Transformer model by making several key designsin the building blocks (multi-head attention and feed-forward network) suchthat it can capture long-range pixel interactions, while still remainingapplicable to large images. Our model, named Restoration Transformer(Restormer), achieves state-of-the-art results on several image restorationtasks, including image deraining, single-image motion deblurring, defocusdeblurring (single-image and dual-pixel data), and image denoising (Gaussiangrayscale/color denoising, and real image denoising). The source code andpre-trained models are available at https://github.com/swz30/Restormer.
Code Repositories
Benchmarks
| Benchmark | Methodology | Metrics |
|---|---|---|
| color-image-denoising-on-kodak24-sigma50 | Restormer | PSNR: 30.01 |
| color-image-denoising-on-urban100-sigma15-1 | Restormer | Average PSNR: 35.13 |
| color-image-denoising-on-urban100-sigma50 | Restormer | PSNR: 30.02 |
| deblurring-on-based | Restormer local | ERQAv2.0: 0.73875 LPIPS: 0.08251 PSNR: 31.12341 SSIM: 0.94217 Subjective: 0.1231 VMAF: 65.25911 |
| deblurring-on-based | Restormer | ERQAv2.0: 0.74776 LPIPS: 0.08239 PSNR: 31.76111 SSIM: 0.94632 Subjective: 0.1175 VMAF: 66.3964 |
| deblurring-on-gopro | Restormer | PSNR: 32.92 SSIM: 0.961 |
| deblurring-on-hide-trained-on-gopro | Restormer | PSNR (sRGB): 31.22 Params (M): 26.13 SSIM (sRGB): 0.942 |
| deblurring-on-realblur-j-trained-on-gopro | Restormer | PSNR (sRGB): 28.96 SSIM (sRGB): 0.879 |
| deblurring-on-realblur-r-trained-on-gopro | Restormer | PSNR (sRGB): 36.19 SSIM (sRGB): 0.957 |
| deblurring-on-rsblur | Restormer | Average PSNR: 33.69 |
| grayscale-image-denoising-on-bsd68-sigma15 | Restormer | PSNR: 31.96 |
| grayscale-image-denoising-on-urban100-sigma15 | Restormer | PSNR: 33.79 |
| grayscale-image-denoising-on-urban100-sigma25 | Restormer | PSNR: 31.46 |
| grayscale-image-denoising-on-urban100-sigma50 | Restormer | PSNR: 28.29 |
| image-deblurring-on-gopro | Restormer | PSNR: 32.92 Params (M): 26.13 SSIM: 0.961 |
| image-denoising-on-dnd | Restormer | PSNR (sRGB): 40.03 SSIM (sRGB): 0.956 |
| image-denoising-on-sidd | Restormer | PSNR (sRGB): 40.02 SSIM (sRGB): 0.960 |
| single-image-deraining-on-rain100h | Restormer | PSNR: 31.46 SSIM: 0.904 |
| single-image-deraining-on-rain100l | Restormer | PSNR: 38.99 SSIM: 0.978 |
| single-image-deraining-on-test100 | Restormer | PSNR: 32.00 SSIM: 0.923 |
| single-image-deraining-on-test1200 | Restormer | PSNR: 33.19 SSIM: 0.926 |
| single-image-deraining-on-test2800 | Restormer | PSNR: 34.18 SSIM: 0.944 |
| single-image-desnowing-on-csd | Restormer | Average PSNR (dB): 35.43 |
| spectral-reconstruction-on-arad-1k | Restormer | MRAE: 0.1833 PSNR: 33.40 RMSE: 0.0274 |
| video-deraining-on-vrds | Restormer | PSNR: 29.59 SSIM: 0.9206 |
Build AI with AI
From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.