ComfyUI  >  Nodes  >  ComfyUI-MagickWand >  ImageMagick Clahe

ComfyUI Node: ImageMagick Clahe

Class Name

ImageMagick Clahe

Category
MagickWand/Enhance
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 Clahe Description

Enhance image contrast using CLAHE technique for detailed and visually appealing results.

ImageMagick Clahe:

The ImageMagick Clahe node is designed to enhance the contrast of your images using the Contrast Limited Adaptive Histogram Equalization (CLAHE) technique. This method is particularly effective for improving the visibility of details in images with varying lighting conditions or low contrast. By redistributing the lightness values of the pixels, CLAHE enhances the local contrast, making features more distinguishable. This node is especially useful for AI artists looking to bring out finer details in their artwork or photographs, ensuring that the final output is visually appealing and rich in detail.

ImageMagick Clahe Input Parameters:

image

This parameter represents the input image that you want to process using the CLAHE technique. The image should be in a compatible format that the node can handle.

width

This parameter specifies the width of the image in pixels. It determines the horizontal dimension of the image to be processed. The value ranges from a minimum of 1 to a maximum of 1024, with a default value of 512.

height

This parameter specifies the height of the image in pixels. It determines the vertical dimension of the image to be processed. The value ranges from a minimum of 1 to a maximum of 1024, with a default value of 512.

number_bins

This parameter defines the number of bins for the histogram used in the CLAHE process. It affects the granularity of the contrast enhancement. The value ranges from a minimum of 0.0 to a maximum of 1024, with a default value of 0.0, and can be adjusted in steps of 0.01.

clip_limit

This parameter sets the clip limit for contrast enhancement. It controls the threshold for contrast limiting, which helps in preventing over-amplification of noise. The value ranges from a minimum of 0.0 to a maximum of 1024, with a default value of 0.0, and can be adjusted in steps of 0.01.

ImageMagick Clahe Output Parameters:

IMAGE

The output parameter is the processed image with enhanced contrast. The CLAHE technique ensures that the local contrast is improved, making details more visible and the overall image more visually appealing.

ImageMagick Clahe Usage Tips:

  • Adjust the number_bins parameter to fine-tune the granularity of the contrast enhancement. Higher values can provide more detailed contrast adjustments.
  • Use the clip_limit parameter to control the extent of contrast enhancement and prevent noise amplification. Start with a lower value and gradually increase it to find the optimal setting for your image.
  • Ensure that the width and height parameters match the dimensions of your input image to avoid any distortion or resizing issues.

ImageMagick Clahe Common Errors and Solutions:

Image dimensions mismatch

  • Explanation: The specified width and height do not match the actual dimensions of the input image.
  • Solution: Verify and set the width and height parameters to match the dimensions of your input image.

Invalid number_bins value

  • Explanation: The number_bins parameter is set to a value outside the allowed range.
  • Solution: Ensure that the number_bins value is within the range of 0.0 to 1024 and adjust it in steps of 0.01.

Invalid clip_limit value

  • Explanation: The clip_limit parameter is set to a value outside the allowed range.
  • Solution: Ensure that the clip_limit value is within the range of 0.0 to 1024 and adjust it in steps of 0.01.

ImageMagick Clahe 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.