Function Index
ToRGBColor
ToRGBColor[
img
]
returns a three-channel
RGBColor
image given image
img
in a supported color format or raw image data.
The options
Chromaticity
and
Illuminant
may be used to modify particular attributes of the transformation when mapping from the
CIEXYZColor
,
CIELUVColor
, and
CIELABColor
color spaces.
See also User's Guide
3.5
.
Modified in Version 2.
Examples
This loads the package.
In[1]:=
This creates an RGB color image by mixing varying amounts of red and green while keeping blue constant.
In[2]:=
Out[2]=
Here we read a small monochrome test image and changes the color space to
RGBColor
.
In[3]:=
Out[3]//InputForm=
© 2009 Wolfram Research, Inc.
•
Terms of Use
•
Privacy Policy
Sign up for our newsletter: