Visit ComfyUI Online for ready-to-use ComfyUI environment
Apply Gaussian blur to segmented image masks for AI artists, enhancing realism and visual quality efficiently.
The ImpactGaussianBlurMaskInSEGS
node is designed to apply a Gaussian blur to the masks within a set of segmented images (SEGS). This node is particularly useful for AI artists who need to smooth or soften the edges of masks in their segmented images, enhancing the visual quality and realism of their artwork. By leveraging the Gaussian blur technique, this node helps in reducing noise and creating a more natural transition between different regions of the image. The primary goal of this node is to provide a straightforward and efficient way to apply a customizable Gaussian blur to each mask in the SEGS, ensuring that the resulting images have a polished and professional appearance.
This parameter represents the set of segmented images (SEGS) to which the Gaussian blur will be applied. The SEGS typically contain both the cropped images and their corresponding masks. The node processes each mask within the SEGS to apply the Gaussian blur effect.
This integer parameter defines the size of the kernel used for the Gaussian blur. The kernel size determines the area around each pixel that will be considered when applying the blur. A larger kernel size results in a more pronounced blur effect. The value can range from 0 to 100, with a default value of 10. Adjusting this parameter allows you to control the extent of the blur applied to the masks.
This float parameter specifies the standard deviation of the Gaussian distribution used for the blur. The sigma value controls the spread of the blur effect; a higher sigma value results in a smoother and more extensive blur. The value can range from 0.1 to 100.0, with a default value of 10.0. Fine-tuning this parameter helps achieve the desired level of smoothness in the blurred masks.
The output is a modified set of segmented images (SEGS) where each mask has been processed with the Gaussian blur effect. This output retains the original structure of the SEGS, including the cropped images and their associated metadata, but with the masks now exhibiting the applied blur. This ensures that the resulting images have smoother transitions and reduced noise, enhancing their overall visual quality.
kernel_size
and sigma
values to achieve the desired blur effect. Start with the default values and adjust incrementally to see how the changes impact the masks.[SegsBitwiseAndMask] Cannot operate: MASK is empty.
ValueError: Kernel size must be a positive integer.
kernel_size
parameter is set to a non-positive value.kernel_size
parameter is set to a positive integer within the allowed range (0 to 100).ValueError: Sigma must be a positive float.
sigma
parameter is set to a non-positive value.sigma
parameter is set to a positive float within the allowed range (0.1 to 100.0).© Copyright 2024 RunComfy. All Rights Reserved.