ComfyUI Node
π Threshold (jov)
Threshold an input (color or mask).
π Threshold (jov)
- pixels
- image
- mask
βopBINARYβΊ
βadaptADAPT_NONEβΊ
βthreshold0.50βΊ
βblock3βΊ
βconst0.00βΊ
βwidth256βΊ
βheight256βΊ
βmodeNONEβΊ
βinvert0.00βΊ
CategoryJOVIMETRIX πΊπ©π΅
Inputs (10)
| Name | Type | Default | Description |
|---|---|---|---|
| pixels | * | β | |
| op | COMBO | BINARY | 3 options: BINARY, TRUNC, TOZERO |
| adapt | COMBO | ADAPT_NONE | 3 options: ADAPT_NONE, ADAPT_MEAN, ADAPT_GAUSS |
| threshold | FLOAT | 0.500β1 | β |
| block | INT | 31β101 | β |
| const | FLOAT | 0.00-1β1 | β |
| widthopt | INT | 25632β8192 | β |
| heightopt | INT | 25632β8192 | β |
| modeopt | COMBO | NONE | 4 options: NONE, FIT, CROP, ASPECT |
| invertopt | FLOAT | 0.000β1 | β |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | β |
| mask | MASK | β |