A standalone MATLAB implementation of Local Histogram Equalization using the Bilateral Grid.

http://people.csail.mit.edu/jiawen/software/lhe-1.1.zip