Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > opencv-comfyui > OpenCV GaussianBlur_1

ComfyUI Node: OpenCV GaussianBlur_1

Class Name

GaussianBlur_1

Category
image/OpenCV
Author
geroldmeisinger (Account age: 1432days)
Extension
opencv-comfyui
Latest Updated
2026-07-22
Github Stars
0.04K

How to Install opencv-comfyui

Install this extension via the ComfyUI Manager by searching for opencv-comfyui
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter opencv-comfyui 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
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

OpenCV GaussianBlur_1 Description

Applies Gaussian blur to images using OpenCV, smoothing and reducing noise with adjustable parameters.

OpenCV GaussianBlur_1:

The GaussianBlur_1 node is designed to apply a Gaussian blur effect to an image using the OpenCV library. This node is particularly useful for smoothing images, reducing noise, and achieving a soft focus effect, which can enhance the aesthetic quality of your artwork. The Gaussian blur works by averaging the pixels in a neighborhood defined by a kernel size, with the averaging weighted by a Gaussian function. This results in a smooth transition between pixel values, effectively blurring the image. The node allows you to control the intensity and direction of the blur through parameters such as the kernel size and sigma values, providing flexibility to achieve the desired visual effect.

OpenCV GaussianBlur_1 Input Parameters:

src

The src parameter represents the source image to which the Gaussian blur will be applied. It is expected to be in the form of a NumPy array (NPARRAY). This parameter is crucial as it serves as the input data for the blurring process.

ksize

The ksize parameter specifies the size of the Gaussian kernel used for blurring. It is provided as a string, typically in the format of (width, height). The kernel size determines the area over which the pixel values are averaged, with larger sizes resulting in a more pronounced blur effect. The kernel size must be positive and odd.

sigmaX

The sigmaX parameter controls the standard deviation of the Gaussian function in the X direction. It is a float value that influences the spread of the blur horizontally. A higher sigmaX value results in a wider blur effect, while a lower value produces a more localized blur. The default value is typically set to 0, which means it is calculated based on the kernel size.

sigmaY

The sigmaY parameter is similar to sigmaX but controls the standard deviation in the Y direction. It allows for independent control of the vertical blur spread. Like sigmaX, a default value of 0 means it is derived from the kernel size, ensuring a uniform blur if not specified otherwise.

borderType

The borderType parameter defines how the image borders are handled during the blurring process. It is an integer value that specifies the border extrapolation method, such as replicating the border pixels or reflecting them. This parameter ensures that the blur effect is applied consistently across the entire image, including the edges.

hint

The hint parameter is an integer that provides additional information or guidance for the blurring process. While its specific function may vary, it generally serves as a way to optimize or adjust the blurring operation based on certain conditions or preferences.

dst

The dst parameter is optional and represents the destination image where the result will be stored. If not provided, the function will return a new image with the applied blur. This parameter allows for in-place processing if desired.

OpenCV GaussianBlur_1 Output Parameters:

nparray

The nparray output parameter is the resulting image after the Gaussian blur has been applied. It is returned as a NumPy array (NPARRAY), maintaining the same dimensions as the input image. This output is crucial for further processing or saving the blurred image, providing a smooth and aesthetically pleasing result that can enhance the visual quality of your artwork.

OpenCV GaussianBlur_1 Usage Tips:

  • To achieve a subtle blur effect, start with a small kernel size and gradually increase the sigmaX and sigmaY values until the desired smoothness is achieved.
  • For images with significant noise, consider using a larger kernel size to effectively reduce noise while maintaining important image details.
  • Experiment with different borderType settings to see how they affect the edges of your image, especially if the image has important details near the borders.

OpenCV GaussianBlur_1 Common Errors and Solutions:

Invalid kernel size

  • Explanation: The kernel size must be a positive odd number. If an even or negative number is provided, the function may fail.
  • Solution: Ensure that the ksize parameter is set to a positive odd number, such as (3, 3) or (5, 5).

Unsupported image format

  • Explanation: The source image must be in a format compatible with NumPy arrays.
  • Solution: Convert the image to a NumPy array format before passing it to the src parameter.

Incorrect sigma values

  • Explanation: Sigma values must be non-negative. Negative values can cause unexpected behavior.
  • Solution: Verify that sigmaX and sigmaY are set to non-negative values, or leave them at the default value of 0 for automatic calculation.

OpenCV GaussianBlur_1 Related Nodes

Go back to the extension to check out more related nodes.
opencv-comfyui
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

OpenCV GaussianBlur_1