[][src]Trait nifti::volume::ndarray::IntoNdArray

pub trait IntoNdArray {
    pub fn into_ndarray<T>(self) -> Result<Array<T, IxDyn>>
    where
        T: DataElement
; }

Trait for volumes which can be converted to an ndarray.

Please see the module-level documentation for more details.

Required methods

pub fn into_ndarray<T>(self) -> Result<Array<T, IxDyn>> where
    T: DataElement
[src]

Consume the volume into an ndarray with the same number of dimensions and the given target element type T.

Loading content...

Implementors

impl IntoNdArray for InMemNiftiVolume[src]

pub fn into_ndarray<T>(self) -> Result<Array<T, IxDyn>> where
    T: DataElement
[src]

Consume the volume into an ndarray.

impl<'a> IntoNdArray for &'a InMemNiftiVolume[src]

pub fn into_ndarray<T>(self) -> Result<Array<T, IxDyn>> where
    T: DataElement
[src]

Create an ndarray from the given volume.

impl<V> IntoNdArray for SliceView<V> where
    V: NiftiVolume + IntoNdArray
[src]

Loading content...