ComfyUI > Nodes > ComfyUI-MagickWand > ImageMagick Local Contrast

ComfyUI Node: ImageMagick Local Contrast

Class Name

ImageMagick Local Contrast

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

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 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

ImageMagick Local Contrast Description

Enhance image details with improved local contrast for sharper, defined visuals.

ImageMagick Local Contrast:

The ImageMagick Local Contrast node is designed to enhance the local contrast of an image, making details more pronounced and improving the overall visual appeal. This node is particularly useful for bringing out textures and fine details in images, which can be beneficial for artistic purposes or when preparing images for further processing. By adjusting the local contrast, you can make an image appear sharper and more defined without altering the global contrast, thus preserving the overall balance of light and dark areas.

ImageMagick Local Contrast Input Parameters:

image

This parameter represents the input image that you want to apply the local contrast enhancement to. It accepts an image file in a supported format.

radius

The radius parameter controls the size of the area around each pixel that is considered when enhancing local contrast. A larger radius will affect a broader area, leading to more pronounced changes, while a smaller radius will focus on finer details. The value ranges from 0.0 to 1024, with a default of 10. Adjusting this parameter allows you to fine-tune the level of detail enhancement.

strength

The strength parameter determines the intensity of the local contrast enhancement. Higher values will result in stronger contrast adjustments, making details more prominent, while lower values will produce subtler effects. The value ranges from 0.0 to 1024, with a default of 12.5. This parameter is crucial for controlling the overall impact of the local contrast enhancement on the image.

ImageMagick Local Contrast Output Parameters:

IMAGE

The output is an enhanced image with improved local contrast. This image will have more pronounced details and textures, making it visually more appealing and suitable for further artistic or processing tasks.

ImageMagick Local Contrast Usage Tips:

  • Experiment with different radius values to find the optimal balance between detail enhancement and overall image appearance.
  • Use the strength parameter to control the intensity of the effect. Start with lower values and gradually increase until you achieve the desired level of contrast.
  • Combine local contrast enhancement with other image processing techniques, such as sharpening or color adjustments, to create a more polished final image.

ImageMagick Local Contrast Common Errors and Solutions:

ValueError: Unsupported image format

  • Explanation: This error occurs when the input image is in a format that is not supported by the node.
  • Solution: Ensure that the input image is in a supported format, such as JPEG, PNG, or TIFF.

ValueError: Radius value out of range

  • Explanation: This error occurs when the radius parameter is set to a value outside the allowed range (0.0 to 1024).
  • Solution: Adjust the radius parameter to a value within the specified range.

ValueError: Strength value out of range

  • Explanation: This error occurs when the strength parameter is set to a value outside the allowed range (0.0 to 1024).
  • Solution: Adjust the strength parameter to a value within the specified range.

ImageMagick Local Contrast 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.