ComfyUI  >  Nodes  >  ComfyUI Inpaint Nodes >  Blur Masked Area

ComfyUI Node: Blur Masked Area

Class Name

INPAINT_MaskedBlur

Category
inpaint
Author
Acly (Account age: 3856 days)
Extension
ComfyUI Inpaint Nodes
Latest Updated
8/9/2024
Github Stars
0.6K

How to Install ComfyUI Inpaint Nodes

Install this extension via the ComfyUI Manager by searching for  ComfyUI Inpaint Nodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI Inpaint 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
  • 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

Blur Masked Area Description

Selective image blurring based on masks for AI artists, offering precise control and smooth transitions.

Blur Masked Area:

The INPAINT_MaskedBlur node is designed to selectively blur areas of an image based on a provided mask. This node is particularly useful for AI artists who want to apply a blur effect to specific regions of an image while keeping other areas intact. By using a mask, you can control precisely where the blur is applied, allowing for creative effects such as softening backgrounds or blending edges. The node also includes a falloff parameter, which helps in creating a smooth transition between blurred and non-blurred areas, enhancing the overall visual quality of the inpainting process.

Blur Masked Area Input Parameters:

image

The image parameter is the input image that you want to apply the masked blur effect to. This should be an image tensor that contains the visual data you wish to manipulate.

mask

The mask parameter is a mask tensor that defines the areas of the image where the blur effect should be applied. Areas marked in the mask will be blurred, while unmarked areas will remain unchanged.

blur

The blur parameter controls the intensity of the blur effect. It accepts integer values with a default of 255, a minimum of 3, and a maximum of 8191. The higher the value, the stronger the blur effect applied to the masked areas.

falloff

The falloff parameter determines the smoothness of the transition between blurred and non-blurred areas. It accepts integer values with a default of 0, a minimum of 0, and a maximum of 8191. A higher falloff value results in a smoother transition, making the blur effect blend more naturally with the rest of the image.

Blur Masked Area Output Parameters:

image

The output image parameter is the resulting image tensor after the masked blur effect has been applied. This image will have the specified areas blurred according to the input mask and the blur and falloff settings.

Blur Masked Area Usage Tips:

  • To achieve a subtle blur effect, start with a lower blur value and gradually increase it until you reach the desired level of blurriness.
  • Use the falloff parameter to create a smooth transition between blurred and non-blurred areas, which can help in achieving a more natural look.
  • Experiment with different mask shapes and sizes to see how the blur effect interacts with various parts of your image.

Blur Masked Area Common Errors and Solutions:

"Image and mask batch size does not match"

  • Explanation: This error occurs when the batch sizes of the input image and mask do not match.
  • Solution: Ensure that the input image and mask tensors have the same batch size before passing them to the node.

"Invalid blur or falloff value"

  • Explanation: This error occurs when the blur or falloff values are set outside their allowed ranges.
  • Solution: Check that the blur value is between 3 and 8191 and the falloff value is between 0 and 8191. Adjust the values accordingly to fall within these ranges.

Blur Masked Area Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI Inpaint Nodes
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.