Jensen-JZ / CE_LDR

Python implementation of the algorithm in the paper "Contrast Enhancement Based on Layered Difference Representation of 2D Histograms".

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CE_LDR (Implementation of "Contrast Enchancement Based on Layered Difference Representation of 2D Histograms")

Python implementation of the algorithm in the paper "Contrast Enhancement Based on Layered Difference Representation of 2D Histograms".


Usage

a. Go to the project directory.

cd CE_LDR/

b. Generate contrast enhanced image.

python CE_LDR.py --input_path ${INPUT_PATH} (optional: --alpha ${ALPHA} --U ${U})

Please replace ${INPUT_PATH}, ${ALPHA} and ${U} in the shell of the command line with the real input image path, alpha value and U matrix.

About

Python implementation of the algorithm in the paper "Contrast Enhancement Based on Layered Difference Representation of 2D Histograms".

License:MIT License


Languages

Language:Python 100.0%