Visit ComfyUI Online for ready-to-use ComfyUI environment
Apply Gaussian blur effect to images for noise reduction and soft appearance, with customizable intensity and spread for aesthetic enhancement.
The 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 node is particularly useful for creating a smooth, soft appearance in your images, which can be beneficial for various artistic effects or pre-processing steps in image analysis. By adjusting the blur radius and sigma, you can control the intensity and spread of the blur, allowing for fine-tuned customization to achieve the desired visual outcome. The main goal of this node is to provide a flexible and efficient way to soften images, enhancing their aesthetic quality or preparing them for further processing.
This parameter represents the input image that you want to apply the blur effect to. The image should be in the form of a tensor, typically with dimensions corresponding to batch size, height, width, and channels. The image is the primary data that will be processed by the blur algorithm.
The blur radius 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 together. The minimum value is 0, which means no blur is applied, and there is no explicit maximum value, but very large values may lead to performance issues. The default value is typically set to a moderate level to balance between performance and visual effect.
Sigma is a parameter that controls the spread of the Gaussian function used in the blur process. It affects how much influence neighboring pixels have on each other. A higher sigma value results in a smoother and more diffused blur. There is no strict minimum or maximum value, but typical values range from 0.1 to 10. The default value is usually set to provide a noticeable but not overwhelming blur effect.
The output is the blurred version of the input image. This tensor will have the same dimensions as the input image but with the blur effect applied. The blurred image can be used directly for artistic purposes or as a pre-processed input for further image processing tasks.
image.unsqueeze(0)
.© Copyright 2024 RunComfy. All Rights Reserved.