Available in the LEADTOOLS Imaging toolkit.
StretchIntensity example for Visual Basic
This example stretches the intensity and redisplays the image.
Lead1.StretchIntensity Lead1.ForceRepaint