ComfyUI Node
Extract Black Advanced
Advanced diagram cleanup with luminance-based detection and multiple output modes.
Extract Black Advanced
- image
- image
◄luminance_threshold0.20►
◄saturation_tolerance0.30►
◄output_mode▾►
◄apply_antialiasingtrue►
Categoryimage/processing
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| luminance_threshold | FLOAT | 0.200–1 | Pixels with luminance below this threshold are considered black |
| saturation_tolerance | FLOAT | 0.300–1 | Maximum saturation allowed for a pixel to be considered black (allows dark grays) |
| output_modeopt | COMBO | 3 options: black_on_white, white_on_black, preserve_black_values | |
| apply_antialiasingopt | BOOLEAN | true | Preserve anti-aliasing by keeping grayscale values for edge pixels |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |