/PEC

Primary LanguagePython

Practical Exposure Correction: Great Truths Are Always Simple

visitors

[Paper]

Practicability evaluation. In (a), we compare nine advanced deep networks and nine traditional methods (please refer to the experimental part for detailed sources) by using different computational resources. In (b), we demonstrate a group of visual comparisons among two deep networks and PEC on the same scene [3] but with different exposure conditions (the left top and right bottom are overexposure and underexposure, respectively). In (c), we show visual comparisons among two traditional methods and PEC on different scenes [9, 24] with different degrees of underexposure. Obviously, our PEC realizes the best visual effects and spends least running time simultaneously, which fully indicates the practicability of PEC.

Codes

Requirements

  • python3.7
  • pytorch==1.8.0
  • cuda11.1

Testing

UnderExposure Correction

  • Prepare the data and put it in './Input/under'
  • Set the parameters according to the underexposure data and modify the config.py file
  • Run pec_under.py

OverExposure Correction

  • Prepare the data and put it in './Input/over'
  • Set the parameters according to the overexposure data and modify the config.py file
  • Run pec_over.py

Results on Exposure Correction

Results on High-level Vision Tasks

Dark Face Detection and Nighttime Semantic Segmentation