ImageGear Professional v18.2 > API Reference Guide > MD Component API Reference > MD Component Objects > IGMedProcessing Object > IGMedProcessing Methods > GetMinMax Method |
Scans an 8- or 16-bit grayscale image and returns the minimum and maximum pixel values. If the image is 16-bit signed then the returned values are also signed, otherwise returned values are unsigned.
When a 16-bit grayscale image is unsigned it has pixel values between 0 and 65535. If an image is "signed" it has pixel values between -32768 and +32767. The knowing whether the image is signed or unsigned will help you to interpret the minimum and maximum values. Use IGPage Object.Signed Property to find out whether the image is signed.
GetMinMax() As IGMedMinMax
IGMedMinMax Object containing minimum and maximum values.
8..16g
Med