Visit ComfyUI Online for ready-to-use ComfyUI environment
Apply Gaussian blur effect to specified mask regions for smooth transitions and soft edges, enhancing visual quality.
The Mask Gaussian Region node is designed to apply a Gaussian blur effect to specified regions within a mask. This node is particularly useful for AI artists who want to create smooth transitions and soft edges within their masked areas, enhancing the visual quality of their images. By leveraging Gaussian blurring, the node helps in reducing harsh edges and creating a more natural blend between masked and unmasked regions. This can be especially beneficial in tasks such as image segmentation, where precise and smooth boundaries are crucial. The node processes each mask individually, ensuring that the Gaussian blur is applied consistently across all provided masks.
This parameter accepts the input masks that you want to process. Each mask should be in a format that the node can interpret, typically as a tensor. The masks define the regions where the Gaussian blur will be applied.
The radius parameter controls the extent of the Gaussian blur effect. It determines the size of the area around each pixel that will be considered when applying the blur. A larger radius results in a more pronounced blur, while a smaller radius results in a subtler effect. The radius can range from 0.0 to 1024.0, with a default value of 5.0. Adjusting this parameter allows you to fine-tune the smoothness of the transitions within your masked regions.
The output of this node is a set of processed masks with the Gaussian blur applied. These masks retain the same dimensions as the input masks but with the specified regions blurred according to the radius parameter. The output masks can be used in subsequent image processing steps to achieve smoother and more visually appealing results.
ValueError: Invalid mask dimensions
TypeError: Radius must be a float
RuntimeError: Mask processing failed
© Copyright 2024 RunComfy. All Rights Reserved.