Functions
contrib/tbl/vepl1/vepl1_gaussian_convolution.h File Reference

gaussian smoothing More...

#include <vil1/vil1_image.h>

Go to the source code of this file.

Functions

vil1_image vepl1_gaussian_convolution (vil1_image const &, double sigma=1, double cutoff=0.01)
 gaussian smoothing with given sigma (default 1).

Detailed Description

gaussian smoothing

Gaussian filtering is an operation that replaces a pixel with the average value of its surrounding pixels, in a certain neighbourhood, according to a Gaussian distribution (with given sigma= std deviation). (The window is cut when `cutoff' (default: 0.01) of the probability mass lies out of the window.)

Note that DataIn values must allow addition and multiplication with floats; and that the result be expressible as DataOut, possibly after rounding. Probably only float and double make sense as DataOut (?)

As this is a separable filter, it is implemented as a row-based 1-D filter followed by a column-based 1-D step.

Author:
Peter Vanroose, K.U.Leuven (ESAT/PSI)
Date:
28 April 2001

Definition in file vepl1_gaussian_convolution.h.


Function Documentation

vil1_image vepl1_gaussian_convolution ( vil1_image const &  ,
double  sigma = 1,
double  cutoff = 0.01 
)

gaussian smoothing with given sigma (default 1).

Definition at line 10 of file vepl1_gaussian_convolution.cxx.