This repository is a python implementation of Nighttime low illumination image enhancement with single image using bright/dark channel prior.
Some of the codes are different from the original paper because some descriptions there are missing & wrong.
You need to modify inside if __name__ == '__main__':
in dehaze.py for image, directory and parameters setting.
You can use multi-dehaze.sh for multi-image processing.
Input | Output |
---|---|
I noticed the result is quite bad if spotlights in image.
Input | Output |
---|---|
The codes are based on the following repository.
https://github.com/joyeecheung/dark-channel-prior-dehazing