ComfyUI > Nodes > comfy_Pond_Nodes > 🐳遮罩百分比羽化

ComfyUI Node: 🐳遮罩百分比羽化

Class Name

MaskFeatherPercentageNode

Category
🐳Pond/遮罩
Author
Pondowner857 (Account age: 730days)
Extension
comfy_Pond_Nodes
Latest Updated
2026-01-28
Github Stars
0.04K

How to Install comfy_Pond_Nodes

Install this extension via the ComfyUI Manager by searching for comfy_Pond_Nodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter comfy_Pond_Nodes 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
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

🐳遮罩百分比羽化 Description

Enhances mask edges with adjustable feathering for smooth transitions and natural image blending.

🐳遮罩百分比羽化:

The MaskFeatherPercentageNode is designed to enhance the edges of a mask by applying a feathering effect based on a specified percentage. This node is particularly useful for AI artists who want to create smooth transitions between masked and unmasked areas in their images, thereby achieving a more natural and visually appealing result. The feathering process can be adjusted to maintain sharp edges if desired, providing flexibility in how the mask is applied. By converting the mask into a feathered version, this node allows for more nuanced control over the blending of image elements, which is essential in creating sophisticated compositions and effects.

🐳遮罩百分比羽化 Input Parameters:

mask

The mask parameter is the input mask that you want to apply the feathering effect to. It is expected to be in a specific format, typically a binary mask where the areas of interest are marked. This parameter serves as the foundation for the feathering process, and its quality and resolution can significantly impact the final output.

羽化百分比

The 羽化百分比 (feather percentage) parameter determines the extent of the feathering effect applied to the mask's edges. It is a floating-point value with a default of 5.0, a minimum of 0.1, and a maximum of 100.0. This parameter controls how much the mask's edges are softened, with higher values resulting in a more pronounced feathering effect. Adjusting this parameter allows you to fine-tune the transition between masked and unmasked areas.

保持锐利边缘

The 保持锐利边缘 (maintain sharp edges) parameter is a boolean option that allows you to choose whether to preserve the sharpness of the mask's edges during the feathering process. It offers two options: "是" (yes) and "否" (no), with "否" as the default. Selecting "是" will ensure that the edges remain distinct, which can be useful when you want to maintain clear boundaries in certain parts of the image.

🐳遮罩百分比羽化 Output Parameters:

MASK

The output parameter MASK is the result of the feathering process applied to the input mask. This output is a modified version of the original mask, where the edges have been softened according to the specified feather percentage. The feathered mask is crucial for achieving smooth transitions in image compositions, allowing for more seamless integration of different elements within a scene.

🐳遮罩百分比羽化 Usage Tips:

  • To achieve a subtle blending effect, start with a lower 羽化百分比 value and gradually increase it until the desired level of feathering is achieved.
  • If you need to maintain distinct boundaries in certain areas of your image, use the 保持锐利边缘 option set to "是" to prevent the feathering from affecting those edges.
  • Experiment with different feather percentages to see how they affect the overall composition and visual appeal of your image.

🐳遮罩百分比羽化 Common Errors and Solutions:

Unsupported mask shape: <mask.shape>

  • Explanation: This error occurs when the input mask does not conform to the expected dimensions or format.
  • Solution: Ensure that your mask is in the correct format, typically (1, H, W), and adjust its dimensions if necessary before inputting it into the node.

Feather percentage too low

  • Explanation: If the 羽化百分比 is set too low, the feathering effect may not be noticeable.
  • Solution: Increase the 羽化百分比 to a value above 0.1 to ensure that the feathering effect is applied effectively.

Feather radius calculation error

  • Explanation: This error might occur if the calculated feather radius is not appropriate for the mask dimensions.
  • Solution: Verify that the 羽化百分比 is set correctly and that the mask dimensions are suitable for the desired feathering effect. Adjust the percentage or mask size as needed.

🐳遮罩百分比羽化 Related Nodes

Go back to the extension to check out more related nodes.
comfy_Pond_Nodes
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

🐳遮罩百分比羽化