Skip to content

A python implementation of "A New Low-Light Image Enhancement Algorithm using Camera Response Model", ICCV2017.

License

Notifications You must be signed in to change notification settings

DavidQiuChao/CRM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CRM

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.

How to use the code

Just run the command "python main.py -i 'dataPath'". The variable "dataPath" specifies the testing data path.

Difference

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.

Testing Result

input image official result our result official illumMap our illumMap
13 or13 mr13 oilu13 milu13
36 or36 mr36 oilu36 milu36
37 or37 mr37 oilu37 milu37

About

A python implementation of "A New Low-Light Image Enhancement Algorithm using Camera Response Model", ICCV2017.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages