imaging::PolynomialInterpolationAdaptor< image_t > Class Template Reference
[Image Module]

Polynomial interpolation of image values at floating point coordinates. More...

#include <PolynomialInterpolationAdaptor.hpp>

Inheritance diagram for imaging::PolynomialInterpolationAdaptor< image_t >:

imaging::InterpolationAdaptorInterface< image_t >

List of all members.

Public Member Functions

 PolynomialInterpolationAdaptor (const image_t &image_reference)
InterpolationAdaptorInterface
< image_t >::data_t 
operator[] (const ublas::fixed_vector< float_t, InterpolationAdaptorInterface< image_t >::dimension > &index)
void gradient (const ublas::fixed_vector< float_t, InterpolationAdaptorInterface< image_t >::dimension > &index, ublas::fixed_vector< typename InterpolationAdaptorInterface< image_t >::data_t, InterpolationAdaptorInterface< image_t >::dimension > &value)


Detailed Description

template<class image_t>
class imaging::PolynomialInterpolationAdaptor< image_t >

Polynomial interpolation of image values at floating point coordinates.

This class provides a pixel accessor [] for real valued pixel coordinates via multilinear interpolation of the surrounding pixels. For planar images this mean bilinear interpolation and for volume data trilinear interpolation.


Constructor & Destructor Documentation

template<class image_t>
imaging::PolynomialInterpolationAdaptor< image_t >::PolynomialInterpolationAdaptor ( const image_t &  image_reference  )  [inline]

Constructs a PolynomialInterpolationAdaptor object from image_reference. The class image_t must implement ImageInterface.


Member Function Documentation

template<class image_t>
void imaging::PolynomialInterpolationAdaptor< image_t >::gradient ( const ublas::fixed_vector< float_t, InterpolationAdaptorInterface< image_t >::dimension > &  index,
ublas::fixed_vector< typename InterpolationAdaptorInterface< image_t >::data_t, InterpolationAdaptorInterface< image_t >::dimension > &  value 
) [inline]

Computes the gradient of the interpolation at the position index of the surrounding pixel values and stores it in value.

References imaging::InterpolationAdaptorInterface< image_t >::size().


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

Generated on Tue Feb 10 10:01:31 2009 for imaging2 by  doxygen 1.5.5