ComfyUI Node
JFA
A ComfyUI node in custom/jfa with 9 inputs and 4 outputs.
JFA
- mask
- image
- dist_mask
- dist_image
- threshold_mask
- jfa_coords
◄source_channelRed►
◄threshold0.50►
◄threshold_previewfalse►
◄distance_modepercentage►
◄distance0.05►
◄distance_fallofflinear►
◄invert_maskfalse►
Categorycustom/jfa
Inputs (9)
| Name | Type | Default | Description |
|---|---|---|---|
| source_channel | COMBO | Red | 4 options: Red, Green, Blue, Alpha |
| threshold | FLOAT | 0.500–1 | — |
| threshold_preview | BOOLEAN | false | — |
| distance_mode | COMBO | percentage | 2 options: percentage, pixels |
| distance | FLOAT | 0.050–2048 | — |
| distance_falloff | COMBO | linear | 3 options: linear, smoothstep, smootherstep |
| invert_mask | BOOLEAN | false | — |
| maskopt | MASK | — | |
| imageopt | IMAGE | — |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| dist_mask | MASK | — |
| dist_image | IMAGE | — |
| threshold_mask | IMAGE | — |
| jfa_coords | IMAGE | — |