Volume3D creation#

volume(values[, affine, orient, rotation, ...])

Create a new volume from an array of values

zeros(shape[, affine, orient, spacing, pos])

Return a new volume of given shape and affine, filled with zeros.

zeros_like(v)

Return a new volume with same shape and affine as v, filled with zeros.

full(shape, fill_value[, affine, orient, ...])

Return a new volume of given shape and affine, filled with fill_value.

full_like(v, fill_value)

Return a new volume with same shape and affine as v, filled with fill_value.