A Survey of Gaussian Convolution Algorithms
Data Structures | Typedefs | Functions
gaussian_conv_dct.h File Reference

Gaussian convolution via DCT. More...

Detailed Description

Gaussian convolution via DCT.

Author
Pascal Getreuer getre.nosp@m.uer@.nosp@m.cmla..nosp@m.ens-.nosp@m.cacha.nosp@m.n.fr

Copyright (c) 2012-2013, Pascal Getreuer All rights reserved.

This program is free software: you can redistribute it and/or modify it under, at your option, the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version, or the terms of the simplified BSD license.

You should have received a copy of these licenses along this program. If not, see http://www.gnu.org/licenses/ and http://www.opensource.org/licenses/bsd-license.html.

Definition in file gaussian_conv_dct.h.

#include <fftw3.h>
#include "num.h"

Go to the source code of this file.

Data Structures

struct  dct_coeffs_
 FFTW plans and coefficients for DCT-based Gaussian convolution. More...
 

Typedefs

typedef struct dct_coeffs_ dct_coeffs
 FFTW plans and coefficients for DCT-based Gaussian convolution.
 

Functions

int dct_precomp (dct_coeffs *c, num *dest, const num *src, long N, long stride, double sigma)
 DCT precomputations for Gaussian convolution. More...
 
int dct_precomp_image (dct_coeffs *c, num *dest, const num *src, int width, int height, int num_channels, double sigma)
 DCT precomputations for 2D Gaussian convolution. More...
 
void dct_free (dct_coeffs *c)
 Release FFTW plans associated with a dct_coeffs struct. More...
 
void dct_gaussian_conv (dct_coeffs c)
 Perform DCT-based Gaussian convolution. More...