Comment on page
Merge Channels
The
Merge Channels
node in AugeLab Studio is used to merge three grayscale images representing the red, green, and blue channels into a single RGB image.The
Merge Channels
node takes three grayscale input images representing the red, green, and blue channels, respectively. It combines these three channels to create a single RGB image. The node is useful for merging separate grayscale channels into a color image.- Node Title: Merge Channels
- Node ID: OP_NODE_MERGE_CHANNELS
The
Merge Channels
node has the following input sockets:- 1.Red Channel: The grayscale image representing the red channel.
- 2.Blue Channel: The grayscale image representing the blue channel.
- 3.Green Channel: The grayscale image representing the green channel.
All input images should have the same dimensions.
The
Merge Channels
node has the following output socket:- 1.Output Image: The resulting RGB image obtained by merging the three input channels.
The output image will have the same dimensions as the input channels.
- 1.Drag and drop the
Merge Channels
node from the node library onto the canvas in AugeLab Studio. - 2.Connect the grayscale image representing the red channel to the Red Channel input socket of the
Merge Channels
node. - 3.Connect the grayscale image representing the blue channel to the Blue Channel input socket of the
Merge Channels
node. - 4.Connect the grayscale image representing the green channel to the Green Channel input socket of the
Merge Channels
node. - 5.Run the pipeline.
- 6.The
Merge Channels
node will combine the three input channels to create an RGB image. - 7.The resulting RGB image will be output through the Output Image output socket.
- 8.Use the output image for further analysis or display it in the console.
- The
Merge Channels
node requires three grayscale input images representing the red, green, and blue channels. - The node combines the three channels to create an RGB image.
- The node supports grayscale images of any size and data type.
- If the input images have different dimensions, an error will be raised. Ensure that the input channels have the same size.
- The
Merge Channels
node uses OpenCV'scv2.merge()
function to combine the input channels into an RGB image. - The resulting RGB image will have the same dimensions as the input channels.
That concludes the documentation for the
Merge Channels
node in AugeLab Studio. This node allows you to merge three grayscale channels into a single RGB image, enabling you to work with color images in your pipeline.