ComfyUI  >  Nodes  >  comfy-plasma >  Gaussian Blur

ComfyUI Node: Gaussian Blur

Class Name

JDC_GaussianBlur

Category
image/postprocessing
Author
Jordach (Account age: 4522 days)
Extension
comfy-plasma
Latest Updated
5/22/2024
Github Stars
0.1K

How to Install comfy-plasma

Install this extension via the ComfyUI Manager by searching for  comfy-plasma
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter comfy-plasma in the search bar
After installation, click the  Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Gaussian Blur Description

Applies Gaussian blur effect to images for noise reduction and soft appearance, essential for image processing tasks.

Gaussian Blur:

The JDC_GaussianBlur 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 your images by averaging the pixel values in a way that gives more weight to the central pixels. The Gaussian blur effect is achieved by convolving the image with a Gaussian function, which ensures that the blurring is isotropic and smooth. This node is essential for tasks that require a reduction in image sharpness or the creation of artistic effects that mimic the natural blurring of lenses.

Gaussian Blur Input Parameters:

IMAGE

This parameter represents the input image that you want to apply the Gaussian blur effect to. The image should be in a tensor format that the node can process.

blur_radius

The blur_radius parameter controls the radius of the Gaussian blur. It determines the extent of the blurring effect, with larger values resulting in a more pronounced blur. The minimum value is 1, the maximum value is 1024, and the default value is 1. Adjusting this parameter allows you to fine-tune the blurring effect to achieve the desired level of smoothness in your image.

Gaussian Blur Output Parameters:

IMAGE

The output is the blurred image, which retains the same dimensions as the input image but with the Gaussian blur effect applied. This output can be used directly in your image processing pipeline or saved for further use.

Gaussian Blur Usage Tips:

  • To achieve a subtle blurring effect, start with a small blur_radius value and gradually increase it until you reach the desired level of smoothness.
  • Use this node to reduce noise in images before applying other image processing techniques, such as edge detection or segmentation, to improve their performance.
  • Experiment with different blur_radius values to create artistic effects, such as simulating depth of field or creating a dreamy, soft-focus look.

Gaussian Blur Common Errors and Solutions:

Image tensor shape mismatch

  • Explanation: The input image tensor does not have the expected shape.
  • Solution: Ensure that the input image tensor is in the correct format, typically (B, H, W, C) where B is the batch size, H is the height, W is the width, and C is the number of channels.

Invalid blur_radius value

  • Explanation: The blur_radius value is outside the allowed range.
  • Solution: Check that the blur_radius value is between 1 and 1024. Adjust the value to fall within this range.

Device mismatch error

  • Explanation: The image tensor and the Gaussian kernel are not on the same device.
  • Solution: Ensure that both the image tensor and the Gaussian kernel are on the same device, either CPU or GPU, to avoid device mismatch errors.

Gaussian Blur Related Nodes

Go back to the extension to check out more related nodes.
comfy-plasma
RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.