ComfyUI Node
Image Color Match
A ComfyUI node in nifty/image with 7 inputs and 1 output.
Image Color Match
- image_target
- image_ref
- IMAGE
◄enabledtrue►
◄methodmkl►
◄transfer_modeall►
◄strength1.00►
◄multithreadtrue►
Categorynifty/image
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| enabled | BOOLEAN | true | When disabled, image_target is passed through unchanged. |
| method | COMBO | mkl | Color 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_mode | COMBO | all | 'all' = transfer full color. 'color' = transfer only hue/chroma, keep original luminance. 'luminance' = transfer only brightness, keep original colors. |
| strength | FLOAT | 1.000–10 | Blend strength of the color transfer. 1.0 = full match, 0.5 = half-way blend with original, values above 1.0 exaggerate the effect. |
| multithread | BOOLEAN | true | Process batch images in parallel using multiple CPU threads. Recommended for large batches. |
| image_targetopt | IMAGE | The image whose colors will be adjusted to match the reference. | |
| image_refopt | IMAGE | The reference image whose color distribution is used as the target. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| IMAGE | IMAGE | — |