[−][src]Trait ndarray_vision::processing::conv::ConvolutionExt
Perform image convolutions
Associated Types
type Data
Underlying data type to perform the colution on
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>
&mut self,
kernel: ArrayView3<Self::Data>
) -> Result<(), Error>
Performs the convolution inplace mutating the containers data
Implementations on Foreign Types
impl<T> ConvolutionExt for Array3<T> where
T: Copy + Clone + Num + NumAssignOps,
[src]
T: Copy + Clone + Num + NumAssignOps,
type Data = T
fn conv2d(&self, kernel: ArrayView3<Self::Data>) -> Result<Self, Error>
[src]
fn conv2d_inplace(
&mut self,
kernel: ArrayView3<Self::Data>
) -> Result<(), Error>
[src]
&mut self,
kernel: ArrayView3<Self::Data>
) -> Result<(), Error>
Implementors
impl<T, C> ConvolutionExt for Image<T, C> where
T: Copy + Clone + Num + NumAssignOps,
C: ColourModel,
[src]
T: Copy + Clone + Num + NumAssignOps,
C: ColourModel,
type Data = T
fn conv2d(&self, kernel: ArrayView3<Self::Data>) -> Result<Self, Error>
[src]
fn conv2d_inplace(
&mut self,
kernel: ArrayView3<Self::Data>
) -> Result<(), Error>
[src]
&mut self,
kernel: ArrayView3<Self::Data>
) -> Result<(), Error>