Skip to main content

MaskUint16

Data Types

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

Import

import ScriptingApi as api

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

Properties

data

Raw image data stored as 16-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