Nodes/eric-color-correction/Skin Luminance Adjust (Eric_)
ComfyUI Node

Skin Luminance Adjust (Eric_)

A ComfyUI node in Eric_/Color Correction with 9 inputs and 1 output.

By EricRollei·Created 4 months ago·Updated 4 months ago· 3
Skin Luminance Adjust (Eric_)
  • image
  • skin_mask
  • image
modemanual_offset
detection_modemask_only
target_ire70
manual_offset0.00
strength0.50
skin_threshold0.10
feather8
CategoryEric_/Color Correction

Inputs (9)

NameTypeDefaultDescription
imageIMAGE
modeCOMBOmanual_offset2 options: target_ire, manual_offset
detection_modeCOMBOmask_only3 options: combined, hsv_auto, mask_only
target_ireFLOAT700–100Target mean skin luminance in IRE (Y-space). 70 = broadcast standard skin tone. The shift is applied perceptually (L* space) so it looks uniform across shadow and highlight areas of skin.
manual_offsetFLOAT0.00-1–1Direct additive Y offset applied to skin pixels. +0.1 lifts by 0.1 Y units (about 10 IRE). -0.3 darkens by 0.3 Y units. Full range: -1.0 to +1.0.
strengthFLOAT0.500–1
skin_thresholdFLOAT0.100.01–0.9Skin confidence threshold - behavior depends on detection_mode. COMBINED (recommended): pixels inside the SAM mask whose skin confidence is below this fraction of the PEAK confidence inside the mask are excluded. Skin-tone-agnostic: 0.10 always means 'exclude the bottom 10% of skin-likeness for this person' - eyes, teeth, eyebrows - regardless of complexion. Start at 0.10. Raise to 0.20-0.25 to also exclude lips. Lower to 0.05 if shadow areas of skin are being incorrectly excluded. HSV_AUTO (no mask): threshold applied to raw confidence score (0-1). Start at 0.25-0.35. Raise to exclude warm backgrounds or clothing.
featherFLOAT80–64Softens the outer boundary of the skin selection. COMBINED: feathers the SAM mask edge (hairline, shoulder, jaw). The skin interior stays clean at weight 1.0 - feather only affects the edge. HSV_AUTO / MASK_ONLY: feathers the confidence or mask boundary directly.
skin_maskoptMASK

Outputs (1)

NameTypeDescription
imageIMAGE