ComfyUI Node

PVL Color Match

Color transfer between images with optional attention mask. If attention_mask is provided (standard ComfyUI MASK, black/white): - The white region defines the analysis area on BOTH target and reference. - Outside the white region, both images are flattened to the mean color of their own masked region *only for analysis*. - The resulting color correction is then applied to the entire ORIGINAL target image (no masking in the output stage). Based on: https://github.com/hahnec/color-matcher/

By pvlprk·Created about a year ago·Updated 8 months ago· 1
PVL Color Match
  • image_ref
  • image_target
  • attention_mask
  • image
methodmkl
strength1.00
CategoryPVL_tools/image

Inputs (5)

NameTypeDefaultDescription
image_refIMAGE
image_targetIMAGE
methodCOMBOmkl6 options: mkl, hm, reinhard, mvgd, hm-mvgd-hm, hm-mkl-hm
strengthoptFLOAT1.000–10
attention_maskoptMASK

Outputs (1)

NameTypeDescription
imageIMAGE