Visit ComfyUI Online for ready-to-use ComfyUI environment
Apply selective blur effect based on threshold criteria to highlight specific image areas while keeping others sharp.
The ImageMagick Selective Blur node allows you to apply a blur effect selectively to an image based on a specified threshold. This means that only certain parts of the image that meet the threshold criteria will be blurred, while the rest of the image remains unaffected. This technique is particularly useful for creating artistic effects where you want to highlight specific areas of an image by keeping them sharp while blurring the background or other less important parts. The selective blur effect can be fine-tuned using parameters such as radius, sigma, and threshold, giving you precise control over the extent and intensity of the blur. This node leverages the powerful capabilities of ImageMagick to deliver high-quality, customizable blur effects that can enhance your AI-generated artwork.
This parameter represents the input image that you want to apply the selective blur effect to. The image should be in a compatible format that the node can process.
The radius parameter defines the size of the area around each pixel that will be considered for blurring. A larger radius will result in a more pronounced blur effect. The value can range from 0.0 to 1024, with a default value of 0.0. Adjusting the radius allows you to control the spread of the blur.
The sigma parameter controls the amount of blurring that is applied. It determines the standard deviation of the Gaussian function used for blurring. The value can range from 0.0 to 1024, with a default value of 0.0. Higher sigma values result in a stronger blur effect.
The threshold parameter sets the criteria for which parts of the image will be blurred. Only areas of the image that meet or exceed this threshold will be affected by the blur. The value can range from 0.0 to 1024, with a default value of 0.0. This allows you to selectively blur specific regions of the image based on their intensity.
The channel parameter specifies which color channel(s) the blur effect will be applied to. Options include undefined
, red
, gray
, cyan
, green
, magenta
, blue
, yellow
, black
, alpha
, opacity
, index
, readmask
, write_mask
, meta
, composite_channels
, all_channels
, true_alpha
, rgb
, rgb_channels
, gray_channels
, sync_channels
, and default_channels
. The default value is red
. This allows you to target specific color channels for the blur effect.
The output parameter is the processed image with the selective blur effect applied. This image will have the specified areas blurred according to the input parameters, while other areas remain sharp. The output image can be used directly in your AI art projects or further processed with additional effects.
Image format not supported
Invalid parameter value
Channel not recognized
red
, green
, blue
, etc.Image processing failed
© Copyright 2024 RunComfy. All Rights Reserved.