Practical overview
When it fits
Use the project to explore a MATLAB research implementation of multi-scale photo exposure correction, run its documented demos, or study its dataset and training workflow.
Who it is for
- Researchers studying computational photography and photo exposure correction.
- MATLAB users who want to explore image-correction demos or the project's model-training workflow.
Documented uses
- Apply the supplied exposure-correction demo to a single image or directory of images.
- Adjust output through Laplacian-pyramid scale controls and optional fusion or histogram adjustment.
- Prepare paired input and ground-truth images, extract patches and start model training.
Requirements & limits
The project specifies MATLAB 2019b or higher and the Deep Learning Toolbox. The software is provided for research purposes only and cannot be used commercially.
- The README identifies MATLAB 2019b or higher and the Deep Learning Toolbox as prerequisites.
- The demo controls include Laplacian-pyramid scale factors, with optional fusion and histogram adjustment.
- Training requires input and ground-truth images in the documented folder structure and uses patches at 128×128, 256×256 and 512×512 resolutions.
- The project links training, validation and testing datasets; its dataset follows the original MIT-Adobe FiveK license.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Set up the MATLAB project and open a correction demo
Prepare the documented environment and start one of the supplied image-correction demos.
Before you start
- MATLAB 2019b or higher; the project says it was tested on MATLAB 2019b.
- Deep Learning Toolbox.
- The project repository and its MATLAB files.
Steps
Run
install_.m.Choose
demo_single_image.m,demo_image_directory.mordemo_GUI.mas the demo entry point.For the script demos, adjust the
Svariable to scale Laplacian pyramid levels; optionally enable fusion or histogram adjustment using the documentedfusionandppvariables.
Expected outcome
A selected demo is set up for image exposure correction, with documented controls for adjusting output and optional post-processing.
Guide limitations
- The README describes expected demo behavior but does not specify input image formats or provide runtime compatibility guarantees.
- Fusion and histogram adjustment were not used for the paper's reported results; the authors say they can improve results in some cases.
Prepare image patches and start model training
Organize the training and validation images, extract multi-scale patches and start the supplied training script.
Before you start
- MATLAB 2019b or higher and Deep Learning Toolbox.
- Training and validation images arranged as
exposure_dataset/training/INPUT_IMAGES,exposure_dataset/training/GT_IMAGES,exposure_dataset/validation/INPUT_IMAGESandexposure_dataset/validation/GT_IMAGES. - The project dataset, or other images organized into the documented input and ground-truth structure.
Steps
Place the dataset under
exposure_datasetin the repository root using the documented folder structure.Adjust the training and validation image directories in
src/patches_extraction.m, then run that script to extract patches.Adjust the training and validation image directories in
main_training.mand run it to start training.
Expected outcome
The supplied workflow extracts patches at the described resolutions and starts model training.
Guide limitations
- The README describes training on 128×128 patches, followed by 256×256 and 512×512 patches.
- The software is for research purposes and cannot be used commercially; the provided dataset follows the original MIT-Adobe FiveK license.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 8 November 2026
- Original website title
- mahmoudnafifi/Exposure_Correction · Official homepage title · retained in its source language

