A Survey of Gaussian Convolution Algorithms
|
Gaussian convolution via DCT. More...
Gaussian convolution via DCT.
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.c.
#include "gaussian_conv_dct.h"
#include <assert.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
Go to the source code of this file.
Macros | |
#define | M_PI 3.14159265358979323846264338327950288 |
The constant pi. | |
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_gaussian_conv (dct_coeffs c) |
Perform DCT-based Gaussian convolution. More... | |
void | dct_free (dct_coeffs *c) |
Release FFTW plans associated with a dct_coeffs struct. More... | |