Visit ComfyUI Online for ready-to-use ComfyUI environment
Apply box blur effect to images for smoothing and noise reduction, with adjustable blurriness level.
The ImageFilterBoxBlur node is designed to apply a box blur effect to your images, which is a simple and efficient way to smooth out details and reduce noise. This node uses a box filter, which averages the pixel values within a specified rectangular area, resulting in a uniform blur effect. The box blur is particularly useful for creating a soft, out-of-focus look or for preprocessing images to reduce high-frequency noise before further processing. This method is computationally efficient and can be easily adjusted to achieve the desired level of blurriness by modifying the size of the filter.
This parameter accepts the image or images you want to apply the box blur effect to. The input should be in the form of an image tensor.
This parameter defines the width of the box filter. It determines how many pixels in the horizontal direction will be averaged to produce the blur effect. The default value is 10, with a minimum value of 1. Increasing this value will result in a stronger blur effect horizontally.
This parameter defines the height of the box filter. It determines how many pixels in the vertical direction will be averaged to produce the blur effect. The default value is 10, with a minimum value of 1. Increasing this value will result in a stronger blur effect vertically.
The output is the image or images with the box blur effect applied. The resulting image will have a uniform blur based on the specified filter sizes, which can help in reducing noise and smoothing out details.
size_x
and size_y
, and gradually increase them until you reach the desired level of blurriness.size_x
and size_y
to create a more pronounced blur effect, which can be useful for creating background effects or reducing noise in high-frequency areas of the image.size_x
and size_y
to achieve various blur effects, such as directional blurs by setting one dimension larger than the other.size_x
or size_y
are outside the acceptable range (less than 1).size_x
and size_y
to be within the valid range, with a minimum value of 1.size_x
and size_y
to ensure they are set correctly, and adjust them as needed to achieve the desired blur effect.© Copyright 2024 RunComfy. All Rights Reserved.