Color Separation

Color Separation

Separates a color image to components, each represented by a gray-level image. To combine color channels back to a color image, use color combining.

Inputs

image
A color image. If a gray-level input image is received, it will be sent to all three outputs as such.

Outputs

channel0
The first color channel as a gray-level image. If the input is an RGB image, this will be the red color channel.
channel1
The second color channel as a gray-level image (green in the case of an RGB image).
channel2
The third color channel as a gray-level image (blue in the case of an RGB image).
channel3
The fourth color channel as a gray-level image. Most color images don't have a fourth color channel, but it can be used for storing additional information in some applications. A typical use is to store opacity (alpha) with RGB.