Skip to main content

VolumeFloat32

Data Types

Represents a 3D image where voxel data is stored as 32-bit floating-point numbers (float32), including its dimensions, physical origin, and voxel spacing.

Import

import ScriptingApi as api

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

Properties

data

Flat row-major voxel data stored as 32-bit floating-point numbers. 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