Nodes/Nifty Nodes for ComfyUI/Image Color Match
ComfyUI Node

Image Color Match

A ComfyUI node in nifty/image with 7 inputs and 1 output.

By Stibo·Created 5 months ago·Updated 2 months ago· 7
Image Color Match
  • image_target
  • image_ref
  • IMAGE
enabledtrue
methodmkl
transfer_modeall
strength1.00
multithreadtrue
Categorynifty/image

Inputs (7)

NameTypeDefaultDescription
enabledBOOLEANtrueWhen disabled, image_target is passed through unchanged.
methodCOMBOmklColor transfer algorithm. 'wavelet' and 'adain' = structure-preserving, good for textures. 'reinhard_lab' = fast statistical match in LAB space. 'mkl' = accurate linear color mapping (recommended default). 'hm' = histogram matching. 'reinhard_lab_gpu' = GPU-accelerated reinhard (requires kornia). 'mvgd', 'hm-mvgd-hm', 'hm-mkl-hm' = advanced methods from color-matcher package.
transfer_modeCOMBOall'all' = transfer full color. 'color' = transfer only hue/chroma, keep original luminance. 'luminance' = transfer only brightness, keep original colors.
strengthFLOAT1.000–10Blend strength of the color transfer. 1.0 = full match, 0.5 = half-way blend with original, values above 1.0 exaggerate the effect.
multithreadBOOLEANtrueProcess batch images in parallel using multiple CPU threads. Recommended for large batches.
image_targetoptIMAGEThe image whose colors will be adjusted to match the reference.
image_refoptIMAGEThe reference image whose color distribution is used as the target.

Outputs (1)

NameTypeDescription
IMAGEIMAGE