ImageGear Professional for Windows ActiveX
GetMinMax Method

Description:

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.

Syntax:

      GetMinMax() As IGMedMinMax

Return Value:

IGMedMinMax Object containing minimum and maximum values.

Bits Per Pixel:

8..16g

Sample:

Med

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback