Skip to content

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

License

Notifications You must be signed in to change notification settings

cjaques/clahe_net

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages