Class template for kernel-based volume interpolators. More...
#include <cmtkImageInterpolator.h>
Public Types | |
typedef ImageInterpolator < TImageType, TInterpolationFunction > | Self |
This class type. | |
typedef TImageType | ImageType |
Image type. | |
typedef SmartPointer< Self > | SmartPtr |
Smart pointer to this class. | |
Public Member Functions | |
ImageInterpolator (const ImageType &image) | |
Constructor. | |
ImageType::PixelType | GetDataAt (const Vector3D &v) const |
Get data at location. | |
ImageType::PixelType | GetDataDirect (const int *imageGridPoint, const Types::Coordinate *insidePixel) const |
Class template for kernel-based volume interpolators.
This class is templated over the image type and the interpolation function, e.g., linear, cubic, or sinc.
Definition at line 60 of file cmtkImageInterpolator.h.
typedef TImageType cmtk::ImageInterpolator< TImageType, TInterpolationFunction >::ImageType |
Image type.
Definition at line 67 of file cmtkImageInterpolator.h.
typedef ImageInterpolator<TImageType,TInterpolationFunction> cmtk::ImageInterpolator< TImageType, TInterpolationFunction >::Self |
This class type.
Definition at line 64 of file cmtkImageInterpolator.h.
typedef SmartPointer<Self> cmtk::ImageInterpolator< TImageType, TInterpolationFunction >::SmartPtr |
Smart pointer to this class.
Definition at line 70 of file cmtkImageInterpolator.h.
cmtk::ImageInterpolator< TImageType, TInterpolationFunction >::ImageInterpolator | ( | const ImageType & | image ) | [inline] |
Constructor.
Definition at line 73 of file cmtkImageInterpolator.h.
ImageType::PixelType cmtk::ImageInterpolator< TImageType, TInterpolationFunction >::GetDataAt | ( | const Vector3D & | v ) | const |
Get data at location.
This function performs interpolation of one value from m_Volume at location v using the interpolation function given as the class template parameter.
This function should return true if a value can be interpolated from m_Volume at v, and it should return false if v is outside the range where a value can be interpolated (i.e., outside the volume boundaries).
ImageType::PixelType cmtk::ImageInterpolator< TImageType, TInterpolationFunction >::GetDataDirect | ( | const int * | imageGridPoint, |
const Types::Coordinate * | insidePixel | ||
) | const |