AccusoftImagXpress13 ActiveX DLL > ImagXpress Object : ApplyGrayscaleTransform Method |
Visual Basic |
---|
Public Sub ApplyGrayscaleTransform() |
Some images describe more shades of gray than the human eye can discriminate (typically in medical applications.) It is widely held that the eye discerns approximately 256 different shades of gray. This method facilitates reduction of bit-depth to 8-bits, to display 256 different shades of gray.
The ViewGrayMode property defines the transform that is used to level the image (standard or medical), and must be set prior to calling this method. The standard method calculates a factor to multiply the values by to convert the selected range of grays to the 256 levels of gray. The medical method uses a range and area of values that the user is interested in to select the 256 grays.
Note: Available in Professional edition.