#include <PolynomialInterpolationAdaptor.hpp>
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) |
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.
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.
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().