Visit ComfyUI Online for ready-to-use ComfyUI environment
Apply Gaussian blur effect to images for smooth appearance, noise reduction, and enhanced visual quality.
The blur
node is designed to apply a Gaussian blur effect to an image, which is a common technique used in image processing to reduce noise and detail. This node is particularly useful for creating a smooth, soft appearance in images, which can be beneficial in various artistic and design contexts. By using a Gaussian kernel, the node ensures that the blurring effect is evenly distributed across the image, resulting in a natural and aesthetically pleasing outcome. The primary goal of this node is to enhance the visual quality of images by softening harsh edges and blending colors seamlessly, making it an essential tool for AI artists looking to refine their digital artwork.
The image
parameter is a tensor representing the image to be blurred. It is crucial as it serves as the input data on which the blur effect will be applied. The image should be in a format compatible with PyTorch tensors, typically with dimensions representing batch size, height, width, and channels.
The blur_radius
parameter determines the size of the area around each pixel that will be considered when applying the blur effect. A larger radius results in a more pronounced blur, as more surrounding pixels are averaged. The minimum value is 0, which means no blurring is applied, while the maximum value depends on the specific requirements of the image and the desired effect. The default value is typically set to a moderate level to achieve a balanced blur effect.
The sigma
parameter controls the standard deviation of the Gaussian distribution used in the blur process. It affects the spread of the blur effect; a higher sigma value results in a more significant blur. The minimum value is usually a small positive number, ensuring some level of blurring, while the maximum value can be adjusted based on the desired intensity of the blur. The default value is often set to provide a subtle yet noticeable blur effect.
The blurred_image
is the output tensor that contains the image after the blur effect has been applied. This output is crucial as it represents the final result of the blurring process, which can be used for further processing or as a final product in digital artwork. The blurred image maintains the same dimensions as the input image, ensuring compatibility with subsequent processing steps.
blur_radius
and sigma
values to achieve the desired level of smoothness in your images. A smaller radius and sigma can be used for subtle effects, while larger values can create a more dramatic blur.blur
node to soften backgrounds or create depth in your images by selectively applying the blur effect to specific areas, enhancing the focus on the main subject.blur
node.blur_radius
, is not a positive odd integer, which is required for the Gaussian kernel.blur_radius
is set to a positive integer value, ensuring that the resulting kernel size is a valid odd number.RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Playground, enabling artists to harness the latest AI tools to create incredible art.