Split Image

This function block separates an RGB image into three single-channel grayscale images so you can process each color channel independently.

πŸ“₯ Inputs

  • ImageRGB An RGB image to split into individual channels. (socket: input)

πŸ“€ Outputs

  • Red Channel Grayscale image showing the red channel. (socket: output)

  • Blue Channel Grayscale image showing the blue channel. (socket: output)

  • Green Channel Grayscale image showing the green channel. (socket: output)

πŸ•ΉοΈ Controls

  • This block has no interactive controls. It runs automatically when an image is provided.

🎨 Features

  • Quick channel splitting for per-channel analysis or preprocessing.

  • Outputs are standard grayscale images that work with all blocks expecting single-channel inputs.

  • Lightweight and fast β€” suitable for real-time pipelines.

πŸ“ Usage Instructions

  1. Provide an RGB image to the ImageRGB input socket.

  2. The block produces three grayscale outputs: Red Channel, Blue Channel, and Green Channel.

  3. Connect any of these outputs to downstream blocks that accept grayscale images.

πŸ“Š Evaluation

When executed, the function block outputs each color channel as a separate grayscale image, ready for independent processing.

πŸ’‘ Tips and Tricks

  • To preview results quickly, connect any channel output to the Show Image block.

  • After processing channels separately (for example with Blur, Image Threshold, or Adjust Colors), recombine them using the Merge Channels block to restore an RGB image.

  • Use the Color Density Percentage block on individual channels to quantify channel dominance and guide threshold choices.

  • If you need to isolate a specific color range, split channels first and then apply HSV Filter or RGB Mask on the appropriate channel for finer control.

  • For color correction workflows, split channels, adjust each with Adjust Colors or Contrast Optimization, and then merge back with Merge Channels.

  • Use Mean Value of Image on channel outputs to monitor brightness per channel (helpful for exposure and lighting checks).

πŸ› οΈ Troubleshooting

  • If outputs look blank or identical, verify that the input provided to ImageRGB is a valid RGB image.

  • If downstream blocks expect a 3-channel image, remember to use Merge Channels after per-channel processing.

  • For noisy single-channel outputs, insert a Blur or Denoising block before further analysis.

Last updated

Was this helpful?