Visit ComfyUI Online for ready-to-use ComfyUI environment
Isolate and highlight specific colors in images by selecting pixels within defined color range, creating new image with selected colors emphasized.
The Image Select Color node is designed to help you isolate and highlight specific colors within an image. By specifying a target color and a variance range, this node scans through the image and selects pixels that fall within the defined color range. The result is a new image where only the selected colors are visible, and all other colors are set to black. This can be particularly useful for tasks such as color-based segmentation, creating masks for further image processing, or simply emphasizing certain colors in your artwork.
This parameter takes the input image that you want to process. The image should be in a format that can be converted to RGB mode for accurate color selection.
This parameter specifies the red component of the target color you want to select. The value ranges from 0 to 255, with a default value of 255. Adjusting this value will change the target red color for selection.
This parameter specifies the green component of the target color you want to select. The value ranges from 0 to 255, with a default value of 255. Adjusting this value will change the target green color for selection.
This parameter specifies the blue component of the target color you want to select. The value ranges from 0 to 255, with a default value of 255. Adjusting this value will change the target blue color for selection.
This parameter defines the allowable variance range for each color component (red, green, blue) when selecting pixels. The value ranges from 0 to 255, with a default value of 10. A higher variance allows for a broader range of colors to be selected, while a lower variance makes the selection more precise.
This output parameter provides the resulting image where only the pixels within the specified color range are visible. All other pixels are set to black. This image can be used for further processing or as a mask in other image editing tasks.
© Copyright 2024 RunComfy. All Rights Reserved.