Nodes/ComfyUI-HappNodeSet/Extract Black Advanced
ComfyUI Node

Extract Black Advanced

Advanced diagram cleanup with luminance-based detection and multiple output modes.

By mikemojen·Created 8 months ago·Updated 3 months ago· 0
Extract Black Advanced
  • image
  • image
luminance_threshold0.20
saturation_tolerance0.30
output_mode
apply_antialiasingtrue
Categoryimage/processing

Inputs (5)

NameTypeDefaultDescription
imageIMAGE
luminance_thresholdFLOAT0.200–1Pixels with luminance below this threshold are considered black
saturation_toleranceFLOAT0.300–1Maximum saturation allowed for a pixel to be considered black (allows dark grays)
output_modeoptCOMBO3 options: black_on_white, white_on_black, preserve_black_values
apply_antialiasingoptBOOLEANtruePreserve anti-aliasing by keeping grayscale values for edge pixels

Outputs (1)

NameTypeDescription
imageIMAGE