Helper method to create the grayscale brush required by this effect from a LEADTOOLS Leadtools.RasterImage.
image
The input LEADTOOLS Leadtools.RasterImage.
An System.Windows.Media.ImageBrush object containing the grayscale texture.
You can use this method to create the grayscale texture required by this effect.
For C#/VB examples, refer to WindowLevelEffect.