Public Member Functions | Protected Attributes
vnl_gaussian_kernel_1d Class Reference

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

#include <vnl_gaussian_kernel_1d.h>

List of all members.

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_

Detailed Description

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

Definition at line 22 of file vnl_gaussian_kernel_1d.h.


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.

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

Definition at line 31 of file vnl_gaussian_kernel_1d.h.

int vnl_gaussian_kernel_1d::width ( ) const [inline]

Definition at line 30 of file vnl_gaussian_kernel_1d.h.


Member Data Documentation

Definition at line 36 of file vnl_gaussian_kernel_1d.h.

Definition at line 35 of file vnl_gaussian_kernel_1d.h.


The documentation for this class was generated from the following files: