Related Works • Contributors • Pipeline • Results • Environment • Installation
Note
Exposure Correction is used to adjust the brightness of photos or images to achieve an ideal exposure level, correcting detail loss caused by overexposure (too bright) or underexposure (too dark), thereby enhancing image quality and visual effects.
Our work combines the methods from three papers, modifying the network framework to achieve effective exposure correction.
- Zero DCE, CVPR 2020
- Learning Multi-Scale Photo Exposure Correction, CVPR 2021
- Reversed and Fused Zero-DCE
Our pipeline consists of three main components:
- Multi-scale Processing: Input image is decomposed into n-level Laplacian pyramid
- Progressive Enhancement:
- Each level is processed by a dedicated DCE-Net
- Forward enhancement: Apply curve parameters A
- Backward reasoning: Apply inverse parameters -A
- Add Laplacian details to enhanced result
- Cascading Structure: Output from each level serves as input to the next level
Caution
We are using the following environment to develop this project.
- NVIDIA GeForce RTX 4090
- Ubuntu 24.04 LTS
- python = 3.7
- pytorch = 1.13.1
- torchvision = 0.14.1
- torchaudio = 0.13.1
- Cuda = 11.7
- OpenCV
-
Clone the repository:
git clone https://github.com/ChuEating1005/Exposure-Correction cd Exposure-Correction -
Install dependencies:
pip install -r requirements.txt
Zero-DCE/
├── data/ # Dataset directory
├── models/ # Model architectures
├── train/ # Training scripts
├── test/ # Testing scripts
├── utils/ # Utility functions
└── snapshots/ # Model weights
This project is licensed under the MIT License - see the LICENSE file for details.



