> For the complete documentation index, see [llms.txt](https://docs.augelab.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.augelab.com/function-blocks/blocks-reference/image-transformations/operations/split-image.md).

# Split Image

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

## 📥 Inputs <a href="#inputs" id="inputs"></a>

* `ImageRGB` An RGB image to split into individual channels.\
  (socket: input)

## 📤 Outputs <a href="#outputs" id="outputs"></a>

* `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 <a href="#controls" id="controls"></a>

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

## 🎨 Features <a href="#features" id="features"></a>

* 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 <a href="#usage" id="usage"></a>

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 <a href="#evaluation" id="evaluation"></a>

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

## 💡 Tips and Tricks <a href="#tips-and-tricks" id="tips-and-tricks"></a>

* 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 <a href="#troubleshooting" id="troubleshooting"></a>

* 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.
