Skip to main content

VolumeUint16

Data Types

Represents a 3D 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
# VolumeUint16 is available via api.VolumeUint16

Properties

data

Flat row-major voxel data stored as 16-bit unsigned integers. Values are ordered X fastest, then Y, then Z. In Python, the data remains flat and helper methods provide shaped voxel access.

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