ComfyUI  >  Nodes  >  ComfyUI-MagickWand >  ImageMagick Selective Blur

ComfyUI Node: ImageMagick Selective Blur

Class Name

ImageMagick Selective Blur

Category
MagickWand/Effect
Author
Fannovel16 (Account age: 3129 days)
Extension
ComfyUI-MagickWand
Latest Updated
6/20/2024
Github Stars
0.1K

How to Install ComfyUI-MagickWand

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

ImageMagick Selective Blur Description

Apply selective blur effect based on threshold criteria to highlight specific image areas while keeping others sharp.

ImageMagick Selective Blur:

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.

ImageMagick Selective Blur Input Parameters:

image

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.

radius

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.

sigma

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.

threshold

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.

channel

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.

ImageMagick Selective Blur Output Parameters:

IMAGE

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.

ImageMagick Selective Blur Usage Tips:

  • Experiment with different radius and sigma values to achieve the desired blur intensity and spread. Start with small values and gradually increase them to see the effect.
  • Use the threshold parameter to control which parts of the image are blurred. This is useful for creating depth-of-field effects where the background is blurred while the subject remains sharp.
  • Try applying the blur effect to different color channels to see how it affects the overall look of the image. For example, blurring only the red channel can create interesting color effects.

ImageMagick Selective Blur Common Errors and Solutions:

Image format not supported

  • Explanation: The input image format is not compatible with the node.
  • Solution: Ensure that the input image is in a format supported by ImageMagick, such as JPEG, PNG, or TIFF.

Invalid parameter value

  • Explanation: One or more input parameters have values outside the allowed range.
  • Solution: Check the values of the radius, sigma, and threshold parameters to ensure they are within the specified ranges (0.0 to 1024).

Channel not recognized

  • Explanation: The specified channel is not valid.
  • Solution: Verify that the channel parameter is set to one of the allowed options, such as red, green, blue, etc.

Image processing failed

  • Explanation: An error occurred during the image processing.
  • Solution: Ensure that all input parameters are correctly set and that the input image is not corrupted. If the problem persists, try using a different image or adjusting the parameter values.

ImageMagick Selective Blur Related Nodes

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