https://github.com/murufeng/fuir
A Flexible and Unified Image Restoration Framework (PyTorch), including state-of-the-art image restoration model. Such as NAFNet, Restormer, MPRNet, MIMO-UNet, SCUNet, SwinIR, HINet, etc. ⭐⭐⭐⭐⭐⭐
https://github.com/murufeng/fuir
image-deblurring image-denoising image-deraining image-restoration image-super-resolution
Last synced: over 1 year ago
JSON representation
A Flexible and Unified Image Restoration Framework (PyTorch), including state-of-the-art image restoration model. Such as NAFNet, Restormer, MPRNet, MIMO-UNet, SCUNet, SwinIR, HINet, etc. ⭐⭐⭐⭐⭐⭐
- Host: GitHub
- URL: https://github.com/murufeng/fuir
- Owner: murufeng
- License: apache-2.0
- Created: 2022-05-16T13:18:37.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-24T16:24:07.000Z (about 4 years ago)
- Last Synced: 2025-04-09T16:08:25.113Z (over 1 year ago)
- Topics: image-deblurring, image-denoising, image-deraining, image-restoration, image-super-resolution
- Language: Python
- Homepage:
- Size: 3.34 MB
- Stars: 313
- Watchers: 3
- Forks: 34
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://paperswithcode.com/sota/image-deblurring-on-gopro?p=simple-baselines-for-image-restoration)
[](https://paperswithcode.com/sota/image-denoising-on-sidd?p=simple-baselines-for-image-restoration)
[](https://paperswithcode.com/sota/deblurring-on-hide-trained-on-gopro?p=maxim-multi-axis-mlp-for-image-processing)
[](https://paperswithcode.com/sota/deblurring-on-reds?p=vrt-a-video-restoration-transformer)
[](https://paperswithcode.com/sota/single-image-deraining-on-rain100h?p=restormer-efficient-transformer-for-high)
[](https://paperswithcode.com/sota/single-image-deraining-on-rain100l?p=restormer-efficient-transformer-for-high)
[](https://paperswithcode.com/sota/single-image-deraining-on-test100?p=restormer-efficient-transformer-for-high)
[](https://paperswithcode.com/sota/single-image-deraining-on-test1200?p=restormer-efficient-transformer-for-high)
[](https://paperswithcode.com/sota/single-image-deraining-on-test2800?p=restormer-efficient-transformer-for-high)
[](https://paperswithcode.com/sota/stereo-image-super-resolution-on-flickr1024-1?p=nafssr-stereo-image-super-resolution-using)
[](https://paperswithcode.com/sota/stereo-image-super-resolution-on-flickr1024-2?p=nafssr-stereo-image-super-resolution-using)
[](https://paperswithcode.com/sota/stereo-image-super-resolution-on-kitti2012-2x-1?p=nafssr-stereo-image-super-resolution-using)
[](https://paperswithcode.com/sota/stereo-image-super-resolution-on-kitti2012-4x?p=nafssr-stereo-image-super-resolution-using)
[](https://paperswithcode.com/sota/stereo-image-super-resolution-on-kitti2015-2x?p=nafssr-stereo-image-super-resolution-using)
[](https://paperswithcode.com/sota/stereo-image-super-resolution-on-kitti2015-4x?p=nafssr-stereo-image-super-resolution-using)
[](https://paperswithcode.com/sota/stereo-image-super-resolution-on-middlebury-1?p=nafssr-stereo-image-super-resolution-using)
[](https://paperswithcode.com/sota/stereo-image-super-resolution-on-middlebury?p=nafssr-stereo-image-super-resolution-using)
# A Flexible and Unified Image Restoration Framework.
[](https://github.com/murufeng/FUIR)
[](https://github.com/murufeng/FUIR)
[](https://github.com/murufeng/FUIR/releases)

> 当前,对于Low-level-Vision中的图像恢复任务(Image Super-resolution, Image Denoising, Image Deblurring等) 已经出现了很多优秀实用的工具包。
>但是,对于去年出现的一系列Transformer网络架构还没有一个统一的项目将它集成起来,本项目主要在具体图像恢复任务的数据处理和网络训练配置上将当前主流的CNN网络和基于Transformer的网络架构集成了起来。本项目将作为图像恢复任务的一个灵活统一的工具。利用本项目可以快速实现图像去噪,图像/视频去模糊,图像去雨等一系列经典任务的训练。
>本项目提供在GOPRO、SIDD、REDS、Rain13K数据集上的数据预处理以及网络架构训练教程,后续我们将持续更新。希望本项目既能让图像处理初学者快速入门,又能服务科研和工业社区。
### Installation
See [INSTALL.md](https://github.com/murufeng/FUIR/blob/main/INSTALL.md) for the installation of dependencies required to run [FUIR](https://github.com/murufeng/FUIR).
### News
* *2022-5-17* Update the State-of-the-Art models, such as NAFNet, Restormer, MPRNet, HINet, MIMO-UNet
### Model Zoo
NAFNet
网络模块结构如下所示:

模块设计如下:

两大经典图像恢复实验结果如下:
1. Image Denoising (在SIDD数据集实现SOTA):

2. Image Deblurring (在GoPro数据集实现SOTA):

[模型训练配置](./docs)
[模型训练代码](./options/train)
Restormer
网络模块结构如下所示:

三大图像恢复实验结果对比图:

1. Image Deraining(目前保持SOTA):


2. Image Deblurring:

3. Image Denoising:

[模型训练配置](./docs)
[模型训练代码](./options/train)
HINet
网络模块结构如下所示:


#### 三大图像恢复实验结果:
1. Image Denoising:

2. Image Deblurring:

3. Image Deraining:

[模型训练配置](./docs)
[模型训练代码](./options/train)
MPRNet
网络模块结构如下所示:

#### 三大图像恢复实验结果:
1. Image Deraining:


2. Image Deblurring:

3. Image Denoising:

[模型训练配置](./docs)
[模型训练代码](./options/train)
MIMONet
网络模块结构如下所示:

图像去模糊实验结果与可视化图:


MIRNet
网络模块结构如下所示:



SCUNet
网络模块结构如下所示:

部分实验结果如下:



### Experiments
### Image Restoration Tasks
| Task | Dataset | Train/Test Instructions
| :----------------------------------- | :------ | :---------------------- |
| Image Deblurring | GoPro | [link](./docs/GoPro.md) |
| Image Denoising | SIDD | [link](./docs/SIDD.md) |
| Image Deblurring with JPEG artifacts | REDS | [link](./docs/REDS.md) |
| Image Derain | Rain13K | [link](./docs/Rain.md) |
| Stereo Image Super-Resolution | Flickr1024+Middlebury | [link](./docs/StereoSR.md)
### Citations
If you find this project is useful, please give me a star and fork!
### Contact
If you have any questions, please contact me. 2394849504@qq.com
---
## Acknowledgment
This implementation based on [BasicSR](https://github.com/xinntao/BasicSR) and [NAFNet](https://github.com/megvii-model/NAFNet).
statistics
