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