npstat::ConvolutionEngine1D Class Reference
Detailed DescriptionClass for performing convolutions by FFT using FFTW library. Internally, transforms are calculated in double precision. Constructor & Destructor Documentation◆ ConvolutionEngine1D()
Constructor takes data length and FFTW optimization flag as parameters. Make sure the data length is sufficient to avoid the convolution wrap-around. Member Function Documentation◆ clearFilterBank()
Discard all filters deposited by "depositFilter" method ◆ convolveFilterAndDeposit()
template<typename Real2 >
Convolve the filter established by the "setFilter" method with a previously deposited filter ◆ convolveWithDeposit()
template<typename Real1 , typename Real2 >
Convolve provided data with one of the filters previously established by the depositFilter method. The "id" argument is used to identify a particular filter. The "shift" argument allows you to rotate the input data buffer so that the element with index "shift" becomes new element with index 0 (essentially, the buffer is rotated left by "shift" elements). ◆ convolveWithFilter()
template<typename Real1 , typename Real2 >
Convolve provided data with the filter previously established by setFilter. The "shift" argument allows you to rotate the input data buffer so that the element with index "shift" becomes new element with index 0 (essentially, the buffer is rotated left by "shift" elements). ◆ dataLength()
Expected data length ◆ deconvolveDeposit()
template<typename Real1 , typename Real2 >
Deconvolve the data with a previously deposited filter ◆ deconvolveFilter()
template<typename Real1 , typename Real2 >
Deconvolve the input using the previously established filter ◆ deconvolveFilterAndDeposit()
template<typename Real2 >
Deconvolve the filter established by the "setFilter" method with a previously deposited filter ◆ depositFilter()
template<typename Real >
Provide a filter for subsequent convolutions. The "shift" argument allows you to rotate the filter data buffer so that the element with index "shift" becomes new element with index 0 (essentially, the buffer is rotated left by "shift" elements). "id" is the user id for the filter which can be later reused with the method "convolveWithDeposit". ◆ depositFilterImage()
Provide a filter for subsequent convolutions using its Fourier space representation "id" is the user id for the filter which can be later reused with the method "convolveWithDeposit". ◆ discardFilter()
Discard a filter previously deposited by "depositFilter" method. This method returns "true" if the filter with the given id was indeed discarded and "false" if such a filter was not found. ◆ imageLength()
Expected image length ◆ setFilter()
template<typename Real >
Provide the filter for subsequent convolutions. The "shift" argument allows you to rotate the filter data buffer so that the element with index "shift" becomes new element with index 0 (essentially, the buffer is rotated left by "shift" elements). ◆ setFilterImage()
Provide the filter for subsequent convolutions using its Fourier space representation The documentation for this class was generated from the following file: Generated by 1.9.1 |