Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

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 image hereunder shows the application of the algorithm to one of my images (the GUI has slightly evolved).

The code should work on all .NET versions (it makes use of winforms).

To-dos

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
  • ...

Dependencies

None, that was the goal.

Ackowledgment

License

MIT licensed, c.f. the LICENSE.md file.

Contact

Do not hesitate to contact me if you need some help, you may find my contact here.

About

C# Simple and unoptimized implementation of the famous CLAHE filter.

Resources

License

Releases

No releases published

Packages

No packages published

Languages