ComfyUI Node Runs on cloud
DistanceTransform
A ComfyUI node in Bmad/CV/Thresholding with 3 inputs and 1 output.
DistanceTransform
- binary_image
- IMAGE
◄distance_typeDIST_L2►
◄mask_sizeDIST_MASK_3►
CategoryBmad/CV/Thresholding
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| binary_image | IMAGE | — | |
| distance_type | COMBO | DIST_L2 | 3 options: DIST_L2, DIST_L1, DIST_C |
| mask_size | COMBO | DIST_MASK_3 | 3 options: DIST_MASK_3, DIST_MASK_5, DIST_MASK_PRECISE |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| IMAGE | IMAGE | — |