ComfyUI > Nodes > MTB Nodes > Color Correct (mtb)

ComfyUI Node: Color Correct (mtb)

Class Name

Color Correct (mtb)

Category
mtb/image processing
Author
melMass (Account age: 3754days)
Extension
MTB Nodes
Latest Updated
2024-07-02
Github Stars
0.35K

How to Install MTB Nodes

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

Color Correct (mtb) Description

Comprehensive color correction tools for image enhancement and artistic effects, ideal for AI artists.

Color Correct (mtb):

The Color Correct (mtb) node is designed to provide a comprehensive suite of color correction tools for your images. This node allows you to fine-tune various aspects of an image's color properties, including gamma, contrast, exposure, offset, hue, saturation, and value. By adjusting these parameters, you can enhance the visual appeal of your images, correct color imbalances, and achieve the desired artistic effect. The node is particularly useful for AI artists who want to refine their generated images without needing extensive technical knowledge. The main goal of this node is to offer a flexible and powerful way to manipulate image colors, ensuring your final output meets your creative vision.

Color Correct (mtb) Input Parameters:

image

This parameter accepts the image you want to apply color corrections to. The input should be in the form of an image tensor.

clamp

This boolean parameter determines whether the output image values should be clamped between 0.0 and 1.0. Clamping ensures that the pixel values remain within a valid range, preventing any potential overflow or underflow issues. The default value is True.

gamma

This float parameter adjusts the gamma correction of the image. Gamma correction is used to control the overall brightness of the image. A gamma value of 1.0 means no change, values less than 1.0 darken the image, and values greater than 1.0 lighten the image. The range is from 0.0 to 5.0, with a default value of 1.0.

contrast

This float parameter modifies the contrast of the image. Increasing the contrast makes the dark areas darker and the bright areas brighter, while decreasing it makes the image more uniform. The range is from 0.0 to 5.0, with a default value of 1.0.

exposure

This float parameter controls the exposure level of the image. Positive values increase the exposure, making the image brighter, while negative values decrease it, making the image darker. The range is from -5.0 to 5.0, with a default value of 0.0.

offset

This float parameter adjusts the offset of the image, which shifts all pixel values by a constant amount. This can be used to brighten or darken the image uniformly. The range is from -5.0 to 5.0, with a default value of 0.0.

hue

This float parameter changes the hue of the image, which affects the overall color tone. The hue adjustment is cyclic, meaning that it wraps around the color wheel. The range is from -0.5 to 0.5, with a default value of 0.0.

saturation

This float parameter controls the saturation of the image. Increasing saturation makes the colors more vivid, while decreasing it makes the colors more muted. The range is from 0.0 to 5.0, with a default value of 1.0.

value

This float parameter adjusts the value (brightness) of the image. It is similar to exposure but operates in the HSV color space. The range is from 0.0 to 5.0, with a default value of 1.0.

Color Correct (mtb) Output Parameters:

IMAGE

The output is the color-corrected image, returned as an image tensor. This image reflects all the adjustments made based on the input parameters, providing a visually enhanced version of the original input.

Color Correct (mtb) Usage Tips:

  • To achieve a natural look, start with small adjustments to gamma, contrast, and exposure, and gradually increase the values until you reach the desired effect.
  • Use the hue and saturation parameters to create artistic effects or to correct color imbalances in your image.
  • Always enable the clamp parameter to ensure that your image values remain within a valid range, preventing any potential artifacts.

Color Correct (mtb) Common Errors and Solutions:

Image tensor not provided

  • Explanation: The node requires an image tensor as input to perform color corrections.
  • Solution: Ensure that you provide a valid image tensor to the image parameter.

Invalid parameter range

  • Explanation: One or more input parameters are outside their valid range.
  • Solution: Check the parameter values and ensure they fall within the specified ranges. For example, gamma should be between 0.0 and 5.0.

Output image contains artifacts

  • Explanation: This can occur if the clamp parameter is set to False and the adjustments push pixel values outside the valid range.
  • Solution: Enable the clamp parameter to keep pixel values within the 0.0 to 1.0 range.

Color Correct (mtb) Related Nodes

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