ComfyUI  >  Nodes  >  ComfyUI Easy Use >  Image Color Match

ComfyUI Node: Image Color Match

Class Name

easy imageColorMatch

Category
EasyUse/Image
Author
yolain (Account age: 1341 days)
Extension
ComfyUI Easy Use
Latest Updated
6/25/2024
Github Stars
0.5K

How to Install ComfyUI Easy Use

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

Image Color Match Description

Color transfer node for AI artists to match color characteristics between images, enhancing visual coherence efficiently.

Image Color Match:

The easy imageColorMatch node is designed to help you seamlessly transfer the color characteristics from one image (reference image) to another (target image). This node is particularly useful for AI artists who want to ensure color consistency across different images or match the color palette of a target image to a reference image. By leveraging advanced color matching techniques, this node can adjust the colors of the target image to closely resemble those of the reference image, enhancing the visual coherence of your artwork. Whether you are working on a series of images or need to match colors for a specific project, this node simplifies the process, saving you time and effort.

Image Color Match Input Parameters:

image_ref

This parameter represents the reference image whose color characteristics you want to transfer to the target image. The reference image should be an image file that contains the desired color palette. The function of this parameter is to provide the color data that will be used to adjust the target image. There are no specific minimum or maximum values for this parameter, but it should be a valid image file.

image_target

This parameter represents the target image that you want to adjust to match the colors of the reference image. The target image should be an image file that you wish to modify. The function of this parameter is to serve as the canvas for the color transfer process. There are no specific minimum or maximum values for this parameter, but it should be a valid image file.

method

This parameter specifies the color matching method to be used. The available options are hm, reinhard, mvgd, hm-mvgd-hm, and hm-mkl-hm. Each method employs a different algorithm for color matching, affecting the final result. The default value is hm. The choice of method can impact the accuracy and visual appeal of the color transfer, so you may need to experiment with different methods to achieve the desired effect.

image_output

This parameter determines how the output image will be handled. The available options are Hide, Preview, Save, and Hide/Save. The default value is Preview. This parameter controls whether the output image will be displayed, saved, or both. Choosing the appropriate option can help you manage your workflow more efficiently.

save_prefix

This parameter allows you to specify a prefix for the saved output image file. The default value is ComfyUI. This prefix will be added to the filename of the saved image, helping you organize and identify your files more easily.

prompt (optional)

This optional parameter allows you to provide a prompt that can be used for additional processing or metadata purposes. It is not required for the basic color matching functionality but can be useful for more advanced workflows.

extra_pnginfo (optional)

This optional parameter allows you to include extra PNG information in the output image. Like the prompt parameter, it is not required for the basic color matching functionality but can be useful for more advanced workflows.

Image Color Match Output Parameters:

image

The output parameter is the adjusted image that has undergone the color matching process. This image will have its colors modified to closely resemble those of the reference image, based on the chosen method. The output image is the final result of the color transfer process and can be used in your projects or saved for future use.

Image Color Match Usage Tips:

  • Experiment with different color matching methods (hm, reinhard, mvgd, hm-mvgd-hm, hm-mkl-hm) to find the one that best suits your needs, as each method can produce different results.
  • Use the Preview option in the image_output parameter to quickly see the results of the color matching process without saving the image, which can save time during experimentation.
  • If you need to save multiple versions of the output image, use the save_prefix parameter to organize your files and avoid overwriting existing images.

Image Color Match Common Errors and Solutions:

ColorMatch: Use either single reference image or a matching batch of reference images.

  • Explanation: This error occurs when the number of reference images does not match the batch size of the target images.
  • Solution: Ensure that you are using either a single reference image or a batch of reference images that matches the batch size of the target images.

Error occurred during transfer: <specific error message>

  • Explanation: This error indicates that an issue occurred during the color transfer process, possibly due to an invalid method or incompatible image formats.
  • Solution: Check the method parameter to ensure it is valid and verify that the reference and target images are in compatible formats. If the problem persists, try using a different method or reformatting the images.

Image Color Match Related Nodes

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