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

Deriche's approximation of Gaussian convolution. More...

Detailed Description

Deriche's approximation of Gaussian convolution.

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

Definition in file gaussian_conv_deriche.h.

#include "num.h"

Go to the source code of this file.

Data Structures

struct  deriche_coeffs
 Coefficients for Deriche Gaussian approximation. More...
 

Macros

#define DERICHE_MIN_K   2
 Minimum Deriche filter order.
 
#define DERICHE_MAX_K   4
 Maximum Deriche filter order.
 
#define DERICHE_VALID_K(K)   (DERICHE_MIN_K <= (K) && (K) <= DERICHE_MAX_K)
 Test whether a given K value is a valid Deriche filter order.
 

Typedefs

typedef struct deriche_coeffs deriche_coeffs
 Coefficients for Deriche Gaussian approximation. More...
 

Functions

void deriche_precomp (deriche_coeffs *c, double sigma, int K, num tol)
 Precompute coefficients for Deriche's Gaussian approximation. More...
 
void deriche_gaussian_conv (deriche_coeffs c, num *dest, num *buffer, const num *src, long N, long stride)
 Deriche Gaussian convolution. More...
 
void deriche_gaussian_conv_image (deriche_coeffs c, num *dest, num *buffer, const num *src, int width, int height, int num_channels)
 Deriche Gaussian 2D convolution. More...