Python implementation of Global Contrast Factor - a New Approach to Image Contrast
import cv2
from global_contrast_factor import GlobalContrastFactor
img = cv2.imread("./images/img1.png")
img_low_contrast = cv2.imread("./images/img_contrast50.png")
gfc = GlobalContrastFactor()
print(gfc(img))
print(gfc(img_low_contrast))
pip install global-contrast-factor-python
@inproceedings{Matkovic2005GCF,
title = {Global Contrast Factor - a New Approach to Image Contrast},
author = {Krešimir Matkovic, László Neumann, Attila Neumann, Thomas Psik, Werner Purgathofer},
year = {2005}
}