ComfyUI Node
Color Levels (MD)
Adjusts input/output levels and gamma for a selected color channel, with optional auto-input range.
Color Levels (MD)
- image
- mask
- image
◄ChannelValue►
◄InterpolationNon-Linear►
◄Input_low0►
◄Input_high255►
◄Input_gamma1.00►
◄Input_clampfalse►
◄Output_low0►
◄Output_high255►
◄Output_clampfalse►
◄Auto_inputfalse►
Categorymd/image/color
Inputs (12)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | Input image tensor. | |
| Channel | COMBO | Value | Which channel to apply the levels adjustment. |
| Interpolation | COMBO | Non-Linear | Type of interpolation for the level mapping. |
| Input_low | FLOAT | 00–255 | Lower bound for input levels (0-255). |
| Input_high | FLOAT | 2550–255 | Upper bound for input levels (0-255). |
| Input_gamma | FLOAT | 1.000.1–10 | Gamma correction applied to the input range. |
| Input_clamp | BOOLEAN | false | Clamp input values to the specified range before mapping. |
| Output_low | FLOAT | 00–255 | Lower bound for output levels (0-255). |
| Output_high | FLOAT | 2550–255 | Upper bound for output levels (0-255). |
| Output_clamp | BOOLEAN | false | Clamp output values to the specified range after mapping. |
| Auto_input | BOOLEAN | false | Automatically determine input low/high from image content. |
| maskopt | MASK | Optional mask to restrict the adjustment area. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | The levels-adjusted image. |