Visit ComfyUI Online for ready-to-use ComfyUI environment
Apply Gaussian blur effect to images for noise reduction and soft focus, with adjustable radius and intensity.
The ImageMagick Gaussian Blur node is designed to apply a Gaussian blur effect to an image, which is a common technique used to reduce image noise and detail. This effect is achieved by convolving the image with a Gaussian function, resulting in a smooth, blurred appearance. The Gaussian blur is particularly useful for creating a soft focus effect, reducing harsh edges, and preparing images for further processing or artistic manipulation. By adjusting the blur radius and sigma, you can control the intensity and spread of the blur, making this node a versatile tool for enhancing the visual quality of your images.
This parameter represents the input image that you want to apply the Gaussian blur effect to. It accepts an image in the format supported by the node.
The radius parameter defines the size of the area around each pixel that will be used to calculate the blur. A larger radius results in a more pronounced blur effect. The value can range from 0.0 to 1024.0, with a default value of 0.0. Adjusting the radius allows you to control the extent of the blur applied to the image.
The sigma parameter controls the amount of blurring by determining the standard deviation of the Gaussian function. A higher sigma value results in a stronger blur effect. The value can range from 0.0 to 1024.0, with a default value of 0.0. Fine-tuning the sigma value helps achieve the desired level of smoothness in the blurred image.
This parameter specifies the color channel(s) to which the Gaussian blur will be applied. Options include undefined
, red
, gray
, cyan
, green
, magenta
, blue
, yellow
, black
, alpha
, opacity
, index
, readmask
, write_mask
, meta
, composite_channels
, all_channels
, true_alpha
, rgb
, rgb_channels
, gray_channels
, sync_channels
, and default_channels
. The default value is red
. Selecting the appropriate channel allows for targeted blurring effects on specific parts of the image.
The output parameter is the processed image with the Gaussian blur effect applied. This image retains the same format as the input image but with the specified blur effect, resulting in a smoother and softer appearance.
ValueError: Radius and sigma must be non-negative
TypeError: Invalid image format
ValueError: Channel not recognized
© Copyright 2024 RunComfy. All Rights Reserved.