This project aims at throughly understand the implementation detail of paper "A New Low-Light Image Enhancement Algorithm using Camera Response Model",ICCV2017. The original project,OpenCE,is implemented by Matlab. Since the project is reproduced by python, some key function cannot be reproduced accuratly. If you find this project helpfully and have some advices,please feel free to contact me.
Just run the command "python main.py -i 'dataPath'". The variable "dataPath" specifies the testing data path.
For estimating the exposure ratio map, the original project uses the Matlab function, Precondition Conjugate Gradient and Incomplete Cholesky Decomposition, to solve the linear equation system. But in this code, the Conjugate-Gradient is uesd to solve the linear problems. And the "CG" function in Scipy takes more time than "PCG" function in Matlab.
input image | official result | our result | official illumMap | our illumMap |
---|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |