ComfyUI Node
jz Double Threshold
A ComfyUI node in jz/image with 5 inputs and 3 outputs.
jz Double Threshold
- image
- input_alpha
- image
- trimap
- alpha
◄low0.15►
◄high0.85►
◄invert_input_alphatrue►
Categoryjz/image
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| low | FLOAT | 0.150–1 | luma at or below this -> black |
| high | FLOAT | 0.850–1 | luma at or above this -> white |
| input_alphaopt | MASK | input transparency; LoadImage's MASK output goes here | |
| invert_input_alphaopt | BOOLEAN | true | LoadImage masks are 1 = transparent; keep on when wiring that, turn off if your mask is 1 = opaque |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |
| trimap | MASK | — |
| alpha | MASK | — |