Function arrayfire::convolve2 [] [src]

pub fn convolve2(
    signal: &Array,
    filter: &Array,
    mode: ConvMode,
    domain: ConvDomain
) -> Array

2d convolution

Parameters

  • signal is the input signal
  • filter is the signal that shall be flipped for convolution operation
  • mode indicates if the convolution should be expanded or not(where output size equals input). It takes a value of type ConvMode
  • domain indicates if the convolution should be performed in frequencey or spatial domain. It takes a value of type ConvDomain

Return Values

Convolved Array