Nodes/comfyui-video-tiler/Video Tile Reference Color Match
ComfyUI Node

Video Tile Reference Color Match

Post-merge: match large-scale color to a reference clip (LR/pre-upscale) while preserving merged detail. Uses Gaussian low/high split; long batches are chunked for PyTorch limits.

By maDcaDDie2000·Created 5 months ago·Updated 15 days ago· 18
Video Tile Reference Color Match
  • merged
  • reference
  • IMAGE
low_frequency_sigma14.0
color_pull0.58
detail_mix1.00
preserve_merged_luminancetrue
luma_scale_clamp4.00
reference_resizebicubic
CategoryVideo Tiler

Inputs (8)

NameTypeDefaultDescription
mergedIMAGEVideo Tile Merge output [B,H,W,3].
referenceIMAGESame content at LR or pre-upscale resolution; resized internally. Batch 1 broadcasts to merged batch.
low_frequency_sigmaoptFLOAT14.00–256Gaussian σ (px) for LF/HF split. Higher = only broader color moves. ~0 skips blur (strong reference imprint).
color_pulloptFLOAT0.580–1How much low-frequency RGB follows the reference vs merged LF.
detail_mixoptFLOAT1.000–1Gain on high-frequency residual from merged (1 = keep full upscale detail).
preserve_merged_luminanceoptBOOLEANtrueIf true, rescale RGB after pull so Rec.709 luma matches merged (reference brightness won’t flatten scene).
luma_scale_clampoptFLOAT4.001.05–10Max/min multiplier when locking luma (prevents extreme corrections).
reference_resizeoptCOMBObicubicInterpolation when upsampling reference to merged width/height.

Outputs (1)

NameTypeDescription
IMAGEIMAGEColor-matched IMAGE; same shape/dtype as merged input.