Visit ComfyUI Online for ready-to-use ComfyUI environment
Decompose image into color channels for detailed editing and analysis in various color modes.
The LayerUtility: ImageChannelSplit node is designed to decompose an image into its individual color channels based on a specified color mode. This node is particularly useful for AI artists who need to manipulate or analyze specific color components of an image separately. By splitting an image into its constituent channels, you can perform detailed edits, apply unique effects, or conduct in-depth analysis on each channel independently. The node supports various color modes including RGBA, YCbCr, LAB, and HSV, providing flexibility to work with different color spaces according to your project needs.
This parameter accepts the image that you want to split into its individual color channels. The input should be in the form of an image tensor. The image serves as the source from which the node will extract the specified color channels.
This parameter determines the color mode in which the image will be split. The available options are RGBA
, YCbCr
, LAB
, and HSV
. Each mode corresponds to a different color space, and the choice of mode affects how the image is decomposed into channels. For example, RGBA
will split the image into Red, Green, Blue, and Alpha channels, while YCbCr
will split it into Luminance, Chrominance-blue, and Chrominance-red channels. The mode you select should align with the specific requirements of your project.
This output represents the first channel extracted from the image based on the selected color mode. For instance, in RGBA
mode, this would be the Red channel.
This output represents the second channel extracted from the image based on the selected color mode. For instance, in RGBA
mode, this would be the Green channel.
This output represents the third channel extracted from the image based on the selected color mode. For instance, in RGBA
mode, this would be the Blue channel.
This output represents the fourth channel extracted from the image based on the selected color mode. For instance, in RGBA
mode, this would be the Alpha channel. Note that not all modes will utilize this channel, and it may be empty or filled with a default value in such cases.
LAB
mode for tasks requiring luminance and color separation, or HSV
mode for tasks involving hue and saturation adjustments.RGBA
, YCbCr
, LAB
, HSV
).© Copyright 2024 RunComfy. All Rights Reserved.