Grayscale Channels
Split an image into gray + R/G/B in one node
- image
- grayscale
- blue channel
- green channel
- red channel
Sometimes you don't want the whole color image - you want one specific channel of it, or a straight grayscale conversion, to feed into something else in the graph. ConvertGrayChannelNode takes a single image and hands you back four separate outputs in one pass: a grayscale version, plus the blue, green, and red channels each pulled out on their own. It's a utility node in the truest sense - it doesn't do anything you couldn't do with channel-splitting math elsewhere, but it does it in one drop instead of assembling it yourself.
This one isn't called out in the pack's own README - it's a small bonus utility riding along with the rest of the color-tool collection rather than a headline feature, so treat the description here as read directly off what the node exposes rather than the author's own framing.
Where you'd actually use this
Individual color channels are handy raw material for a few things: building a custom mask from whichever channel has the best contrast for what you're isolating, feeding a channel into a ControlNet-style preprocessor that expects a single-channel input, or just inspecting an image's color makeup when something looks subtly wrong and you want to see which channel is misbehaving. The plain grayscale output is the more everyday case - useful anywhere downstream expects a single-channel luminance image instead of full RGB, like certain masking or compositing setups.
The inputs and outputs that matter
About as simple as a node gets:
image(IMAGE) - the only input, required, nothing to configure.
Four outputs, all IMAGE type, all fired from the same single input:
grayscale- a standard grayscale conversion of the full image.blue channel,green channel,red channel- each individual color channel, isolated on its own.
You don't have to use all four - pull just the channel you need and ignore the rest.
How to install it
Via ComfyUI Manager: search "ComfyUI-MingNodes," install, restart. Or manually:
cd ComfyUI/custom_nodes
git clone https://github.com/mingsky-ai/ComfyUI-MingNodes
then restart. Nothing else to set up - no models, no keys, no extra dependencies specific to this node.
Common issues & troubleshooting
A single-channel output looks like a full-color image, not black-and-white. Individual color channels (and grayscale, depending on what's downstream) are single-channel data under the hood, but some viewers or downstream nodes will display or interpret them differently - that's a display quirk of whatever's rendering the preview, not a sign the node did the wrong thing. Check the actual channel content rather than trusting a thumbnail.
You expected a MASK output, not IMAGE. All four outputs on this node are IMAGE type, not MASK - if you need one of these channels as an actual mask (for use in a masking-specific input elsewhere), you'll need to convert it with a dedicated image-to-mask node afterward; this node doesn't do that conversion for you.
Not sure which channel has the detail you need. Since there's no cost to pulling all four, wire up all the outputs to Preview Image nodes once while you're figuring out your workflow, look at all four side by side, and then trim back to just the one(s) you actually use once you know which channel is doing the work.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| grayscale | IMAGE | — |
| blue channel | IMAGE | — |
| green channel | IMAGE | — |
| red channel | IMAGE | — |