ComfyUI Node
Extract Black
Cleans up diagrams by converting non-black pixels to white, isolating black line drawings.
Extract Black
- image
- image
◄black_threshold0.15►
◄invert_outputfalse►
Categoryimage/processing
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| black_threshold | FLOAT | 0.150–1 | Pixels with RGB values below this threshold are considered black (0.0 = pure black only, higher = more tolerance) |
| invert_outputopt | BOOLEAN | false | If enabled, outputs black background with white lines instead |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |