Visit ComfyUI Online for ready-to-use ComfyUI environment
Specialized blur filter enhancing image quality by reducing noise, preserving edges, and smoothing textures for AI artists.
The KuwaharaBlur node is a post-processing filter designed to apply a specialized blur effect to images, enhancing their visual quality by reducing noise while preserving edges. This node is particularly useful for AI artists looking to smooth out textures in their artwork without losing important details. The Kuwahara filter works by dividing the image into overlapping regions and calculating the mean and variance within these regions to determine the optimal blur. This method ensures that the blur is applied more strongly in areas with less detail and less in areas with more detail, resulting in a more aesthetically pleasing image. The node supports two methods for calculating the blur: mean and Gaussian, providing flexibility in the type of smoothing effect applied.
This parameter represents the input image to which the Kuwahara blur will be applied. The image should be in a format compatible with the node, typically a multi-dimensional array representing pixel values.
The blur_radius
parameter controls the size of the region around each pixel that the filter will consider when applying the blur. A larger radius will result in a stronger blur effect, while a smaller radius will preserve more detail. The value can range from 0 to 31, with a default value of 3. Setting the radius to 0 will effectively disable the blur.
The method
parameter determines the algorithm used to calculate the blur. It can be set to either "mean" or "gaussian". The "mean" method applies a simple average blur, while the "gaussian" method uses a Gaussian distribution to apply a more natural-looking blur. This parameter allows you to choose the type of smoothing effect that best suits your needs.
The output is the processed image with the Kuwahara blur applied. This image will have reduced noise and smoothed textures while preserving important edges and details. The output format will be the same as the input image, typically a multi-dimensional array representing pixel values.
blur_radius
value, such as 3 or 5, to maintain more detail in the image.blur_radius
and gradually increase it until you achieve the desired effect.blur_radius
value is set outside the allowed range of 0 to 31. - Solution: Set the blur_radius
value within the valid range. The default value is 3, and you can adjust it as needed within the range of 0 to 31.method
parameter is set to a value other than "mean" or "gaussian".method
parameter is set to either "mean" or "gaussian". These are the only supported methods for calculating the blur.© Copyright 2024 RunComfy. All Rights Reserved.