LanczosSincFilter Class Reference
2D symmetric Lanczos filter whose aim is to approximate a truncated sinc (the ideal reconstruction filter) while minimizing the amount of visible ringing resulting from the truncation More...
#include <LanczosSincFilter.h>
Inheritance diagram for LanczosSincFilter:

Public Member Functions | |
Constructors | |
| LanczosSincFilter (real_t support=2, real_t tau=3.0) | |
| virtual | ~LanczosSincFilter () |
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 LanczosSinc filter | |
Protected Attributes | |
| real_t | m_tau |
Detailed Description
2D symmetric Lanczos filter whose aim is to approximate a truncated sinc (the ideal reconstruction filter) while minimizing the amount of visible ringing resulting from the truncation
- Date:
- Fall 2008
- Note:
- LanczosSinc Filter taken from PBRT (Pharr, Humphreys) http://www.pbrt.org
Definition at line 22 of file LanczosSincFilter.h.
Constructor & Destructor Documentation
Definition at line 27 of file LanczosSincFilter.h.
| virtual LanczosSincFilter::~LanczosSincFilter | ( | ) | [inline, virtual] |
Definition at line 31 of file LanczosSincFilter.h.
Member Function Documentation
| void LanczosSincFilter::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 LanczosSincFilter.cpp.
- Returns:
- the value of this filter function evaluated at the given point
Implements KernelFilter.
Definition at line 25 of file LanczosSincFilter.cpp.
Member Data Documentation
real_t LanczosSincFilter::m_tau [protected] |
Definition at line 60 of file LanczosSincFilter.h.
The documentation for this class was generated from the following files:
Generated on 28 Feb 2009 for Milton by
1.5.6