ComfyUI  >  Nodes  >  ComfyUI-MagickWand >  ImageMagick Unsharp Mask

ComfyUI Node: ImageMagick Unsharp Mask

Class Name

ImageMagick Unsharp Mask

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 Unsharp Mask Description

Enhance image sharpness with unsharp mask filter for improved visual quality.

ImageMagick Unsharp Mask:

The ImageMagick Unsharp Mask node is designed to enhance the sharpness and clarity of your images by applying an unsharp mask filter. This technique is widely used in image processing to make details more pronounced and improve the overall visual quality. The unsharp mask works by emphasizing the edges and fine details in an image, making it appear crisper and more defined. This node is particularly useful for AI artists who want to add a professional touch to their images, ensuring that the final output is sharp and visually appealing.

ImageMagick Unsharp Mask Input Parameters:

image

This parameter represents the input image that you want to apply the unsharp mask to. It should be in a compatible image format that the node can process.

radius

The radius parameter controls the size of the area around each pixel that is used to detect edges. A larger radius will affect a broader area, leading to a more pronounced sharpening effect. The value can range from 0.0 to 1024, with a default of 0.0.

sigma

Sigma determines the standard deviation of the Gaussian blur that is applied during the unsharp mask process. A higher sigma value results in a smoother blur, which can affect the sharpness of the final image. The value can range from 0.0 to 1024, with a default of 1.0.

amount

This parameter specifies the strength of the sharpening effect. A higher amount will make the edges more pronounced, while a lower amount will result in a subtler effect. The value can range from 0.0 to 1024, with a default of 1.0.

threshold

Threshold sets the minimum contrast required for a pixel to be considered an edge. Pixels with contrast below this threshold will not be sharpened. This helps in avoiding noise amplification in low-contrast areas. The value can range from 0.0 to 1024, with a default of 0.0.

channel

The channel parameter allows you to specify which color channel(s) the unsharp mask should 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 is red.

ImageMagick Unsharp Mask Output Parameters:

IMAGE

The output is the processed image with the unsharp mask applied. This image will have enhanced sharpness and clarity, making details more pronounced and improving the overall visual quality.

ImageMagick Unsharp Mask Usage Tips:

  • Experiment with different radius and sigma values to find the optimal balance between sharpness and natural appearance.
  • Use the threshold parameter to avoid amplifying noise in low-contrast areas, especially in images with a lot of fine details.
  • Apply the unsharp mask selectively to specific color channels to achieve desired effects without affecting the entire image.

ImageMagick Unsharp Mask Common Errors and Solutions:

Image format not supported

  • Explanation: The input image format is not compatible with the node.
  • Solution: Convert your image to a supported format before applying the unsharp mask.

Invalid parameter value

  • Explanation: One or more input parameters have values outside the acceptable range.
  • Solution: Ensure that all parameter values are within the specified ranges and try again.

Processing error

  • Explanation: An error occurred during the image processing.
  • Solution: Check the input image and parameter values for any inconsistencies and retry the operation. If the problem persists, consider reducing the complexity of the parameters.

ImageMagick Unsharp Mask 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.