ImageGear Professional v18.2 > API Reference Guide > MD Component API Reference > MD Component Objects > IGMedContrast Object > IGMedContrast Methods > AutoAdjustFrom Method |
Automatically adjusts WindowWidth Property and WindowCenter Property of the IGMedContrast Object, according to minimum and maximum intensities of a portion of IGPage, specified by its ROI.
Use IGMedCtl Control.BuildGrayscaleLUT Method to build a grayscale LUT from MedContrast, and then copy this grayscale LUT to either an IGPage Object or to IGPageDisplay Object, using IGPage Object.UpdateGrayscaleLUTFrom Method or IGPageDisplay Object.UpdateGrayscaleLUTFrom Method.
AutoAdjustFrom(Page as IGPage Object)
Name | Description |
---|---|
Page | Specifies the page, which should be checked for minimum and maximum intensities. |
None
8...16 bpp
Med