ComfyUI Node
RC Channel Extractor
Extract RGB channel or luminance as grayscale image and mask
RC Channel Extractor
- image
- IMAGE
- MASK
◄channelgreen►
◄invertfalse►
CategoryRC/Channel
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| channel | COMBO | green | Channel to extract: - red: Red channel - green: Green channel (often best for green screen) - blue: Blue channel - alpha: Alpha channel (if available) - luminance: Luminance (0.299*R + 0.587*G + 0.114*B) |
| invert | BOOLEAN | false | Invert the extracted channel |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| IMAGE | IMAGE | — |
| MASK | MASK | — |