The ThresholdMask node converts a mask to a binary mask by applying a threshold value. It compares each pixel in the input mask against the specified threshold value and creates a new mask where pixels above the threshold become 1 (white) and pixels below or equal to the threshold become 0 (black).

## Inputs

| Parameter | Description | Data Type | Required | Range |
| --- | --- | --- | --- | --- |
| `mask` | The input mask to be processed | MASK | Yes | - |
| `value` | The threshold value for binarization (default: 0.5) | FLOAT | Yes | 0.0 - 1.0 |

## Outputs

| Output Name | Description | Data Type |
| --- | --- | --- |
| `mask` | The resulting binary mask after thresholding | MASK |

> This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! [Edit on GitHub](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/ThresholdMask/en.md)

---
**Source fingerprint (SHA-256):** `eff4479b70c1ca87ba9ba17b771edf5d816cf13c12ac0767cd7ee79d18e326c3`
