MitchellFilter Class Reference

2D symmetric Mitchell filter which is parameterized to tradeoff between 'ringing' and 'blurring' that other filters tend towards in difficult reconstruction cases More...

#include <MitchellFilter.h>

Inheritance diagram for MitchellFilter:

KernelFilter Filter< N, T > PropertyMap

List of all members.

Public Member Functions

Constructors
 MitchellFilter (real_t support=2, real_t b=1.0/3.0, real_t c=1.0/3.0)
virtual ~MitchellFilter ()
Initialization
virtual void init ()
 Performs any initialization which may be necessary before filter evaluation.
Main usage interface
virtual real_t evaluate (const Vector2 &pt)

Protected Member Functions

real_t _evaluate (real_t x) const
 1D Mitchell filter

Protected Attributes

real_t m_B
real_t m_C


Detailed Description

2D symmetric Mitchell filter which is parameterized to tradeoff between 'ringing' and 'blurring' that other filters tend towards in difficult reconstruction cases

Author:
Travis Fischer (fisch0920@gmail.com)

Matthew Jacobs (jacobs.mh@gmail.com)

Date:
Fall 2008
Note:
Mitchell Filter taken from PBRT (Pharr, Humphreys) http://www.pbrt.org

Definition at line 22 of file MitchellFilter.h.


Constructor & Destructor Documentation

MitchellFilter::MitchellFilter ( real_t  support = 2,
real_t  b = 1.0 / 3.0,
real_t  c = 1.0 / 3.0 
) [inline]

Definition at line 27 of file MitchellFilter.h.

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

Definition at line 33 of file MitchellFilter.h.


Member Function Documentation

void MitchellFilter::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 19 of file MitchellFilter.cpp.

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

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

Implements KernelFilter.

Definition at line 26 of file MitchellFilter.cpp.

real_t MitchellFilter::_evaluate ( real_t  x  )  const [protected]

1D Mitchell filter

Definition at line 30 of file MitchellFilter.cpp.


Member Data Documentation

Definition at line 62 of file MitchellFilter.h.

Definition at line 63 of file MitchellFilter.h.


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

Generated on 28 Feb 2009 for Milton by doxygen 1.5.6