vnl_gaussian_kernel_1d Class Reference

#include <vnl_gaussian_kernel_1d.h>

List of all members.


Detailed Description

Holds one half of a discretely sampled 1D gaussian distribution.

vnl_gaussian_kernel_1d is a class that holds one half of a discretely sampled 1D gaussian distribution.

Definition at line 25 of file vnl_gaussian_kernel_1d.h.


Public Member Functions

 vnl_gaussian_kernel_1d (double sigma, double cutoff=0.5/256.0)
 Construct a sampled 1D gaussian of standard deviation sigma.
double G (double x) const
int width () const
double operator[] (int i) const

Protected Attributes

vnl_vector< double > vec_
double inscale_

Constructor & Destructor Documentation

vnl_gaussian_kernel_1d::vnl_gaussian_kernel_1d ( double  sigma,
double  cutoff = 0.5/256.0 
)

Construct a sampled 1D gaussian of standard deviation sigma.

The vector is normalized so that its sum is 0.5.

Definition at line 27 of file vnl_gaussian_kernel_1d.cxx.


Member Function Documentation

double vnl_gaussian_kernel_1d::G ( double  x  )  const

Definition at line 41 of file vnl_gaussian_kernel_1d.cxx.

int vnl_gaussian_kernel_1d::width (  )  const [inline]

Definition at line 33 of file vnl_gaussian_kernel_1d.h.

double vnl_gaussian_kernel_1d::operator[] ( int  i  )  const [inline]

Definition at line 34 of file vnl_gaussian_kernel_1d.h.


Member Data Documentation

vnl_vector<double> vnl_gaussian_kernel_1d::vec_ [protected]

Definition at line 38 of file vnl_gaussian_kernel_1d.h.

double vnl_gaussian_kernel_1d::inscale_ [protected]

Definition at line 39 of file vnl_gaussian_kernel_1d.h.


The documentation for this class was generated from the following files:
Generated on Sat Nov 22 05:06:27 2008 for core/vnl by  doxygen 1.5.1