Nodes/ComfyUI-Image-Process/Achromatic Stabilizer
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.

By wakaura-asaho·Created 4 months ago·Updated about a month ago· 1
Achromatic Stabilizer
  • image
  • mask
  • OUTPUT
  • ALPHA
smoothtrue
sat_threshold0.08
kernel_size3
preserve_alphatrue
invert_alphafalse
CategoryWakaura

Inputs (7)

NameTypeDefaultDescription
imageIMAGEThe image to be processed.
smoothBOOLEANtrueWhether to apply a smoothing filter to the corrected areas.
sat_thresholdFLOAT0.080–1The saturation level below which pixels are considered artifacts.
kernel_sizeINT31–15The size of the smoothing kernel to apply.
preserve_alphaBOOLEANtrueWhether to preserve the alpha channel during processing.
invert_alphaBOOLEANfalseWhether to invert the alpha channel before saving.
maskoptMASKOptional alpha channel mask. If provided and preserve_alpha is True, this mask will be used as the alpha channel.

Outputs (2)

NameTypeDescription
OUTPUTIMAGE
ALPHAMASK