Unpacks semantic channels from a packed channel bitmask.
This method converts a bitmask value from a packed channel pixel into a SemanticsChannels OptionSet, where each bit represents a semantic channel (bit 0 = Sky, bit 1 = Ground, etc.).
- Parameter bitmask: The value of a pixel from an image returned by latestPackedChannels() - Returns: A SemanticsChannels OptionSet representing the channels present in the bitmask
Unpacks semantic channels from a packed channel bitmask.
This method converts a bitmask value from a packed channel pixel into a
SemanticsChannelsOptionSet, where each bit represents a semantic channel (bit 0 = Sky, bit 1 = Ground, etc.).
- Parameter bitmask: The value of a pixel from an image returned by
latestPackedChannels()- Returns: A
SemanticsChannelsOptionSet representing the channels present in the bitmask