Visit ComfyUI Online for ready-to-use ComfyUI environment
Apply fast Gaussian blur to mask images for softening edges and enhancing mask quality using efficient OpenCV algorithm.
The BlurMaskFast
node is designed to apply a fast Gaussian blur to mask images, which can be particularly useful in image processing tasks where you need to soften or smooth the edges of a mask. This node leverages the efficient Gaussian blur algorithm provided by OpenCV to ensure quick and effective blurring. By adjusting the blur radius along the x and y axes, you can control the extent of the blurring effect, making it a versatile tool for various artistic and technical applications. The primary goal of this node is to enhance the quality of mask images by reducing harsh edges and creating a more natural transition between masked and unmasked areas.
This parameter expects the input mask images that you want to blur. The masks should be provided in a format that the node can process, typically as tensors. The masks represent the areas of the image that you want to apply the blur effect to.
This integer parameter controls the blur radius along the x-axis. The radius determines the extent of the blurring effect horizontally. A larger radius will result in a more pronounced blur. The minimum value is 0, the maximum value is 1023, and the default value is 1. Adjusting this parameter allows you to fine-tune the horizontal blurring effect to achieve the desired level of smoothness.
This integer parameter controls the blur radius along the y-axis. Similar to radius_x
, this radius determines the extent of the blurring effect vertically. The minimum value is 0, the maximum value is 1023, and the default value is 1. By adjusting this parameter, you can fine-tune the vertical blurring effect to achieve the desired level of smoothness.
The output of this node is the blurred mask image. The blurring effect applied to the input mask helps to soften the edges and create a smoother transition between masked and unmasked areas. This can be particularly useful in various image processing and artistic applications where a more natural look is desired.
radius_x
and radius_y
and gradually increase them until you reach the desired level of smoothness.radius_x
and radius_y
.radius_x
and radius_y
independently to control the blur effect along each axis.radius_x
or radius_y
values are set to negative numbers.radius_x
and radius_y
and ensure they are within the valid range (0 to 1023).© Copyright 2024 RunComfy. All Rights Reserved.