Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Data Manipulation > Image Processing & Analysis > Color Processing >
Mathematica > Visualization and Graphics > Graphics Options & Styling > Colors > Color Processing >
Mathematica > Visualization and Graphics > Symbolic Graphics Language > Graphics Directives > Colors > Color Processing >

ColorSeparate

ColorSeparate[image]
gives a list of single-channel images corresponding to each of the color channels in image.
  • ColorSeparate works with images containing any number of color channels.
Separate an RGB image into three channels:
Separate the channels of an HSB image:
Separate an RGB image into three channels:
In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
 
Separate the channels of an HSB image:
In[1]:=
Click for copyable input
Out[1]=
Extract red objects by subtracting the blue and green color planes from the red color plane:
New in 7
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team