Nodes/OLED Auto Black/OLED Auto Black
ComfyUI Node

OLED Auto Black

A ComfyUI node in image/postprocessing with 13 inputs and 5 outputs.

By danielphingston·Created 8 days ago·Updated 8 days ago· 0
OLED Auto Black
  • image
  • image
  • black_mask
  • debug_view
  • report
  • black_point
◄enabledtrue►
◄modeauto►
◄presetbalanced►
◄detail_protection1.00►
◄shadow_dehaze0.50►
◄despeckletrue►
◄dithertrue►
◄protect_colortrue►
◄max_black_point40►
◄manual_black_point8►
◄manual_range10►
◄keep_soft_glow0.00►
Categoryimage/postprocessing

Inputs (13)

NameTypeDefaultDescription
imageIMAGE—
enabledBOOLEANtrue—
modeCOMBOauto2 options: auto, manual
presetCOMBObalancedHow far above the detected haze the black point sits.
detail_protectionFLOAT1.000–1Keep faint structured detail (smoke, hair, edges) instead of crushing it. 0 = off.
shadow_dehazeFLOAT0.500–1Remove the milky veil from the subject's shadows. Fades out by mid-grey.
despeckleBOOLEANtrueRemove isolated noise dots in black areas; thin lines are kept.
ditherBOOLEANtrueTiny dither in the fade-to-black to prevent 8-bit banding. Turn off before an upscaler, on for the final save.
protect_colorBOOLEANtrueJudge darkness by max(R,G,B) so deep saturated colours survive.
max_black_pointINT404–96Safety cap for auto mode (0-255 scale).
manual_black_pointINT80–128—
manual_rangeINT101–128—
keep_soft_glowFLOAT0.000–1Keep diffuse light just above the haze (Milky Way, fog, nebula, soft gradients). 0 = off, the deepest black.

Outputs (5)

NameTypeDescription
imageIMAGE—
black_maskMASK—
debug_viewIMAGE—
reportSTRING—
black_pointINT—