Still a bit unhappy with the results of automatic (adaptive) gamma correction I’m continuing to experiment by writing the implementation of papers in regard to this topic. This time I found a paper with promising results and the title » An adaptive gamma correction for image enhancement « [1].
Contents
- Transformation results
- Implementation
- Opinion
- References
In the following I do refer to the implemented transformation as AGCIE.
Transformation results
All photos (these are photos I’ve taken) have been scaled and cropped to 1600x1200px and converted to PNG.
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Implementation
The implementation is available under MIT license written in PHP using \Imagick at Github
Opinion
It’s not as bright as AGCWD and – if you ignore the first three pictures (which have been classified as low contrast bright) on which this method massively failed – still brighter than my previous implementation (IAGCWD). Again, I prefer the results of the AGCWD.
References
Please mind that AGCIE, AGCWD, IAGCWD are not official abbreviations – it’s just what I used in my blog articles and in the implementation code.
- AGCIE:
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. - IAGCWD:
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. - AGCWD:
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
No Comments