CLAHE CS implementation
This repo is a simple C# translation of the ANSI C code from the article "Contrast Limited Adaptive Histogram Equalization" by Karel Zuiderveld, in "Graphics Gems IV", Academic Press, 1994 There is a (probably much better) implementation in OpenCV but I needed the code to run on its own without any library dependency.
The code should work on all .NET versions (it makes use of winforms).
This code is minimalist (if not bad), here are some things I'll do when/if I find the time:
- Allow to load any image
- Debug cases of image sizes that arent powers of 2
- Work on any type of data, not only 8 bits
- Extend algo to color images
None, that was the goal.
MIT licensed, c.f. the LICENSE.md file.
Do not hesitate to contact me if you need some help, you may find my contact here.