Nodes/WAS Affine/Affine High-pass White Noise Options
ComfyUI Node

Affine High-pass White Noise Options

Detail where it counts

By WASasquatch·Created about a year ago·Updated 5 months ago· 5
Affine High-pass White Noise Options
    • noise_options
    highpass_cutoff_frac0.75
    highpass_order2

    High-pass white noise is white noise with the low frequencies filtered out - all sparkle, no broad swells. In WAS Affine the highpass_white pattern is the fine-detail mask: it concentrates the affine effect on the high-frequency structure of the frame, which is where visible texture, edges, and surface grain live. Affine High-pass White Noise Options tunes the filter with two knobs and emits a noise_options DICT.

    The knobs

    • highpass_cutoff_frac (default 0.75) - the cutoff as a fraction of Nyquist. Higher = more of the spectrum removed, so only the very highest frequencies remain. Lower = a gentler filter that keeps more mid-range energy.
    • highpass_order (default 2) - the Butterworth filter order. Higher = steeper roll-off, a sharper line between what's kept and what's cut.

    How it fits

    Wire noise_options into Latent Affine, an affine sampler, or Affine Pattern Noise. The README's pattern guidance files high-pass white under "fine detail work," and it's one of the pack's better choices for texture enhancement: the mask naturally avoids the big flat areas and lights up where detail already exists. In the author's own KSampler Affine comparison workflow, highpass_white is used alongside perlin in the second-pass setup - a practical vote for it as a go-to detail pattern.

    The default cutoff of 0.75 is already quite aggressive. If you find the mask too sparse or the effect too scattered, lower the cutoff rather than raising the affine strength - that's the knob that decides how much of the frame the mask can touch.

    Installing

    Part of WAS Affine by WASasquatch. ComfyUI Manager → Install Custom Nodes → search "WAS Affine" → install → restart, or:

    cd ComfyUI/custom_nodes
    git clone https://github.com/WASasquatch/was_affine
    

    Restart ComfyUI. ComfyUI 1.0.0+, torch and numpy.

    Common issues

    High-pass masks amplify exactly what they keep, so if your output suddenly looks grainy or sparkly, the filter is too steep - back off highpass_cutoff_frac or the affine's max_scale. And don't expect this pattern to do anything useful on flat, textureless content; there's no high-frequency structure there for it to find, so the effect will look like it's barely running. As with all options nodes, it only matters once it's actually connected.

    Categorylatent/adjust

    Inputs (2)

    NameTypeDefaultDescription
    highpass_cutoff_fracFLOAT0.750.01–1Normalized cutoff fraction (0-1) of Nyquist; higher keeps more high frequencies.
    highpass_orderINT21–10Butterworth filter order. Higher = steeper roll-off.

    Outputs (1)

    NameTypeDescription
    noise_optionsDICT