ndimage 0.1.1

A simple library for conversion between ndarray and image
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/// Convert a type into ndarray
pub trait IntoNdarray {
    type Output;
    fn into_ndarray(self) -> Self::Output;
}

/// Borrow a type into ndarray
pub trait RefNdarray {
    type Output;
    fn ref_ndarray(self) -> Self::Output;
}

/// Borrow a type into mutable ndarray
pub trait MutNdarray {
    type Output;
    fn mut_ndarray(self) -> Self::Output;
}