Trait ToArray3

Source
pub trait ToArray3 {
    type Out;

    // Required method
    fn into_array3(self) -> Self::Out;
}
Expand description

Uses this trait to convert an image to an ndarray::Array3. Note that conversion must keep HxWxC order.

Required Associated Types§

Required Methods§

Source

fn into_array3(self) -> Self::Out

Implementations on Foreign Types§

Source§

impl<P> ToArray3 for ImageBuffer<P, Vec<P::Subpixel>>
where P: Pixel + 'static,

Implementors§