ComfyUI Node
Color Components Mono Mixer (MD)
Converts an image to grayscale by mixing red, green, and blue channels with custom weights, with optional luminosity preservation.
Color Components Mono Mixer (MD)
- image
- mask
- image
◄preserve_luminosityfalse►
◄red_multiplier0.33►
◄green_multiplier0.33►
◄blue_multiplier0.33►
Categorymd/image/color
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | Input image tensor. | |
| preserve_luminosity | BOOLEAN | false | Preserve the overall luminance after mixing. |
| red_multiplier | FLOAT | 0.33-5–5 | Weight for the red channel. |
| green_multiplier | FLOAT | 0.33-5–5 | Weight for the green channel. |
| blue_multiplier | FLOAT | 0.33-5–5 | Weight for the blue channel. |
| maskopt | MASK | Optional mask to restrict the conversion area. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | The grayscale image. |