Merge Channels
This function block combines three single-channel (grayscale) images into a single color image. Use it when you have separate red, green and blue channel images that should be merged into one RGB image for visualization or further processing.
π₯ Inputs
Red ChannelInput socket - Grayscale image representing the red channel.Blue ChannelInput socket - Grayscale image representing the blue channel.Green ChannelInput socket - Grayscale image representing the green channel.
π€ Outputs
ImageRGBOutput socket - The resulting RGB image produced by merging the three input channels.
πΉοΈ Controls
No ControlsThis block has no adjustable widgets; it performs the merge as soon as inputs are provided.
π¨ Features
Simple and fast merging of three single-channel images into a color image.
Keeps pixel alignment if input channels share the same dimensions and coordinate system.
Works with standard image workflows: merge then visualize or apply color operations.
π Usage Instructions
Prepare three grayscale images for each color channel.
Connect the grayscale image that represents red information to
Red Channelinput socket.Connect the grayscale image that represents blue information to
Blue Channelinput socket.Connect the grayscale image that represents green information to
Green Channelinput socket.Read the combined color image from the
ImageRGBoutput socket and use it with downstream blocks.
Note: For correct results, ensure all three inputs have the same width, height and alignment before merging.
π Evaluation
When executed, this block outputs a single RGB image created by combining the three provided single-channel images. If any input is missing or dimensions differ, downstream results may be unexpectedβverify inputs before running.
π‘ Tips and Tricks
To split an existing color image into separate channels before processing, use the
Split Imageblock then feed the outputs into this block.If channel images have mismatched sizes, use the
Image ResizeorImage Resizerblock to normalize dimensions first.Preview the merged result with the
Show Imageblock to verify correct channel placement.Before merging, you can denoise or blur individual channels using
DenoisingorBlurto reduce artifacts.Use
Adjust Colorsafter merging to tweak contrast/white balance if colors look off.Use
RGB MaskorRGB Setearlier in the pipeline to selectively modify or mask specific channel areas before merging.
π οΈ Troubleshooting
If the final image looks tinted or colors are swapped, double-check that each grayscale image is connected to the correct input socket (
Red Channel,Green Channel,Blue Channel).If you see errors or distorted output, confirm that all three channel images share identical resolution and orientation. Use
Image ResizeorImage AutoRotatorif needed.If the merged image contains noise or artifacts, apply
Denoisingto each channel before merging.
Last updated
Was this helpful?