Function Index
FromChannels
FromChannels[{
img
1
,
img
2
,
...
,
img
n
}]
returns a pixel-interleaved generic color
ImageData
expression from
n
single-channel
ImageData
expressions.
FromChannels[{
img
1
,
img
2
,
...
,
img
n
}
,
ColorFuntion
→
cf
]
returns a pixel-interleaved
ImageData
expression with the given color space
cf
from
n
single-channel
ImageData
.
See also User's Guide
2.4
.
Modified in Version 2.
Example
This loads the package.
In[1]:=
Here we read a three-channel test image and split it into three single-channel
ImageData
expressions.
In[2]:=
Out[2]=
Here we switch the color channels and recombine the one-channel
ImageData
expressions into an RGB color image.
In[3]:=
© 2008 Wolfram Research, Inc.
•
Terms of Use
•
Privacy Policy
Sign up for our newsletter: