ComfyUI Node: ColorCorrect

Class Name

ColorCorrect

Category
postprocessing/Color Adjustments
Author
EllangoK (Account age: 2833days)
Extension
ComfyUI-post-processing-nodes
Latest Updated
2024-08-09
Github Stars
0.16K

How to Install ComfyUI-post-processing-nodes

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

ColorCorrect Description

Comprehensive color correction for images, fine-tuning temperature, hue, brightness, contrast, saturation, and gamma.

Color Correct:

The ColorCorrect node is designed to provide comprehensive color correction capabilities for your images. This node allows you to fine-tune various aspects of an image's color properties, including temperature, hue, brightness, contrast, saturation, and gamma. By adjusting these parameters, you can achieve the desired visual effect, enhance the overall appearance of your images, and correct any color imbalances. This node is particularly useful for AI artists who want to refine their generated images to meet specific aesthetic criteria or to match a particular style.

Color Correct Input Parameters:

image

The image parameter is the input image that you want to apply color correction to. It should be provided as a tensor. This image serves as the base upon which all the color adjustments will be applied.

temperature

The temperature parameter adjusts the warmth or coolness of the image. Positive values make the image warmer (more yellow/red), while negative values make it cooler (more blue). The value is scaled between -100 and 100, with a default of 0.

hue

The hue parameter shifts the colors of the image around the color wheel. This can be used to change the overall color tone of the image. The value is in degrees and can range from 0 to 360, with a default of 0.

brightness

The brightness parameter controls the overall lightness or darkness of the image. A value of 1 means no change, values greater than 1 increase brightness, and values less than 1 decrease brightness. The value is scaled between 0 and 200, with a default of 100.

contrast

The contrast parameter adjusts the difference between the light and dark areas of the image. A value of 1 means no change, values greater than 1 increase contrast, and values less than 1 decrease contrast. The value is scaled between 0 and 200, with a default of 100.

saturation

The saturation parameter controls the intensity of the colors in the image. A value of 1 means no change, values greater than 1 increase saturation, and values less than 1 decrease saturation. The value is scaled between 0 and 200, with a default of 100.

gamma

The gamma parameter adjusts the gamma correction of the image, which affects the midtones. Values greater than 1 make the midtones lighter, while values less than 1 make them darker. The value is typically between 0.1 and 10, with a default of 1.

Color Correct Output Parameters:

result

The result parameter is the output image after applying the specified color corrections. This image is returned as a tensor and reflects all the adjustments made based on the input parameters. It is ready for further processing or final output.

Color Correct Usage Tips:

  • To achieve a warmer look, increase the temperature parameter slightly above 0.
  • For a vintage effect, try reducing the saturation and slightly increasing the contrast.
  • Use the gamma parameter to fine-tune the midtones, especially if the image appears too flat or too harsh.
  • Adjust the hue parameter to shift the overall color tone, which can be useful for creating artistic effects or matching a specific color palette.

Color Correct Common Errors and Solutions:

"Input image tensor is not in the correct format"

  • Explanation: The input image tensor must be in the correct format (batch size, height, width, channels).
  • Solution: Ensure that your input image tensor is correctly formatted before passing it to the node.

"Parameter value out of range"

  • Explanation: One or more input parameters are outside their acceptable range.
  • Solution: Check the acceptable range for each parameter and ensure that the values you provide fall within these ranges.

"Image processing failed due to invalid data"

  • Explanation: The image data might be corrupted or not suitable for processing.
  • Solution: Verify the integrity of your input image and ensure it is a valid image tensor.

ColorCorrect Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-post-processing-nodes
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.