Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::VectorInterpolateImageFunction< TInputImage, TCoordRep, TPixelType > Class Template Reference
[Image Functions]

Base class for all vector image interpolaters. More...

#include <itkVectorInterpolateImageFunction.h>

Inheritance diagram for itk::VectorInterpolateImageFunction:

Inheritance graph
[legend]
Collaboration diagram for itk::VectorInterpolateImageFunction< TInputImage, TCoordRep, TPixelType >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef VectorInterpolateImageFunction Self
typedef ImageFunction< TInputImage,
Vector< double, itkGetStaticConstMacro(VectorDimension)>, TCoordRep 
Superclass )
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef Superclass::InputImageType InputImageType
typedef InputImageType::PixelType PixelType
typedef PixelType::ValueType ValueType
typedef NumericTraits< ValueType
>::RealType 
RealType
typedef Superclass::PointType PointType
typedef Superclass::IndexType IndexType
typedef Superclass::ContinuousIndexType ContinuousIndexType
typedef Superclass::OutputType OutputType
typedef TCoordRep CoordRepType

Public Methods

 itkStaticConstMacro (VectorDimension, unsigned int, TPixelType::VectorDimension)
 itkStaticConstMacro (ImageDimension, unsigned int, TInputImage::ImageDimension)
virtual const char * GetClassName () const
virtual OutputType EvaluateAtContinuousIndex (const ContinuousIndexType &index) const=0
virtual OutputType Evaluate (const PointType &point) const
virtual OutputType EvaluateAtIndex (const IndexType &index) const

Protected Methods

 VectorInterpolateImageFunction ()
 ~VectorInterpolateImageFunction ()
void PrintSelf (std::ostream &os, Indent indent) const

Detailed Description

template<class TInputImage, class TCoordRep = float, class TPixelType = typename TInputImage::PixelType>
class itk::VectorInterpolateImageFunction< TInputImage, TCoordRep, TPixelType >

Base class for all vector image interpolaters.

VectorInterpolateImageFunction is the base for all ImageFunctions that interpolates image with vector pixel types. This function outputs a return value of type Vector<double,VectorDimension>.

This class is templated input image type and the coordinate representation type.

Warning:
This heirarchy of functions work only for images with Vector-based pixel types. For scalar images use InterpolateImageFunction.
See also:
InterpolateImageFunction

Definition at line 61 of file itkVectorInterpolateImageFunction.h.


Member Typedef Documentation

template<class TInputImage, class TCoordRep = float, class TPixelType = typename TInputImage::PixelType>
typedef SmartPointer<const Self> itk::VectorInterpolateImageFunction< TInputImage, TCoordRep, TPixelType >::ConstPointer
 

Reimplemented from itk::ImageFunction< TInputImage, Vector< NumericTraits< TPixelType::ValueType >::RealType,::itk::GetVectorDimension< TPixelType >::VectorDimension >, TCoordRep >.

Reimplemented in itk::VectorLinearInterpolateImageFunction< TInputImage, TCoordRep >.

Definition at line 82 of file itkVectorInterpolateImageFunction.h.

template<class TInputImage, class TCoordRep = float, class TPixelType = typename TInputImage::PixelType>
typedef Superclass::ContinuousIndexType itk::VectorInterpolateImageFunction< TInputImage, TCoordRep, TPixelType >::ContinuousIndexType
 

ContinuousIndex typedef support.

Reimplemented from itk::ImageFunction< TInputImage, Vector< NumericTraits< TPixelType::ValueType >::RealType,::itk::GetVectorDimension< TPixelType >::VectorDimension >, TCoordRep >.

Reimplemented in itk::VectorLinearInterpolateImageFunction< TInputImage, TCoordRep >.

Definition at line 101 of file itkVectorInterpolateImageFunction.h.

template<class TInputImage, class TCoordRep = float, class TPixelType = typename TInputImage::PixelType>
typedef TCoordRep itk::VectorInterpolateImageFunction< TInputImage, TCoordRep, TPixelType >::CoordRepType
 

CoordRep typedef support.

Reimplemented from itk::ImageFunction< TInputImage, Vector< NumericTraits< TPixelType::ValueType >::RealType,::itk::GetVectorDimension< TPixelType >::VectorDimension >, TCoordRep >.

Definition at line 107 of file itkVectorInterpolateImageFunction.h.

template<class TInputImage, class TCoordRep = float, class TPixelType = typename TInputImage::PixelType>
typedef Superclass::IndexType itk::VectorInterpolateImageFunction< TInputImage, TCoordRep, TPixelType >::IndexType
 

Index typedef support.

Reimplemented from itk::ImageFunction< TInputImage, Vector< NumericTraits< TPixelType::ValueType >::RealType,::itk::GetVectorDimension< TPixelType >::VectorDimension >, TCoordRep >.

Reimplemented in itk::VectorLinearInterpolateImageFunction< TInputImage, TCoordRep >.

Definition at line 98 of file itkVectorInterpolateImageFunction.h.

template<class TInputImage, class TCoordRep = float, class TPixelType = typename TInputImage::PixelType>
typedef Superclass::InputImageType itk::VectorInterpolateImageFunction< TInputImage, TCoordRep, TPixelType >::InputImageType
 

InputImageType typedef support.

Reimplemented from itk::ImageFunction< TInputImage, Vector< NumericTraits< TPixelType::ValueType >::RealType,::itk::GetVectorDimension< TPixelType >::VectorDimension >, TCoordRep >.

Reimplemented in itk::VectorLinearInterpolateImageFunction< TInputImage, TCoordRep >.

Definition at line 88 of file itkVectorInterpolateImageFunction.h.

template<class TInputImage, class TCoordRep = float, class TPixelType = typename TInputImage::PixelType>
typedef Superclass::OutputType itk::VectorInterpolateImageFunction< TInputImage, TCoordRep, TPixelType >::OutputType
 

Output type is Vector<double,VectorDimension>.

Reimplemented from itk::ImageFunction< TInputImage, Vector< NumericTraits< TPixelType::ValueType >::RealType,::itk::GetVectorDimension< TPixelType >::VectorDimension >, TCoordRep >.

Reimplemented in itk::VectorLinearInterpolateImageFunction< TInputImage, TCoordRep >.

Definition at line 104 of file itkVectorInterpolateImageFunction.h.

template<class TInputImage, class TCoordRep = float, class TPixelType = typename TInputImage::PixelType>
typedef InputImageType::PixelType itk::VectorInterpolateImageFunction< TInputImage, TCoordRep, TPixelType >::PixelType
 

Reimplemented in itk::VectorLinearInterpolateImageFunction< TInputImage, TCoordRep >.

Definition at line 89 of file itkVectorInterpolateImageFunction.h.

template<class TInputImage, class TCoordRep = float, class TPixelType = typename TInputImage::PixelType>
typedef SmartPointer<Self> itk::VectorInterpolateImageFunction< TInputImage, TCoordRep, TPixelType >::Pointer
 

Reimplemented from itk::ImageFunction< TInputImage, Vector< NumericTraits< TPixelType::ValueType >::RealType,::itk::GetVectorDimension< TPixelType >::VectorDimension >, TCoordRep >.

Reimplemented in itk::VectorLinearInterpolateImageFunction< TInputImage, TCoordRep >.

Definition at line 81 of file itkVectorInterpolateImageFunction.h.

template<class TInputImage, class TCoordRep = float, class TPixelType = typename TInputImage::PixelType>
typedef Superclass::PointType itk::VectorInterpolateImageFunction< TInputImage, TCoordRep, TPixelType >::PointType
 

Point typedef support.

Reimplemented from itk::ImageFunction< TInputImage, Vector< NumericTraits< TPixelType::ValueType >::RealType,::itk::GetVectorDimension< TPixelType >::VectorDimension >, TCoordRep >.

Definition at line 95 of file itkVectorInterpolateImageFunction.h.

template<class TInputImage, class TCoordRep = float, class TPixelType = typename TInputImage::PixelType>
typedef NumericTraits<ValueType>::RealType itk::VectorInterpolateImageFunction< TInputImage, TCoordRep, TPixelType >::RealType
 

Reimplemented in itk::VectorLinearInterpolateImageFunction< TInputImage, TCoordRep >.

Definition at line 91 of file itkVectorInterpolateImageFunction.h.

template<class TInputImage, class TCoordRep = float, class TPixelType = typename TInputImage::PixelType>
typedef VectorInterpolateImageFunction itk::VectorInterpolateImageFunction< TInputImage, TCoordRep, TPixelType >::Self
 

Standard class typedefs.

Reimplemented from itk::ImageFunction< TInputImage, Vector< NumericTraits< TPixelType::ValueType >::RealType,::itk::GetVectorDimension< TPixelType >::VectorDimension >, TCoordRep >.

Reimplemented in itk::VectorLinearInterpolateImageFunction< TInputImage, TCoordRep >.

Definition at line 78 of file itkVectorInterpolateImageFunction.h.

template<class TInputImage, class TCoordRep = float, class TPixelType = typename TInputImage::PixelType>
typedef ImageFunction<TInputImage, Vector<double, itkGetStaticConstMacro(VectorDimension)>, TCoordRep itk::VectorInterpolateImageFunction< TInputImage, TCoordRep, TPixelType >::Superclass)
 

Reimplemented from itk::ImageFunction< TInputImage, Vector< NumericTraits< TPixelType::ValueType >::RealType,::itk::GetVectorDimension< TPixelType >::VectorDimension >, TCoordRep >.

Reimplemented in itk::VectorLinearInterpolateImageFunction< TInputImage, TCoordRep >.

Definition at line 80 of file itkVectorInterpolateImageFunction.h.

template<class TInputImage, class TCoordRep = float, class TPixelType = typename TInputImage::PixelType>
typedef PixelType::ValueType itk::VectorInterpolateImageFunction< TInputImage, TCoordRep, TPixelType >::ValueType
 

Reimplemented in itk::VectorLinearInterpolateImageFunction< TInputImage, TCoordRep >.

Definition at line 90 of file itkVectorInterpolateImageFunction.h.


Constructor & Destructor Documentation

template<class TInputImage, class TCoordRep = float, class TPixelType = typename TInputImage::PixelType>
itk::VectorInterpolateImageFunction< TInputImage, TCoordRep, TPixelType >::VectorInterpolateImageFunction   [inline, protected]
 

Definition at line 155 of file itkVectorInterpolateImageFunction.h.

template<class TInputImage, class TCoordRep = float, class TPixelType = typename TInputImage::PixelType>
itk::VectorInterpolateImageFunction< TInputImage, TCoordRep, TPixelType >::~VectorInterpolateImageFunction   [inline, protected]
 

Definition at line 156 of file itkVectorInterpolateImageFunction.h.


Member Function Documentation

template<class TInputImage, class TCoordRep = float, class TPixelType = typename TInputImage::PixelType>
virtual OutputType itk::VectorInterpolateImageFunction< TInputImage, TCoordRep, TPixelType >::Evaluate const PointType   point const [inline, virtual]
 

Returns the interpolated image intensity at a specified point position. No bounds checking is done. The point is assume to lie within the image buffer. ImageFunction::IsInsideBuffer() can be used to check bounds before calling the method.

Implements itk::ImageFunction< TInputImage, Vector< NumericTraits< TPixelType::ValueType >::RealType,::itk::GetVectorDimension< TPixelType >::VectorDimension >, TCoordRep >.

Definition at line 114 of file itkVectorInterpolateImageFunction.h.

template<class TInputImage, class TCoordRep = float, class TPixelType = typename TInputImage::PixelType>
virtual OutputType itk::VectorInterpolateImageFunction< TInputImage, TCoordRep, TPixelType >::EvaluateAtContinuousIndex const ContinuousIndexType   index const [pure virtual]
 

Interpolate the image at a continuous index position

Returns the interpolated image intensity at a specified index position. No bounds checking is done. The point is assume to lie within the image buffer.

Subclasses must override this method.

ImageFunction::IsInsideBuffer() can be used to check bounds before calling the method.

Implements itk::ImageFunction< TInputImage, Vector< NumericTraits< TPixelType::ValueType >::RealType,::itk::GetVectorDimension< TPixelType >::VectorDimension >, TCoordRep >.

Implemented in itk::VectorLinearInterpolateImageFunction< TInputImage, TCoordRep >.

template<class TInputImage, class TCoordRep = float, class TPixelType = typename TInputImage::PixelType>
virtual OutputType itk::VectorInterpolateImageFunction< TInputImage, TCoordRep, TPixelType >::EvaluateAtIndex const IndexType   index const [inline, virtual]
 

Interpolate the image at an index position. Simply returns the image value at the specified index position. No bounds checking is done. The point is assume to lie within the image buffer.

ImageFunction::IsInsideBuffer() can be used to check bounds before calling the method.

Implements itk::ImageFunction< TInputImage, Vector< NumericTraits< TPixelType::ValueType >::RealType,::itk::GetVectorDimension< TPixelType >::VectorDimension >, TCoordRep >.

Definition at line 142 of file itkVectorInterpolateImageFunction.h.

template<class TInputImage, class TCoordRep = float, class TPixelType = typename TInputImage::PixelType>
virtual const char* itk::VectorInterpolateImageFunction< TInputImage, TCoordRep, TPixelType >::GetClassName   const [virtual]
 

Run-time type information (and related methods).

Reimplemented from itk::ImageFunction< TInputImage, Vector< NumericTraits< TPixelType::ValueType >::RealType,::itk::GetVectorDimension< TPixelType >::VectorDimension >, TCoordRep >.

Reimplemented in itk::VectorLinearInterpolateImageFunction< TInputImage, TCoordRep >.

template<class TInputImage, class TCoordRep = float, class TPixelType = typename TInputImage::PixelType>
itk::VectorInterpolateImageFunction< TInputImage, TCoordRep, TPixelType >::itkStaticConstMacro ImageDimension   ,
unsigned    int,
TInputImage::ImageDimension   
 

Dimension underlying input image.

Reimplemented from itk::ImageFunction< TInputImage, Vector< NumericTraits< TPixelType::ValueType >::RealType,::itk::GetVectorDimension< TPixelType >::VectorDimension >, TCoordRep >.

template<class TInputImage, class TCoordRep = float, class TPixelType = typename TInputImage::PixelType>
itk::VectorInterpolateImageFunction< TInputImage, TCoordRep, TPixelType >::itkStaticConstMacro VectorDimension   ,
unsigned    int,
TPixelType::VectorDimension   
 

Extract the vector dimension from the pixel template parameter.

template<class TInputImage, class TCoordRep = float, class TPixelType = typename TInputImage::PixelType>
void itk::VectorInterpolateImageFunction< TInputImage, TCoordRep, TPixelType >::PrintSelf std::ostream &    os,
Indent    indent
const [inline, protected, virtual]
 

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from itk::ImageFunction< TInputImage, Vector< NumericTraits< TPixelType::ValueType >::RealType,::itk::GetVectorDimension< TPixelType >::VectorDimension >, TCoordRep >.

Reimplemented in itk::VectorLinearInterpolateImageFunction< TInputImage, TCoordRep >.

Definition at line 157 of file itkVectorInterpolateImageFunction.h.


The documentation for this class was generated from the following file:
Generated at Wed Mar 12 01:21:18 2003 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000