Nodes/PortraitUtils/Auto White-Balance + Color Match
ComfyUI Node

Auto White-Balance + Color Match

A ComfyUI node in PortraitUtils/Analysis with 10 inputs and 1 output.

By heyburns·Created 12 months ago·Updated 3 days ago· 2
Auto White-Balance + Color Match
  • image
  • reference
  • IMAGE
◄methodwb_highlight+reinhard►
◄percentile95.0►
◄strength1.00►
◄clip_gamuttrue►
◄force_sizefalse►
◄target_width1440►
◄target_height1080►
◄preserve_luminancetrue►
CategoryPortraitUtils/Analysis

Inputs (10)

NameTypeDefaultDescription
imageIMAGE—
referenceIMAGE—
methodCOMBOwb_highlight+reinhard5 options: wb_grayworld, wb_highlight, reinhard_lab, lab_l_only, wb_highlight+reinhard
percentileFLOAT95.080–99.9—
strengthFLOAT1.000–1—
clip_gamutBOOLEANtrue—
force_sizeBOOLEANfalseLimit statistics sampling only; output stays full resolution.
target_widthINT144016–8192—
target_heightINT108016–8192—
preserve_luminanceoptBOOLEANtrueWB preserves the sampled linear-light luminance instead of forcing highlights to 95% white. Reference matching can still change brightness.

Outputs (1)

NameTypeDescription
IMAGEIMAGE—