Nodes/ComfyUI-JH-PixelPro/High-Frequency Detail Masker
ComfyUI Node

High-Frequency Detail Masker

A ComfyUI node in ComfyUI-JH-PixelPro/mask with 5 inputs and 1 output.

By jetthuangai·Created 4 months ago·Updated 3 months ago· 5
High-Frequency Detail Masker
  • image
  • mask
  • mask_detail
kernel_typelaplacian
sensitivity0.50
threshold_moderelative_percentile
CategoryComfyUI-JH-PixelPro/mask

Inputs (5)

NameTypeDefaultDescription
imageIMAGE
kernel_typeCOMBOlaplacianHigh-pass operator. 'laplacian' is scale-invariant and isotropic (default). 'sobel' is directional (emphasizes edges). 'fs_gaussian' reuses the N-01 Frequency Separation high-pass path.
sensitivityFLOAT0.500–1Fraction of pixels kept as detail. Higher = more pixels pass. 0 → empty mask, 1 → full mask. Typical retoucher dose 0.3–0.6.
threshold_modeCOMBOrelative_percentile'relative_percentile' adapts per image (robust cross-image). 'absolute' normalizes by per-image max (deterministic but more sensitive to outliers).
maskoptMASK

Outputs (1)

NameTypeDescription
mask_detailMASK