A Survey of Gaussian Convolution Algorithms
Functions
gaussian_conv_ebox.c File Reference

Gaussian convolution with extended box filters. More...

Detailed Description

Gaussian convolution with extended box filters.

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_ebox.c.

#include "gaussian_conv_ebox.h"
#include <assert.h>
#include <math.h>
#include <string.h>
#include "filter_util.h"

Go to the source code of this file.

Functions

void ebox_precomp (ebox_coeffs *c, double sigma, int K)
 Precompute coefficients for extended box filtering. More...
 
static void ebox_filter (num *dest, long dest_stride, const num *src, long src_stride, long N, long r, num c_1, num c_2)
 Perform one pass of extended box filtering. More...
 
void ebox_gaussian_conv (ebox_coeffs c, num *dest_data, num *buffer_data, const num *src, long N, long stride)
 Extended box filtering approximation of Gaussian convolution. More...
 
void ebox_gaussian_conv_image (ebox_coeffs c, num *dest, num *buffer, const num *src, int width, int height, int num_channels)
 Extended box filtering approximation of 2D Gaussian convolution. More...