Skip to main content

MaskUint8

Data Types

Represents a 3D mask image where voxel data is stored as 8-bit unsigned integers (uint8), including its dimensions, physical origin, and voxel spacing.

Import

import ScriptingApi as api

# Access the class
# MaskUint8 is available via api.MaskUint8

Properties

data

Raw image data stored as 8-bit unsigned integers.

Type: list


dimensions

Voxel dimensions of the image in pixels [width, height, depth].

Type: list


spacing

Voxel spacing of the image [x, y, z].

Type: list


origin

Physical origin of the image [x, y, z].

Type: list


See Also