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_0

ComfyUI Node: OpenCV GaussianBlur_0

Class Name

GaussianBlur_0

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_0 Description

Applies Gaussian blur to images for smoothing, noise reduction, and soft focus using OpenCV.

OpenCV GaussianBlur_0:

The GaussianBlur_0 node is designed to apply a Gaussian blur effect to images using the OpenCV library. This node is particularly useful for smoothing images, reducing noise, and creating a soft focus effect. The Gaussian blur technique involves convolving the image with a Gaussian function, which results in a smooth transition between pixel values, effectively blurring the image. This method is widely used in image processing for tasks such as edge detection, image enhancement, and artistic effects. By adjusting the parameters, you can control the intensity and direction of the blur, making it a versatile tool for various image manipulation needs.

OpenCV GaussianBlur_0 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 image data that will undergo the blurring process.

ksize

The ksize parameter specifies the size of the Gaussian kernel to be used for the blur operation. It is provided as a string, typically in the format of (width, height). The kernel size determines the area of the image that will be affected by the blur. Larger kernel sizes result in a more pronounced blur effect.

sigmaX

The sigmaX parameter is a float that defines the standard deviation of the Gaussian function in the X direction. It controls the extent of the blur along the horizontal axis. A higher sigmaX value results in a stronger blur effect horizontally.

sigmaY

The sigmaY parameter is a float that defines the standard deviation of the Gaussian function in the Y direction. It controls the extent of the blur along the vertical axis. A higher sigmaY value results in a stronger blur effect vertically. If sigmaY is set to 0, it defaults to the value of sigmaX.

borderType

The borderType parameter is an integer that specifies the border mode to be used when the kernel overlaps the image border. This parameter determines how the image edges are handled during the convolution process. Common options include cv2.BORDER_CONSTANT, cv2.BORDER_REFLECT, and cv2.BORDER_REPLICATE.

hint

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

dst (optional)

The dst parameter is an optional NumPy array (NPARRAY) that can be used to store the output image. If provided, the blurred image will be stored in this array. If not provided, a new array will be created to hold the result.

OpenCV GaussianBlur_0 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, maintaining the same dimensions as the input image. This output is the blurred version of the original image, with the degree of blurring determined by the input parameters.

OpenCV GaussianBlur_0 Usage Tips:

  • To achieve a subtle blur effect, start with smaller kernel sizes and sigma values, and gradually increase them to find the desired level of smoothness.
  • Use different values for sigmaX and sigmaY to create directional blur effects, which can be useful for simulating motion blur or focusing on specific image areas.
  • 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_0 Common Errors and Solutions:

Invalid kernel size

  • Explanation: The kernel size provided is not valid or not in the correct format.
  • Solution: Ensure that the ksize parameter is specified as a string in the format (width, height) and that both dimensions are positive integers.

Unsupported border type

  • Explanation: The borderType value is not recognized or supported by the OpenCV function.
  • Solution: Verify that the borderType is set to a valid OpenCV border mode, such as cv2.BORDER_CONSTANT, cv2.BORDER_REFLECT, or cv2.BORDER_REPLICATE.

Source image not provided

  • Explanation: The src parameter is missing or not in the correct format.
  • Solution: Ensure that the src parameter is provided and is a valid NumPy array representing the image to be processed.

OpenCV GaussianBlur_0 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_0