ComfyUI Node
Color Threshold (MD)
Thresholds an image based on a selected channel, mapping values below Low to 0 and above High to 255.
Color Threshold (MD)
- image
- mask
- image
◄ChannelValue►
◄Low127►
◄High255►
Categorymd/image/color
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | Input image tensor. | |
| Channel | COMBO | Value | Channel to use for thresholding. |
| Low | FLOAT | 1270–255 | Lower threshold value (0-255). |
| High | FLOAT | 2550–255 | Upper threshold value (0-255). |
| maskopt | MASK | Optional mask to restrict the adjustment area. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | The thresholded image. |