Nodes/was-node-suite-comfyui/Image High Pass Filter
ComfyUI Node Runs on cloud

Image High Pass Filter

Pull the fine detail out of an image, Photoshop-sharpen style

By WASasquatch·Created 3 years ago·Updated about a year ago· 1,812
Image High Pass Filter

      If you've ever used Photoshop's High Pass filter as a sharpening trick, this is the same idea in node form. Image High Pass Filter strips out the low-frequency information from an image - the broad tones, gradients, and smooth areas - and leaves you with just the high-frequency detail: edges, fine texture, grain. On its own the output looks like flat mid-gray with faint edge outlines; the point isn't to look at it directly, it's to use it as an ingredient.

      How it works

      The mechanism is the same one photo editors have used for decades: blur a copy of the image, then subtract that blurred version from the original. What's left over is exactly the fine detail the blur smoothed away - literally the high-frequency band of the image, hence the name. The larger the blur radius used internally, the coarser the detail band you pull out; a small radius grabs only the finest texture and grain, a larger one starts pulling in edges and shapes too.

      Why you'd reach for it

      Two common uses. First, sharpening: extract the high-frequency detail, then blend it back over the original using an Overlay or Soft Light blend mode (WAS Node Suite's own Image Blending Mode node handles that) to punch up perceived sharpness without the halo-y look a naive unsharp-mask can produce. Second, texture and detail analysis or transfer - since the output is just the fine detail with none of the color or lighting information, it's a useful building block if you're isolating skin texture, fabric grain, or noise patterns to reuse elsewhere in a graph.

      Installing it

      Through ComfyUI Manager: search "WAS Node Suite", install, restart. Manually:

      cd ComfyUI/custom_nodes
      git clone https://github.com/WASasquatch/was-node-suite-comfyui
      cd was-node-suite-comfyui
      pip install -r requirements.txt
      

      Pure image math - no model downloads, no heavy dependencies specific to this node.

      Troubleshooting

      If the output looks almost entirely flat gray with no visible detail at all, that usually means the source image itself is soft - this node can only pull out detail that's actually there. Feeding it a heavily-denoised or already-blurred image (post-upscale with a strong generative upscaler, for instance) will give you a disappointingly empty result; it's not the node failing, it's genuinely nothing left to extract.

      Beyond that, the standard WAS Node Suite caution applies: the pack has had no active development since December 2023, so if this node - or the whole suite - disappears from your menu after updating ComfyUI, check your console for an import failure before assuming the filter logic itself is broken. It's almost always a dependency version mismatch elsewhere in the pack, not this node.

      Categoryx

      Inputs (0)

      No inputs

      Outputs (0)

      No outputs