ComfyUI Node
Extract Red
Extracts red elements from images by converting non-red pixels to white, isolating red markings and annotations.
Extract Red
- image
- image
◄red_threshold0.40►
◄red_dominance0.20►
◄max_other_channels1.00►
◄preserve_original_redtrue►
◄invert_outputfalse►
Categoryimage/processing
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| red_threshold | FLOAT | 0.400–1 | Minimum red channel value required (0.0 = any red, 1.0 = pure red only) |
| red_dominance | FLOAT | 0.200–1 | How much the red channel must exceed green and blue (0.0 = no dominance required, higher = stricter) |
| max_other_channelsopt | FLOAT | 1.000–1 | Maximum allowed value for green and blue channels (lower = purer reds only) |
| preserve_original_redopt | BOOLEAN | true | If enabled, keeps original red pixel colors; if disabled, converts red pixels to pure red (1,0,0) |
| invert_outputopt | BOOLEAN | false | If enabled, outputs white background with inverted colors |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |