Function Index
ToCIELUVColor
ToCIELUVColor[
img
]
returns an
ImageData
expression with
ColorFunction
→
CIELUVColor
given an
RGBColor
image or a meshed or planar array of pixel values.
CIELUVColor
is the 1976 CIE (
Commission Internationale de L
'
Eclairage
) perceptually uniform L
*
u
*
v
*
color space.
The
RGBColor
to
CIELUVColor
transformation is based on the following formulas:
,
u
*
= 13 L
*
(u-u
n
),
v
*
= 13 L
*
(v-v
n
).
Intermediate values u, v and u
n
, v
n
are defined:
,
,
,
,
where X, Y, and Z are the
CIEXYZColor
tristimulus values and X
n
, Y
n
, and Z
n
are the tristimulus values of the reference white point defined by the value of the option
Illuminant
.
ToCIELUVColor
returns ligthness in the range 0≤L
*
≤100, and the two color components ranging approximately -100≤u
*
, v
*
≤100.
The 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: