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
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=