Visit ComfyUI Online for ready-to-use ComfyUI environment
Enhance image sharpness with unsharp mask filter for improved visual quality.
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.
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.
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 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.
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 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.
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
.
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.
Image format not supported
Invalid parameter value
Processing error
© Copyright 2024 RunComfy. All Rights Reserved.