KJNodes/imagegenerated

Color Match V2(ColorMatchV2)

It analyzes the color distribution of the target image and the reference image, applying the color style of the reference image to the target image using multiple algorithms.

Color Match V2

image_target
image_ref
image
method
mkl
strength
1.00
multithread
KJNodes

The Color Match V2 node analyzes the color distribution of a target image and a reference image, applying the color style of the reference to the target using various algorithms.

The Color Match V2 node can automatically match and transfer color styles between different images, enabling automatic color grading for photos, paintings, or video sequences.

Node Functionality

It analyzes the color distribution of a target image and a reference image, applying the color style of the reference to the target using various algorithms. Available methods include mkl, hm, reinhard, mvgd, hm-mvgd-hm, hm-mkl-hm, and reinhard_lab_gpu. The strength parameter (range 0–10, step 0.01) controls the intensity of the effect. Users can choose different color matching methods and control the intensity of the effect via a slider, making it easy to unify the color tone of visual works or create a specific artistic atmosphere.

Use Cases

Color Match V2 is highly useful when you need to unify a set of photos into the same color tone to maintain consistency across a series. It can also be used in film or animation production to quickly correct color differences between different shots. Additionally, artists can use it to mimic the color style of a famous painting or a specific filter, adding unique visual effects to their own work.

Notes

If the "reinhard_lab_gpu" method is selected, the node will utilize GPU acceleration for faster processing, but this requires additional dependency libraries. Please note that when the strength parameter is set to 0, the node will output the original image directly without any processing. The multithread option (default true) enables multi-threaded processing for improved performance.

The Color Match V2 node is from the ComfyUI-KJNodes node package.

Comments

Sign in with GitHub to join the discussion.

Loading comments…