Combine color channels🔗

Combines separated color channels to a color image. To separate a color image to color channels, use color separation.

Inputs🔗

  • channel0: The first color channel as a gray-level image. If an RGB image is being composed, this is the red color channel.

  • channel1: The second color channel as a gray-level image. If an RGB image is being composed, this is the green color channel.

  • channel2: The second color channel as a gray-level image. If an RGB image is being composed, this is the blue color channel.

  • channel3: The fourth color channel as a gray-level image. Usually, images only have three color channels. The fourth channel can be used for storing additional information in some applications. A typical use is to store opacity (alpha) with RGB.

Unconnected color channels will be zeros in the output. All input images must be the same size. The calibration data of the first one will be copied to the output image. If input images have a depth of more than eight bits, the eight least significant bits will be used.

Outputs🔗

  • image: A color image.