Available in the LEADTOOLS Imaging toolkit.
HistoContrast example for Visual Basic
This example applies a histogram contrast to the bitmap and repaints the image.
Lead1.HistoContrast 300 Lead1.ForceRepaint