Available in LEADTOOLS
Medical Imaging
toolkits.
Local Histogram Equalize