Skip to main content
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

ParameterDescriptionData TypeRequiredRange
maskThe input mask to be processedMASKYes-
valueThe threshold value for binarization (default: 0.5)FLOATYes0.0 - 1.0

Outputs

Output NameDescriptionData Type
maskThe resulting binary mask after thresholdingMASK
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub

Source fingerprint (SHA-256): eff4479b70c1ca87ba9ba17b771edf5d816cf13c12ac0767cd7ee79d18e326c3