ComfyUI Node
Achromatic Stabilizer
Fix achromatic color instability across the image.Pixels with near-zero saturation have their hue snapped to 0 and their saturation zeroed out, then optionally smoothed.
Achromatic Stabilizer
- image
- mask
- OUTPUT
- ALPHA
◄smoothtrue►
◄sat_threshold0.08►
◄kernel_size3►
◄preserve_alphatrue►
◄invert_alphafalse►
CategoryWakaura
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | The image to be processed. | |
| smooth | BOOLEAN | true | Whether to apply a smoothing filter to the corrected areas. |
| sat_threshold | FLOAT | 0.080–1 | The saturation level below which pixels are considered artifacts. |
| kernel_size | INT | 31–15 | The size of the smoothing kernel to apply. |
| preserve_alpha | BOOLEAN | true | Whether to preserve the alpha channel during processing. |
| invert_alpha | BOOLEAN | false | Whether to invert the alpha channel before saving. |
| maskopt | MASK | Optional alpha channel mask. If provided and preserve_alpha is True, this mask will be used as the alpha channel. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| OUTPUT | IMAGE | — |
| ALPHA | MASK | — |