Computes the two-dimensional convolution through fft. More...
Static Public Member Functions | |
template < typename eT , typename Border = BorderMode > | |
static std::enable_if< std::is_same< Border, ValidConvolution >::value, void >::type | Convolution (const arma::Mat< eT > &input, const arma::Mat< eT > &filter, arma::Mat< eT > &output) |
template < typename eT , typename Border = BorderMode > | |
static std::enable_if< std::is_same< Border, FullConvolution >::value, void >::type | Convolution (const arma::Mat< eT > &input, const arma::Mat< eT > &filter, arma::Mat< eT > &output) |
template < typename eT > | |
static void | Convolution (const arma::Cube< eT > &input, const arma::Cube< eT > &filter, arma::Cube< eT > &output) |
template < typename eT > | |
static void | Convolution (const arma::Mat< eT > &input, const arma::Cube< eT > &filter, arma::Cube< eT > &output) |
template < typename eT > | |
static void | Convolution (const arma::Cube< eT > &input, const arma::Mat< eT > &filter, arma::Cube< eT > &output) |
Computes the two-dimensional convolution through fft.
This class allows specification of the type of the border type. The convolution can be computed with the valid border type or the full border type (default).
FullConvolution: returns the full two-dimensional convolution. ValidConvolution: returns only those parts of the convolution that are computed without the zero-padded edges.
BorderMode | Type of the border mode (FullConvolution or ValidConvolution). |
padLastDim | Pad the last dimension of the input to to turn it from odd to even. |
Definition at line 37 of file fft_convolution.hpp.
|
inlinestatic |
Definition at line 54 of file fft_convolution.hpp.
Referenced by SVDConvolution< BorderMode >::Convolution(), and FFTConvolution< BorderMode, padLastDim >::Convolution().
|
inlinestatic |
Definition at line 89 of file fft_convolution.hpp.
|
inlinestatic |
Definition at line 135 of file fft_convolution.hpp.
References FFTConvolution< BorderMode, padLastDim >::Convolution().
|
inlinestatic |
Definition at line 166 of file fft_convolution.hpp.
References FFTConvolution< BorderMode, padLastDim >::Convolution().
|
inlinestatic |
Definition at line 194 of file fft_convolution.hpp.
References FFTConvolution< BorderMode, padLastDim >::Convolution().