latest version v1.9 - last update 10 Apr 2010 |
This abstract class parents all interpolation functors. More...
#include <ltiInterpolator.h>
Classes | |
class | parameters |
the parameters for the class interpolator More... | |
Public Member Functions | |
interpolator () | |
interpolator (const interpolator &other) | |
virtual | ~interpolator () |
virtual const char * | getTypeName () const |
interpolator & | copy (const interpolator &other) |
interpolator & | operator= (const interpolator &other) |
virtual functor * | clone () const =0 |
const parameters & | getParameters () const |
bool | setBoundaryType (const eBoundaryType &boundType) |
This abstract class parents all interpolation functors.
In interpolation a set of point, a tabulated function, is given. These points are often called samples. The goal is to find function values between the given data.
There are many different interpolation schemes depending on the application. The samples can be equally or variably spaced. The former occurs mainly in images but can be useful for other data as well (see equallySpacedSamplesInterpolator). The latter is most often met in the interpolation of graphs (1D functions in an n-dimensional space). See also variablySpacedSamplesInterpolation.
lti::interpolator::interpolator | ( | ) |
default constructor
lti::interpolator::interpolator | ( | const interpolator & | other | ) |
copy constructor
other | the object to be copied |
virtual lti::interpolator::~interpolator | ( | ) | [virtual] |
destructor
virtual functor* lti::interpolator::clone | ( | ) | const [pure virtual] |
returns a pointer to a clone of this functor.
Implements lti::functor.
Implemented in lti::bicubicInterpolator< T >, lti::bilinearInterpolator< T >, lti::biquadraticInterpolator< T >, lti::genericInterpolator< T >, lti::nearestNeighborInterpolator< T >, lti::cubicSpline< T >, lti::equallySpacedSamplesInterpolator, lti::scalarValuedInterpolation< T >, lti::variablySpacedSamplesInterpolator, lti::bilinearInterpolator< value_type >, lti::bilinearInterpolator< double >, lti::bilinearInterpolator< float >, lti::bilinearInterpolator< int >, lti::bilinearInterpolator< rgbPixel >, lti::bilinearInterpolator< ubyte >, lti::biquadraticInterpolator< value_type >, lti::biquadraticInterpolator< double >, lti::biquadraticInterpolator< float >, lti::biquadraticInterpolator< int >, lti::biquadraticInterpolator< rgbPixel >, lti::biquadraticInterpolator< ubyte >, lti::genericInterpolator< double >, lti::genericInterpolator< float >, lti::genericInterpolator< int >, lti::genericInterpolator< rgbPixel >, lti::genericInterpolator< ubyte >, lti::nearestNeighborInterpolator< value_type >, lti::nearestNeighborInterpolator< double >, lti::nearestNeighborInterpolator< float >, lti::nearestNeighborInterpolator< int >, lti::nearestNeighborInterpolator< rgbPixel >, lti::nearestNeighborInterpolator< ubyte >, lti::scalarValuedInterpolation< value_type >, lti::scalarValuedInterpolation< double >, lti::scalarValuedInterpolation< float >, lti::scalarValuedInterpolation< int >, lti::scalarValuedInterpolation< rgbPixel >, and lti::scalarValuedInterpolation< ubyte >.
interpolator& lti::interpolator::copy | ( | const interpolator & | other | ) |
copy data of "other" functor.
other | the functor to be copied |
Reimplemented from lti::functor.
Reimplemented in lti::bicubicInterpolator< T >, lti::bilinearInterpolator< T >, lti::biquadraticInterpolator< T >, lti::genericInterpolator< T >, lti::nearestNeighborInterpolator< T >, lti::cubicSpline< T >, lti::equallySpacedSamplesInterpolator, lti::scalarValuedInterpolation< T >, and lti::variablySpacedSamplesInterpolator.
const parameters& lti::interpolator::getParameters | ( | ) | const |
returns used parameters
Reimplemented from lti::functor.
Reimplemented in lti::bilinearInterpolator< T >, lti::biquadraticInterpolator< T >, lti::genericInterpolator< T >, lti::nearestNeighborInterpolator< T >, lti::cubicSpline< T >, lti::equallySpacedSamplesInterpolator, lti::scalarValuedInterpolation< T >, lti::variablySpacedSamplesInterpolator, lti::bilinearInterpolator< value_type >, lti::bilinearInterpolator< double >, lti::bilinearInterpolator< float >, lti::bilinearInterpolator< int >, lti::bilinearInterpolator< rgbPixel >, lti::bilinearInterpolator< ubyte >, lti::biquadraticInterpolator< value_type >, lti::biquadraticInterpolator< double >, lti::biquadraticInterpolator< float >, lti::biquadraticInterpolator< int >, lti::biquadraticInterpolator< rgbPixel >, lti::biquadraticInterpolator< ubyte >, lti::genericInterpolator< double >, lti::genericInterpolator< float >, lti::genericInterpolator< int >, lti::genericInterpolator< rgbPixel >, lti::genericInterpolator< ubyte >, lti::nearestNeighborInterpolator< value_type >, lti::nearestNeighborInterpolator< double >, lti::nearestNeighborInterpolator< float >, lti::nearestNeighborInterpolator< int >, lti::nearestNeighborInterpolator< rgbPixel >, lti::nearestNeighborInterpolator< ubyte >, lti::scalarValuedInterpolation< value_type >, lti::scalarValuedInterpolation< double >, lti::scalarValuedInterpolation< float >, lti::scalarValuedInterpolation< int >, lti::scalarValuedInterpolation< rgbPixel >, and lti::scalarValuedInterpolation< ubyte >.
virtual const char* lti::interpolator::getTypeName | ( | ) | const [virtual] |
returns the name of this type ("interpolator")
Reimplemented from lti::functor.
Reimplemented in lti::bicubicInterpolator< T >, lti::bilinearInterpolator< T >, lti::biquadraticInterpolator< T >, lti::genericInterpolator< T >, lti::nearestNeighborInterpolator< T >, lti::cubicSpline< T >, lti::equallySpacedSamplesInterpolator, lti::scalarValuedInterpolation< T >, lti::variablySpacedSamplesInterpolator, lti::bilinearInterpolator< value_type >, lti::bilinearInterpolator< double >, lti::bilinearInterpolator< float >, lti::bilinearInterpolator< int >, lti::bilinearInterpolator< rgbPixel >, lti::bilinearInterpolator< ubyte >, lti::biquadraticInterpolator< value_type >, lti::biquadraticInterpolator< double >, lti::biquadraticInterpolator< float >, lti::biquadraticInterpolator< int >, lti::biquadraticInterpolator< rgbPixel >, lti::biquadraticInterpolator< ubyte >, lti::genericInterpolator< double >, lti::genericInterpolator< float >, lti::genericInterpolator< int >, lti::genericInterpolator< rgbPixel >, lti::genericInterpolator< ubyte >, lti::nearestNeighborInterpolator< value_type >, lti::nearestNeighborInterpolator< double >, lti::nearestNeighborInterpolator< float >, lti::nearestNeighborInterpolator< int >, lti::nearestNeighborInterpolator< rgbPixel >, lti::nearestNeighborInterpolator< ubyte >, lti::scalarValuedInterpolation< value_type >, lti::scalarValuedInterpolation< double >, lti::scalarValuedInterpolation< float >, lti::scalarValuedInterpolation< int >, lti::scalarValuedInterpolation< rgbPixel >, and lti::scalarValuedInterpolation< ubyte >.
interpolator& lti::interpolator::operator= | ( | const interpolator & | other | ) |
alias for copy member
other | the functor to be copied |
Reimplemented from lti::functor.
Reimplemented in lti::bicubicInterpolator< T >, lti::equallySpacedSamplesInterpolator, and lti::variablySpacedSamplesInterpolator.
bool lti::interpolator::setBoundaryType | ( | const eBoundaryType & | boundType | ) |
Shortcut to set the boundaryType parameter at once.