[][src]Module nifti::volume

This module defines the voxel volume API, as well as data types for reading volumes from files. An integration with ndarray allows for more elegant and efficient approaches, and should be preferred when possible. In order to do so, you must add the ndarray_volumes feature to this crate.

Re-exports

pub use self::inmem::*;
pub use self::streamed::StreamedNiftiVolume;

Modules

element

This module defines the data element API, which enables NIfTI volume API implementations to read, write and convert data elements.

inmem

Module holding an in-memory implementation of a NIfTI volume.

ndarray

Interfaces and implementations specific to integration with ndarray.

shape

Shape and N-dimensional index constructs.

streamed

Streamed interface of a NIfTI volume and implementation.

Structs

SliceView

A view over a single slice of another volume. Slices are usually created by calling the get_slice method on another volume with random access to voxels (see Sliceable). This implementation is generic and delegates most operations to the underlying volume.

Traits

FromSource

Interface for constructing a volume instance from the given data source.

FromSourceOptions

Interface for specifying the type for the set of options that are relevent for constructing a volume instance from a data source. The separation between this type and FromSource is important because the options are invariant with respect to the reader type R.

NiftiVolume

Public API for a NIFTI volume.

RandomAccessNiftiVolume

Public API for a NIFTI volume with full random access to data.

Sliceable

Interface for a volume that can be sliced at an arbitrary position.