Color Adjustments & Effects

Brightening images, increasing contrast, adding glow to make them look cool... these are familiar processes for designers and artists.

In image generation, these functions are sometimes used as "preprocessing" to make images easier for AI to use.

There are many custom nodes related to image processing, and more advanced processing is possible, but honestly, there are many situations where it feels easier to use a familiar paint tool.

You don't have to do everything in ComfyUI.


Basic Processing

Invert Image Node

Invert_Image.json

Generates a negative image with inverted RGB values.

Image Sharpen Node

ImageSharpen.json

Sharpens the outlines.

Image Blur Node

ImageBlur.json

Blurs the image.

Image Quantize Node

ImageQuantize.json

Reduces the number of colors (posterization).

ImageAddNoise Node

ImageAddNoise.json

Adds noise to the image.

Although a bit niche, there is a technique to increase details even with low denoise settings by intentionally adding noise when performing image2image.

cf. Adding noise to pixel images to increase details in image2image with low denoise


Morphological Transformation

ImageMorphology.json

It may be an unfamiliar term, but it is mainly used to process black and white mask images. Processing such as "thickening lines (dilation)" and "removing noise (erosion)" is possible.

cf. OpenCV-Python/Morphological Transformations


Full-scale Color Correction (Custom Nodes)

There are countless custom nodes that add more practical image editing functions like those done in Photoshop. Among them, we will introduce one that covers basic functions and is simple and easy to use.

ComfyUI-Image-Effects

It includes many functions that humans would want to adjust, such as Hue/Saturation/Value adjustment (HSV adjustment), tone curve-like adjustment, and various filters. Please check the repository documentation for a detailed list of functions.