Separate color channelsπŸ”—

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.

  • channel0Enabled: If set to true, channel0 output will be generated.

  • channel1Enabled: If set to true, channel1 output will be generated.

  • channel2Enabled: If set to true, channel2 output will be generated.

  • channel3Enabled: If set to true, channel3 output will be generated.

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.