GaussianFilter Class Reference

2D discrete, symmetric gaussian filter (separable like most of the other filters, but we're not taking advantage of this to make the filter framework cleaner and more cohesive), centered at the origin More...

#include <GaussianFilter.h>

Inheritance diagram for GaussianFilter:

KernelFilter Filter< N, T > PropertyMap

List of all members.

Public Member Functions

Constructors
 GaussianFilter (real_t support=2, real_t sigma=1.0)
virtual ~GaussianFilter ()
Initialization
virtual void init ()
 Performs any initialization which may be necessary before filter evaluation.
Main usage interface
virtual real_t evaluate (const Vector2 &pt)
Accessors / Mutators
real_t getSigma () const

Protected Attributes

real_t m_sigma


Detailed Description

2D discrete, symmetric gaussian filter (separable like most of the other filters, but we're not taking advantage of this to make the filter framework cleaner and more cohesive), centered at the origin

Author:
Travis Fischer (fisch0920@gmail.com)

Matthew Jacobs (jacobs.mh@gmail.com)

Date:
Fall 2008

Definition at line 18 of file GaussianFilter.h.


Constructor & Destructor Documentation

GaussianFilter::GaussianFilter ( real_t  support = 2,
real_t  sigma = 1.0 
) [inline]

Definition at line 23 of file GaussianFilter.h.

virtual GaussianFilter::~GaussianFilter (  )  [inline, virtual]

Definition at line 27 of file GaussianFilter.h.


Member Function Documentation

void GaussianFilter::init (  )  [virtual]

Performs any initialization which may be necessary before filter evaluation.

Note:
Default implementation initializes the filter support based on its PropertyMap

Reimplemented from KernelFilter.

Definition at line 15 of file GaussianFilter.cpp.

real_t GaussianFilter::evaluate ( const Vector2 pt  )  [virtual]

Returns:
the value of this filter function evaluated at the given point

Implements KernelFilter.

Definition at line 21 of file GaussianFilter.cpp.

real_t GaussianFilter::getSigma (  )  const [inline]

Returns:
the sigma parameter of this gaussian distribution (standard deviation)

Definition at line 55 of file GaussianFilter.h.


Member Data Documentation

Definition at line 62 of file GaussianFilter.h.


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

Generated on 28 Feb 2009 for Milton by doxygen 1.5.6