Separates the color channels of a bitmap or VDM into individual grayscale channels.
When to Use
- Masks from color: Turn the red, green, or blue channel of an image, or its hue, saturation, or brightness, into a grayscale mask.
- Per-channel processing: Process each channel separately, for masking, further processing, or analysis.
- VDM components: Split a VDM into its parts: the first two outputs hold the sideways (X and Y) displacement, and the third holds the vertical component as an ordinary heightfield.
How to Use
Connect a color bitmap (or a VDM) to the input. By default it splits into Red, Green, and Blue channels, one per output.
- Select the appropriate Color model based on which channel representation you need:
- Use RGB to access raw color channels
- Use HSB to isolate hue, saturation, or brightness components
- Use HCL for perceptually uniform hue/chroma extraction
- Use LAB for advanced color manipulation
- Use the individual channel outputs for masking, further processing, or analysis.
Inputs
| Port Name | Type | Required | Description |
|---|---|---|---|
| Primary Input | RGB or VDM | Required | The color image or vector displacement map to split into channels |
Outputs
| Port Name | Type | Description |
|---|---|---|
| Red / Hue / L | Heightfield | First channel (Red in RGB, Hue in HSB and HCL, L in LAB; VDM X for a VDM input) |
| Green / Saturation / Chroma / a | Heightfield | Second channel (Green in RGB, Saturation in HSB, Chroma in HCL, a in LAB; VDM Y for a VDM input) |
| Blue / Brightness / Luminance / b | Heightfield | Third channel (Blue in RGB, Brightness in HSB, Luminance in HCL, b in LAB; VDM elevation for a VDM input) |
Output port names change based on the selected Color model. They keep those names when a VDM is connected.
Parameters
Color model
Default: RGB Type: Enum
Determines which color space to use for splitting:
- RGB: Separates into Red, Green, and Blue channels
- HSB: Converts to Hue, Saturation, and Brightness (HSV) before splitting
- HCL: Converts to Hue, Chroma, and Luminance (OKLab cylindrical) before splitting
- LAB: Converts to L, a, and b channels (OKLab) before splitting. The a and b channels are centered and scaled to 0-1 range.
Color model has no effect on a VDM input, which always splits into its X, Y, and Z components.
Tips and Tricks
- When using HSB, hue values wrap around (0 and 1 represent the same color).
Limitations
- This device cannot be masked and does not support presets.