Public Types | Public Member Functions

cmtk::ImageInterpolator< TImageType, TInterpolationFunction > Class Template Reference
[cmtkBase Library]

Class template for kernel-based volume interpolators. More...

#include <cmtkImageInterpolator.h>

List of all members.

Public Types

typedef ImageInterpolator
< TImageType,
TInterpolationFunction > 
Self
 This class type.
typedef TImageType ImageType
 Image type.
typedef SmartPointer< SelfSmartPtr
 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

Detailed Description

template<class TImageType, class TInterpolationFunction>
class cmtk::ImageInterpolator< TImageType, TInterpolationFunction >

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.

See also:
LinearInterpolator
CubicInterpolator
SincInterpolator
NearestNeighborInterpolator

Definition at line 60 of file cmtkImageInterpolator.h.


Member Typedef Documentation

template<class TImageType , class TInterpolationFunction >
typedef TImageType cmtk::ImageInterpolator< TImageType, TInterpolationFunction >::ImageType

Image type.

Definition at line 67 of file cmtkImageInterpolator.h.

template<class TImageType , class TInterpolationFunction >
typedef ImageInterpolator<TImageType,TInterpolationFunction> cmtk::ImageInterpolator< TImageType, TInterpolationFunction >::Self

This class type.

Definition at line 64 of file cmtkImageInterpolator.h.

template<class TImageType , class TInterpolationFunction >
typedef SmartPointer<Self> cmtk::ImageInterpolator< TImageType, TInterpolationFunction >::SmartPtr

Smart pointer to this class.

Definition at line 70 of file cmtkImageInterpolator.h.


Constructor & Destructor Documentation

template<class TImageType , class TInterpolationFunction >
cmtk::ImageInterpolator< TImageType, TInterpolationFunction >::ImageInterpolator ( const ImageType image ) [inline]

Constructor.

Definition at line 73 of file cmtkImageInterpolator.h.


Member Function Documentation

template<class TImageType , class TInterpolationFunction >
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).

template<class TImageType , class TInterpolationFunction >
ImageType::PixelType cmtk::ImageInterpolator< TImageType, TInterpolationFunction >::GetDataDirect ( const int *  imageGridPoint,
const Types::Coordinate insidePixel 
) const

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines