ComfyUI  >  Nodes  >  ComfyUI-post-processing-nodes >  ColorCorrect

ComfyUI Node: ColorCorrect

Class Name

ColorCorrect

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

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.

ColorCorrect:

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, such as 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.

ColorCorrect Input Parameters:

image

The image parameter expects a tensor representation of the image you wish to process. This is the primary input on which the color correction will be applied.

temperature

The temperature parameter adjusts the color temperature of the image. A higher value will make the image appear warmer (more yellow/orange), while a lower value will make it appear cooler (more blue). This parameter helps in setting the mood of the image by altering its overall color tone.

hue

The hue parameter shifts the colors of the image around the color wheel. This can be used to change the overall color scheme of the image. The value typically ranges from -1 to 1, where 0 means no change.

brightness

The brightness parameter controls the overall lightness or darkness of the image. Increasing the brightness value will make the image lighter, while decreasing it will make the image darker. This is useful for correcting underexposed or overexposed images.

contrast

The contrast parameter adjusts the difference between the light and dark areas of the image. Higher contrast makes the dark areas darker and the light areas lighter, while lower contrast reduces this difference. This can enhance the details and depth of the image.

saturation

The saturation parameter controls the intensity of the colors in the image. Increasing saturation makes the colors more vivid, while decreasing it makes the colors more muted. This is useful for making the image more vibrant or achieving a more subdued look.

gamma

The gamma parameter adjusts the midtones of the image without affecting the shadows and highlights too much. This can be used to fine-tune the overall brightness and contrast of the image. A gamma value greater than 1 will lighten the midtones, while a value less than 1 will darken them.

ColorCorrect Output Parameters:

result

The result parameter is the output tensor of the image after the color correction has been applied. This image will reflect all the adjustments made based on the input parameters, providing you with a visually enhanced and color-corrected version of the original image.

ColorCorrect Usage Tips:

  • Experiment with small adjustments to the temperature and hue parameters to achieve subtle color shifts that can significantly impact the mood of your image.
  • Use the brightness and contrast parameters together to correct exposure issues and enhance image details.
  • Adjust the saturation parameter to make your image more vibrant or to create a more muted, artistic effect.
  • Fine-tune the gamma parameter to achieve the perfect balance of midtones, especially if the image appears too flat or too harsh after other adjustments.

ColorCorrect Common Errors and Solutions:

"Invalid image tensor"

  • Explanation: This error occurs when the input image is not provided in the correct tensor format.
  • Solution: Ensure that the input image is correctly converted to a tensor before passing it to the node.

"Parameter out of range"

  • Explanation: This error happens when one of the input parameters is set outside its acceptable range.
  • Solution: Verify that all input parameters are within their specified ranges. For example, ensure hue is between -1 and 1.

"Image processing failed"

  • Explanation: This error indicates a failure during the color correction process, possibly due to incompatible image data.
  • Solution: Check the integrity of the input image and ensure it is not corrupted. Re-convert the image to a tensor if necessary.

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.