Mathematica > Data Manipulation > Image Processing & Analysis > Image Representation > ImageType >

ImageType

Updated In 8 Graphic
ImageType[image]
gives the underlying type of values used for each pixel element in the Image object image.
"Bit"integer 0 or 1
"Byte"integer 0 through 255
"Bit16"integer 0 through 65535
"Real32"single precision real (32-bit)
"Real"double precision real (64-bit)
Byte image:
A 16-bit grayscale image:
A real-valued RGB image:
A binary image:
Byte image:
In[1]:=
Click for copyable input
Out[1]=
 
A 16-bit grayscale image:
In[1]:=
Click for copyable input
Out[1]=
 
A real-valued RGB image:
In[1]:=
Click for copyable input
Out[1]=
 
A binary image:
In[1]:=
Click for copyable input
Out[1]=
New in 7 | Last modified in 8
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF