Nodes/ComfyUI-ColorConsistencyHSL/HSL Color Consistency Advanced
ComfyUI Node

HSL Color Consistency Advanced

A ComfyUI node in image/postprocessing with 15 inputs and 1 output.

By overcloud81·Created 5 months ago·Updated 4 months ago· 10
HSL Color Consistency Advanced
  • reference
  • target
  • external_mask
  • IMAGE
mode亮度+色相+饱和度
anchor_mode统计匹配
luma_spaceLAB L通道
align_cornerstrue
interpolationbilinear
force_match_sizefalse
luma_strength1.00
strength1.00
protect_strength0.00
feather_radius10
auto_maskfalse
mask_threshold0.10
Categoryimage/postprocessing

Inputs (15)

NameTypeDefaultDescription
referenceIMAGE
targetIMAGE
modeCOMBO亮度+色相+饱和度7 options: 亮度, 色相, 饱和度, 亮度+色相, 亮度+饱和度, 色相+饱和度, +1
anchor_modeCOMBO统计匹配色彩精确:色相和饱和度像素级精确,亮度不变 / Color exact: pixel-perfect hue/saturation, luminance unchanged
luma_spaceCOMBOLAB L通道亮度统计匹配的空间(仅当亮度参与匹配时有效) / Space for luminance statistical matching (only when luminance is matched)
align_cornersBOOLEANtrue对齐四角,True可减少像素偏移 / Align corners, True reduces pixel shift
interpolationCOMBObilinear缩放插值方式 / Interpolation method for scaling
force_match_sizeBOOLEANfalse强制尺寸一致(不一致时自动缩放) / Force size match (auto-scale if different)
luma_strengthFLOAT1.000–1亮度统计匹配强度(仅亮度参与统计匹配时有效) / Strength of luminance statistical matching (only when luminance is matched statistically)
strengthFLOAT1.000–1整图混合强度 / Global blend strength
protect_strengthFLOAT0.000–1编辑区域保留原图的比例 / Proportion of original image retained in edit area
feather_radiusINT100–100蒙版羽化半径(像素) / Mask feather radius (pixels)
auto_maskBOOLEANfalse启用自动蒙版 / Enable auto mask
mask_thresholdFLOAT0.100–1自动蒙版阈值 / Auto mask threshold
external_maskoptMASK

Outputs (1)

NameTypeDescription
IMAGEIMAGE