ComfyUI Node
High-Frequency Detail Masker
A ComfyUI node in ComfyUI-JH-PixelPro/mask with 5 inputs and 1 output.
High-Frequency Detail Masker
- image
- mask
- mask_detail
◄kernel_typelaplacian►
◄sensitivity0.50►
◄threshold_moderelative_percentile►
CategoryComfyUI-JH-PixelPro/mask
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| kernel_type | COMBO | laplacian | High-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. |
| sensitivity | FLOAT | 0.500–1 | Fraction of pixels kept as detail. Higher = more pixels pass. 0 → empty mask, 1 → full mask. Typical retoucher dose 0.3–0.6. |
| threshold_mode | COMBO | relative_percentile | 'relative_percentile' adapts per image (robust cross-image). 'absolute' normalizes by per-image max (deterministic but more sensitive to outliers). |
| maskopt | MASK | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| mask_detail | MASK | — |