LTI-Lib latest version v1.9 - last update 10 Apr 2010

lti::interpolator Class Reference

This abstract class parents all interpolation functors. More...

#include <ltiInterpolator.h>

Inheritance diagram for lti::interpolator:
Inheritance graph
[legend]
Collaboration diagram for lti::interpolator:
Collaboration graph
[legend]

List of all members.

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
interpolatorcopy (const interpolator &other)
interpolatoroperator= (const interpolator &other)
virtual functorclone () const =0
const parametersgetParameters () const
bool setBoundaryType (const eBoundaryType &boundType)

Detailed Description

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.


Constructor & Destructor Documentation

lti::interpolator::interpolator (  ) 

default constructor

lti::interpolator::interpolator ( const interpolator other  ) 

copy constructor

Parameters:
other the object to be copied
virtual lti::interpolator::~interpolator (  )  [virtual]

destructor


Member Function Documentation

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  ) 
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

Parameters:
other the functor to be copied
Returns:
a reference to this functor object

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.

Returns:
true, if the boundary could be set, or false if no parameters have been set yet.

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

Generated on Sat Apr 10 15:28:26 2010 for LTI-Lib by Doxygen 1.6.1