Merge Channels

This function block allows users to combine three separate RGB channels into a single RGB image. It provides a straightforward method for reconstructing color images from their component channels.

πŸ“₯ Inputs

Red Channel The grayscale image representing the red channel.

Green Channel The grayscale image representing the green channel.

Blue Channel The grayscale image representing the blue channel.

πŸ“€ Outputs

Image RGB The output is a composite RGB image formed by merging the red, green, and blue channels.

πŸ•ΉοΈ Controls

This function block does not have specific controls, as inputs are directly provided through the linked channels.

🎨 Features

Channel Merging Combines individual grayscale channel images into a single color image efficiently.

πŸ“ Usage Instructions

  1. Input Channels: Connect grayscale images to the inputs corresponding to their respective channels (red, green, blue).

  2. Execute: Run the block to merge the channels and produce a combined RGB image.

πŸ“Š Evaluation

Upon evaluation, this function block will generate an RGB image output based on the individual channel inputs you’ve connected.

πŸ’‘ Tips and Tricks

Ensuring Correct Order

Ensure that the inputs are provided in the correct order: Red, Green, and Blue channels. Failing to do so will result in incorrect color representation in the output image.

Visualizing Before Merging

It can be helpful to visualize each individual channel before merging. Use the Show Image block to confirm that the channels contain valid data.

Using with Divide Images

Consider using this block in conjunction with the Split Image function block to extract individual channels from an RGB image before merging or further processing them.

πŸ› οΈ Troubleshooting

Output Appears Incorrect

If the output image appears black or incorrectly colored, double-check to ensure that input channels are correctly aligned and contain valid range values.

Input Channel Issues

If you receive an error regarding input channels, ensure all three channels are connected and that they are indeed grayscale images.

If using mixed types, ensure all inputs are of type Image Gray.

Last updated