[][src]Trait ndarray_vision::processing::conv::ConvolutionExt

pub trait ConvolutionExt where
    Self: Sized
{ type Data; fn conv2d(&self, kernel: ArrayView3<Self::Data>) -> Result<Self, Error>;
fn conv2d_inplace(
        &mut self,
        kernel: ArrayView3<Self::Data>
    ) -> Result<(), Error>; }

Perform image convolutions

Associated Types

type Data

Underlying data type to perform the colution on

Loading content...

Required methods

fn conv2d(&self, kernel: ArrayView3<Self::Data>) -> Result<Self, Error>

Perform a convolution returning the resultant data

fn conv2d_inplace(
    &mut self,
    kernel: ArrayView3<Self::Data>
) -> Result<(), Error>

Performs the convolution inplace mutating the containers data

Loading content...

Implementations on Foreign Types

impl<T> ConvolutionExt for Array3<T> where
    T: Copy + Clone + Num + NumAssignOps
[src]

type Data = T

Loading content...

Implementors

impl<T, C> ConvolutionExt for Image<T, C> where
    T: Copy + Clone + Num + NumAssignOps,
    C: ColourModel
[src]

type Data = T

Loading content...