ComfyUI  >  Nodes  >  ComfyUI's ControlNet Auxiliary Preprocessors >  Image Intensity

ComfyUI Node: Image Intensity

Class Name

ImageIntensityDetector

Category
ControlNet Preprocessors/Recolor
Author
Fannovel16 (Account age: 3127 days)
Extension
ComfyUI's ControlNet Auxiliary Preproces...
Latest Updated
6/18/2024
Github Stars
1.6K

How to Install ComfyUI's ControlNet Auxiliary Preprocessors

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

Image Intensity Description

Analyze and adjust image intensity levels for AI artists with advanced algorithms, gamma correction, and refined control.

Image Intensity:

The ImageIntensityDetector node is designed to analyze and process the intensity levels within an image, making it a valuable tool for AI artists who want to manipulate or enhance the visual characteristics of their artwork. This node leverages advanced algorithms to detect and adjust the intensity of pixels, allowing for refined control over the brightness and contrast of an image. By applying gamma correction, users can achieve a more balanced and visually appealing result, enhancing the overall quality and depth of their images. The primary goal of this node is to provide a straightforward yet powerful means to adjust image intensity, making it easier to achieve the desired artistic effect.

Image Intensity Input Parameters:

gamma_correction

The gamma_correction parameter allows you to adjust the gamma value applied to the image, which affects the brightness and contrast. A gamma value of 1.0 means no correction, while values less than 1.0 will make the image darker, and values greater than 1.0 will make it brighter. This parameter helps in fine-tuning the visual output to match your artistic vision. The minimum value is 0.1, the maximum value is 2.0, and the default value is 1.0.

resolution

The resolution parameter sets the resolution at which the image will be processed. Higher resolutions can provide more detail but may require more computational resources. The default value is 512, which balances detail and performance.

Image Intensity Output Parameters:

IMAGE

The output parameter IMAGE is the processed image with adjusted intensity levels. This output is crucial for further artistic manipulation or as a final product, providing a visually enhanced image that meets the desired intensity characteristics.

Image Intensity Usage Tips:

  • Experiment with different gamma_correction values to see how they affect the brightness and contrast of your image. Start with the default value and make small adjustments to achieve the best result.
  • Use the resolution parameter to balance between image detail and processing time. Higher resolutions provide more detail but may slow down the processing.

Image Intensity Common Errors and Solutions:

ValueError: input_image must be defined.

  • Explanation: This error occurs when the input image is not provided to the node.
  • Solution: Ensure that you have supplied a valid image to the node before executing it.

TypeError: Expected input image to be a numpy array.

  • Explanation: This error happens when the input image is not in the correct format.
  • Solution: Convert your input image to a numpy array before passing it to the node.

RuntimeError: Gamma correction value out of range.

  • Explanation: This error indicates that the gamma_correction value is outside the allowed range.
  • Solution: Ensure that the gamma_correction value is between 0.1 and 2.0. Adjust the value accordingly and try again.

Image Intensity Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI's ControlNet Auxiliary Preprocessors
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.