Awesome
UniProcessor: A Text-induced Unified Low-level Image Processor (ECCV 2024)
Huiyu Duan, Xiongkuo Min, Sijing Wu, Wei Shen, and Guangtao Zhai
This is the official repo of the paper UniProcessor: A Text-induced Unified Low-level Image Processor:
<hr /><hr />Abstract: Image processing, including image restoration, image enhancement, etc., involves generating a high-quality clean image from a degraded input. Deep learning-based methods have shown superior performance for various image processing tasks in terms of single-task conditions. However, they require to train separate models for different degradations and levels, which limits the generalization abilities of these models and restricts their applications in real-world. In this paper, we propose a text-induced unified image processor for low-level vision tasks, termed UniProcessor, which can effectively process various degradation types and levels, and support multimodal control. Specifically, our UniProcessor encodes degradation-specific information with the subject prompt and process degradations with the manipulation prompt. These context control features are injected into the UniProcessor backbone via cross-attention to control the processing procedure. For automatic subject-prompt generation, we further build a vision-language model for general-purpose low-level degradation perception via instruction tuning techniques. Our UniProcessor covers 30 degradation types, and extensive experiments demonstrate that our UniProcessor can well process these degradations without additional training or tuning and outperforms other competing methods. Moreover, with the help of degradation-aware context control, our UniProcessor first shows the ability to individually handle a single distortion in an image with multiple degradations.
Installation
See README_install.md for the installation of dependencies required to run UniProcessor.
Data preparation
The used datasets can be downloaded from: datasets, using password: cn8k
.
Pre-trained models
Our trained model can be downloaded from: model, using password: hicw
.
Training
See README_train.md for the training codes of UniProcessor.
Testing
See README_test.md for the testing codes of UniProcessor.
Citation
If you use UniProcessor, please consider citing:
@inproceedings{duan2024uniprocessor,
title={UniProcessor: A Text-induced Unified Low-level Image Processor},
author={Duan, Huiyu and Min, Xiongkuo and Wu, Sijing and Shen, Wei and Zhai, Guangtao},
booktitle={Proceedings of the European Conference on Computer Vision (ECCV)},
year={2024}
}
Acknowledgements
A large portion of codes in this repo is based on PromptIR and LAVIS.
Contact
If you have any question, please contact huiyuduan@sjtu.edu.cn