Skip to main content

Bool Mask to Logical ID

The Converter. Creates a new Logical ID map directly from a boolean mask.

Ports

PortTypeDirectionDescription
Input Bool MaskInputThe mask to convert.
Logical IDs IntOutputA 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.