Skip to contents

This class contains meta information for an image data type

Usage

MetaInfo(
  Dim,
  spacing,
  origin = rep(0, length(spacing)),
  data_type = "FLOAT",
  label = "",
  spatial_axes = OrientationList3D$AXIAL_LPI,
  additional_axes = NullAxis
)

Arguments

Dim

image dimensions

spacing

voxel dimensions

origin

coordinate origin

data_type

the type of the data (e.g. "FLOAT")

label

name(s) of images

spatial_axes

image axes for spatial dimensions (x,y,z)

additional_axes

axes for dimensions > 3 (e.g. time, color band, direction)

Value

an instance of class MetaInfo

Slots

data_type

the data type code, e.g. FLOAT

dims

image dimensions

spatial_axes

image axes for spatial dimensions (x,y,z)

additional_axes

axes for dimensions > 3 (e.g. time, color band, direction)

spacing

voxel dimensions

origin

coordinate origin

label

name(s) of images