ComfyUI > Nodes > ComfyUI Impact Pack > Gaussian Blur Mask

ComfyUI Node: Gaussian Blur Mask

Class Name

ImpactGaussianBlurMask

Category
ImpactPack/Util
Author
Dr.Lt.Data (Account age: 458days)
Extension
ComfyUI Impact Pack
Latest Updated
2024-06-19
Github Stars
1.38K

How to Install ComfyUI Impact Pack

Install this extension via the ComfyUI Manager by searching for ComfyUI Impact Pack
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI Impact Pack in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Gaussian Blur Mask Description

Apply Gaussian blur to masks for smooth transitions and soft edges in digital artwork, compatible with Impact Pack.

Gaussian Blur Mask:

The ImpactGaussianBlurMask node is designed to apply a Gaussian blur to a given mask, which is a common technique in image processing to smooth out edges and reduce noise. This node is particularly useful for AI artists who need to create smooth transitions and soft edges in their masks, enhancing the overall quality of their digital artwork. By leveraging the Gaussian blur, you can achieve a more natural and visually appealing effect in your compositions. The node ensures that the mask is processed in a format compatible with the Impact Pack, making it a seamless addition to your workflow.

Gaussian Blur Mask Input Parameters:

mask

The mask parameter is the input mask that you want to apply the Gaussian blur to. This mask is typically a binary or grayscale image where the areas of interest are highlighted. The mask should be in a format that the node can process, which is usually a 3-dimensional tensor. This parameter is essential as it defines the regions that will be blurred.

kernel_size

The kernel_size parameter determines the size of the kernel used for the Gaussian blur. A larger kernel size results in a more pronounced blur effect, while a smaller kernel size produces a subtler effect. The value must be an integer between 0 and 100, with a default value of 10. Adjusting this parameter allows you to control the extent of the blurring effect applied to the mask.

sigma

The sigma parameter controls the standard deviation of the Gaussian function used in the blur process. A higher sigma value results in a smoother and more spread-out blur, while a lower sigma value produces a sharper and more localized blur. The value must be a float between 0.1 and 100.0, with a default value of 10.0. This parameter is crucial for fine-tuning the blur effect to achieve the desired level of smoothness.

Gaussian Blur Mask Output Parameters:

mask

The output mask is the result of applying the Gaussian blur to the input mask. This blurred mask retains the same dimensions as the input but with softened edges and reduced noise. The output mask can be used in subsequent processing steps or directly in your artwork to create smooth transitions and enhance visual quality.

Gaussian Blur Mask Usage Tips:

  • Experiment with different kernel_size and sigma values to achieve the desired blur effect. Start with the default values and adjust incrementally to see how the changes affect your mask.
  • Use this node to soften the edges of masks that will be used for blending or compositing different elements in your artwork, ensuring a more natural integration.
  • Combine the blurred mask with other effects or nodes to create complex and visually appealing compositions.

Gaussian Blur Mask Common Errors and Solutions:

Incompatible mask format

  • Explanation: The input mask is not in a compatible format (e.g., not a 3-dimensional tensor).
  • Solution: Ensure that the mask is properly formatted as a 3-dimensional tensor before inputting it into the node.

Kernel size out of range

  • Explanation: The kernel_size value is outside the allowed range of 0 to 100.
  • Solution: Adjust the kernel_size value to be within the specified range.

Sigma value out of range

  • Explanation: The sigma value is outside the allowed range of 0.1 to 100.0.
  • Solution: Adjust the sigma value to be within the specified range.

Gaussian Blur Mask Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI Impact Pack
RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.