Function ndarray_ndimage::pad [−][src]
pub fn pad<S, A>(
data: &ArrayBase<S, Ix3>,
pad_width: (usize, usize, usize),
mode: PadMode
) -> Array3<A> where
S: Data<Elem = A>,
A: Zero + Clone + Copy, Expand description
Pad an image.
data- A 3D view to the data to pad.pad_width- Number of values padded to the edges of each axis.mode- Method that will be used to select the padded values. See thePadModeenum for more information.