Function Index
ToCIEXYZColor
ToCIEXYZColor[
img
]
returns an
ImageData
expression with
ColorFunction
→
CIEXYZColor
given an
RGBColor
image or a meshed or planar array of pixel values.
ToCIEXYZColor
returns real color values in the range 0≤x,y,z≤1.
Options
Chromaticity
and
Illuminant
may be used to modify particular attributes of the transformation.
See also User's Guide
3.5
.
New in Version 2.
Example
This loads the package.
In[1]:=
This reads an RGB color example image and scales the image to the range {0,1}.
In[2]:=
Out[2]=
This returns a
CIEXYZColor
image.
In[3]:=
Out[3]//InputForm=
© 2009 Wolfram Research, Inc.
•
Terms of Use
•
Privacy Policy
Sign up for our newsletter: