A Survey of Gaussian Convolution Algorithms
Data Structures | Functions
strategy_gaussian_conv.c File Reference

Suite of different 1D Gaussian convolution methods. More...

Detailed Description

Suite of different 1D Gaussian convolution methods.

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

Copyright (c) 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 with this program. If not, see http://www.gnu.org/licenses/ and http://www.opensource.org/licenses/bsd-license.html.

Definition in file strategy_gaussian_conv.c.

#include "strategy_gaussian_conv.h"
#include <stdlib.h>
#include <string.h>
#include "gaussian_conv_fir.h"
#include "gaussian_conv_dct.h"
#include "gaussian_conv_box.h"
#include "gaussian_conv_ebox.h"
#include "gaussian_conv_sii.h"
#include "gaussian_conv_am.h"
#include "gaussian_conv_deriche.h"
#include "gaussian_conv_vyv.h"

Go to the source code of this file.

Data Structures

struct  gconv_
 

Functions

gconvgconv_plan (num *dest, const num *src, long N, long stride, const char *algo, double sigma, int K, num tol)
 Plan a 1D Gaussian convolution. More...
 
void gconv_execute (gconv *g)
 Execute a 1D Gaussian convolution. More...
 
void gconv_free (gconv *g)
 Free memory associated with a gconv. More...
 

Function Documentation

void gconv_execute ( gconv g)

Execute a 1D Gaussian convolution.

Parameters
ggconv* created by gconv_plan()

Definition at line 125 of file strategy_gaussian_conv.c.

void gconv_free ( gconv g)

Free memory associated with a gconv.

Parameters
ggconv* created by gconv_plan()

Definition at line 134 of file strategy_gaussian_conv.c.

gconv* gconv_plan ( num dest,
const num src,
long  N,
long  stride,
const char *  algo,
double  sigma,
int  K,
num  tol 
)

Plan a 1D Gaussian convolution.

Parameters
destdestination array
srcsource array
Nnumber of samples
stridestride between successive samples
algoGaussian convolution algorithm
sigmaGaussian standard deviation
Kalgorithm steps or filter order parameter
tolalgorithm accuracy parameter
Returns
gconv pointer or NULL on failure

Definition at line 72 of file strategy_gaussian_conv.c.