Bool Mask to Logical ID
The Converter. Creates a new Logical ID map directly from a boolean mask.
Ports
| Port | Type | Direction | Description |
|---|---|---|---|
| Input | Bool Mask | Input | The mask to convert. |
| Logical IDs | Int | Output | A map of IDs based on the True/False state of the mask. |
Details
Parameters
- True Logical ID: The ID used for white pixels (True).
- False Logical ID: The ID used for black pixels (False).
This node is the standard way to initialise a logical ID map from a shape generator or noise mask.
Bool Mask
Int