[mmdatatype] [Up] [mmreadgray] Image Information and Manipulation

mmmaxleveltype
Returns the maximum value associated to an image datatype

Synopsis

max = mmmaxleveltype ( TYPE = 'uint8' )

Input

TYPE String

One of the strings 'uint8', 'uint16' or 'int32', specifying the image type

Default: 'uint8' ('uint8')

Output

max Double

the maximum level value of type TYPE

[mmdatatype] [Up] [mmreadgray]