Update README.md
Browse files
README.md
CHANGED
@@ -1,9 +1,36 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Accelerating Image Super-Resolution Networks with Pixel-Level Classification
|
2 |
+
[![Project Page](https://img.shields.io/badge/Project-Page-green)](https://3587jjh.github.io/PCSR/)
|
3 |
+
[![arXiv](https://img.shields.io/badge/arXiv-2407.21448-b31b1b)](https://arxiv.org/abs/2407.21448)
|
4 |
+
|
5 |
+
<div align="justify">
|
6 |
+
<b>Abstract</b>: In recent times, the need for effective super-resolution (SR) techniques has surged, especially for large-scale images ranging 2K to 8K resolutions. For DNN-based SISR, decomposing images into overlapping patches is typically necessary due to computational constraints. In such patch-decomposing scheme, one can allocate computational resources differently based on each patch's difficulty to further improve efficiency while maintaining SR performance. However, this approach has a limitation: computational resources is uniformly allocated within a patch, leading to lower efficiency when the patch contain pixels with varying levels of restoration difficulty. To address the issue, we propose the Pixel-level Classifier for Single Image Super-Resolution (PCSR), a novel method designed to distribute computational resources adaptively at the pixel level. A PCSR model comprises a backbone, a pixel-level classifier, and a set of pixel-level upsamplers with varying capacities. The pixel-level classifier assigns each pixel to an appropriate upsampler based on its restoration difficulty, thereby optimizing computational resource usage. Our method allows for performance and computational cost balance during inference without re-training. Our experiments demonstrate PCSR's advantage over existing patch-distributing methods in PSNR-FLOP trade-offs across different backbone models and benchmarks.
|
7 |
+
</div>
|
8 |
+
<br>
|
9 |
+
|
10 |
+
## Dependencies
|
11 |
+
- Python 3.7<br>
|
12 |
+
- Pytorch 1.13<br>
|
13 |
+
- NVIDIA GPU + CUDA<br>
|
14 |
+
- Python packages: `pip install numpy opencv-python pandas tqdm fast_pytorch_kmeans`
|
15 |
+
|
16 |
+
## Demo
|
17 |
+
We offer a demo that can simulate 4x super-resolution using a single input image:
|
18 |
+
|
19 |
+
```
|
20 |
+
python demo.py
|
21 |
+
```
|
22 |
+
|
23 |
+
## Citation
|
24 |
+
```
|
25 |
+
@inproceedings{jeong2025accelerating,
|
26 |
+
title={Accelerating Image Super-Resolution Networks with Pixel-Level Classification},
|
27 |
+
author={Jeong, Jinho and Kim, Jinwoo and Jo, Younghyun and Kim, Seon Joo},
|
28 |
+
booktitle={European Conference on Computer Vision},
|
29 |
+
pages={236--251},
|
30 |
+
year={2025},
|
31 |
+
organization={Springer}
|
32 |
+
}
|
33 |
+
```
|
34 |
+
|
35 |
+
## Acknowledgement
|
36 |
+
This repo is based on [LIIF](https://github.com/yinboc/liif) and [KAIR](https://github.com/cszn/KAIR).
|