OpenViSTAI · Agents · Blockchain · Crypto
Menu
Image & Video AI

Learning Multi-Scale Photo Exposure Correction

Learning Multi-Scale Photo Exposure Correction is a MATLAB research implementation accompanying a CVPR 2021 paper. It provides demos for correcting exposure in a single image, an image directory or through a GUI, along with code and datasets for training the model.

Independent OpenViST project profile, based on linked sources.

Learning Multi-Scale Photo Exposure Correction — Research and experimentation with photo exposure correction in MATLAB
OpenViST project illustration. See the linked sources for product details.
Understand the project

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.
Before you choose

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.

Source-based practical guide

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

  1. Run install_.m.

  2. Choose demo_single_image.m, demo_image_directory.m or demo_GUI.m as the demo entry point.

  3. For the script demos, adjust the S variable to scale Laplacian pyramid levels; optionally enable fusion or histogram adjustment using the documented fusion and pp variables.

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.
Source-based practical guide

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_IMAGES and exposure_dataset/validation/GT_IMAGES.
  • The project dataset, or other images organized into the documented input and ground-truth structure.

Steps

  1. Place the dataset under exposure_dataset in the repository root using the documented folder structure.

  2. Adjust the training and validation image directories in src/patches_extraction.m, then run that script to extract patches.

  3. Adjust the training and validation image directories in main_training.m and 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.
Evidence and transparency

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