ComfyUI Node

Extract Black

Cleans up diagrams by converting non-black pixels to white, isolating black line drawings.

By mikemojen·Created 8 months ago·Updated 3 months ago· 0
Extract Black
  • image
  • image
black_threshold0.15
invert_outputfalse
Categoryimage/processing

Inputs (3)

NameTypeDefaultDescription
imageIMAGE
black_thresholdFLOAT0.150–1Pixels with RGB values below this threshold are considered black (0.0 = pure black only, higher = more tolerance)
invert_outputoptBOOLEANfalseIf enabled, outputs black background with white lines instead

Outputs (1)

NameTypeDescription
imageIMAGE