These are just some implementations of proposed methods in papers I've read which I did wrote while searching something which might be used to automatically enhance contrast / add gamma-correction to my photos. I've used \Imagick in PHP for that purpose. I'm mostly working on the CLI with the scripts.
- AGCWD Adaptive Gamma Correction with Weighting Distribution [1]
- IAGCWD Adaptive Gamma Correction with Weighting Distribution modified to enhance brightness-distorted pictures [2]
- AGCIE An adaptive gamma correction for image enhancement [3]
$testImage = new Imagick('test.png');
// reference [1]
$agcwd = new ImageAGCWD($testImage);
$agcwd->writeImage('agcwd.png');
// reference [2]
$iagcwd = new ImageIAGCWD($testImage);
$iagcwd->writeImage('iagcwd.png');
// reference [3]
$agcie = new ImageAGCIE($testImage);
$agcie->writeImage('agcie.png');
- AGCWD [1]: https://jeanbruenn.info/2018/11/05/adaptive-gamma-correction-with-weighting-distribution-with-imagick-and-php/
- IAGCWD [2]: https://jeanbruenn.info/2018/11/06/adaptive-gamma-correction-for-brightness-distorted-images-with-imagick-and-php/
- AGCIE [3]: https://jeanbruenn.info/2018/11/06/another-adaptive-gamma-correction-implementation/
- S. Huang, F. Cheng and Y. Chiu, „Efficient Contrast Enhancement Using Adaptive Gamma Correction With Weighting Distribution,“ in IEEE Transactions on Image Processing, vol. 22, no. 3, pp. 1032-1041, March 2013. doi: 10.1109/TIP.2012.2226047
- Cao, Gang & Huang, Lihui & Tian, Huawei & Huang, Xianglin & Wang, Yongbin & Zhi, Ruicong. (2017). Contrast Enhancement of Brightness-Distorted Images by Improved Adaptive Gamma Correction. CAEE. 10.1016/j.compeleceng.2017.09.012.
- Rahman, Shanto & Rahman, Md. Mostafijur & Abdullah-Al-Wadud, M & Al-Quaderi, Golam Dastegir & Shoyaib, Mohammad. (2016). An adaptive gamma correction for image enhancement. EURASIP Journal on Image and Video Processing. 35. 10.1186/s13640-016-0138-1.