WOLFRAM
Products
Wolfram|One
Mathematica
Wolfram Notebook Assistant + LLM Kit
Wolfram|Alpha Notebook Edition
System Modeler
All Products
Consulting & Solutions
Wolfram Consulting
Industry Solutions
Solutions for Education
Learning & Support
Wolfram U Courses
Wolfram Language Resources
Wolfram Community
Support FAQs
Contact Support
Company
About Wolfram
Careers
Events
Educational Programs
All Sites and Resources
Wolfram|Alpha
Wolfram Cloud
Your Account
Your Account
User Portal
Search
Close
Enable JavaScript to interact with content and submit forms on Wolfram websites.
Learn how
Legacy Documentation
Digital Image Processing
(2000)
This is documentation for an obsolete product.
Current products and services
Function Index
ImageData
ImageData[
data, opts
]
is the default
ImageProcessing
data structure for monochrome and color images.
ImageData
is a new
Mathematica
object that facilitates the easy manipulation and handling of single-channel and multichannel images.
ImageData
is the default return value of the
ImageRead
function.
ImageData
has two options that define the pixel-interleaving method and the color function, respectively. The permitted values follow.
Option
Option
PixelInterleave
None
single-channel format
True
meshed multichannel format
False
planar multichannel format
ColorFunction
GrayLevel
grayscale color space
RGBColor
RGB color space
Hue
HSV color space
CMYKColor
CMYK color space
CIELABColor
CIE
L
*
a
*
b
*
color space
CIELUVColor
CIE
L
*
u
*
v
*
color space
CIEXYZColor
CIE
XYZ
color space
None
generic color space
Raw pixel data may be converted to an
ImageData
expression with functions:
ToGrayLevel
,
ToRGBColor
,
ToCMYKColor
,
ToHSVColor
,
ToCIEXYZColor
,
ToCIELUVColor
,
ToCIELABColor
, and
ToGenericColor
.
See also User's Guide
2.2
,
2.3
, and
2.4
.
Modified in Version 2.
Examples
This loads the package.
In[1]:=
Here we read a color test image.
In[2]:=
Out[2]=
This shows the
InputForm
(i.e., internal structure) of a three-channel RGB color space
ImageData
expression.
In[3]:=
Out[3]//InputForm=