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

itk::LinearInterpolateImageFunction< TInputImage, TCoordRep > Class Template Reference
[Image FunctionsImage Interpolators]

Linearly interpolate an image at specified positions. More...

#include <itkLinearInterpolateImageFunction.h>

Inheritance diagram for itk::LinearInterpolateImageFunction< TInputImage, TCoordRep >:

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

Collaboration graph
[legend]
List of all members.

Public Types

typedef LinearInterpolateImageFunction Self
typedef InterpolateImageFunction<
TInputImage, TCoordRep > 
Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef Superclass::OutputType OutputType
typedef Superclass::InputImageType InputImageType
typedef Superclass::RealType RealType
typedef Superclass::IndexType IndexType
typedef Superclass::ContinuousIndexType ContinuousIndexType

Public Member Functions

virtual const char * GetNameOfClass () const
 itkStaticConstMacro (ImageDimension, unsigned int, Superclass::ImageDimension)
virtual OutputType EvaluateAtContinuousIndex (const ContinuousIndexType &index) const

Static Public Member Functions

Pointer New ()

Protected Member Functions

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

Detailed Description

template<class TInputImage, class TCoordRep = float>
class itk::LinearInterpolateImageFunction< TInputImage, TCoordRep >

Linearly interpolate an image at specified positions.

LinearInterpolateImageFunction linearly interpolates image intensity at a non-integer pixel position. This class is templated over the input image type and the coordinate representation type (e.g. float or double).

This function works for N-dimensional images.

Warning:
This function work only for images with scalar pixel types. For vector images use VectorLinearInterpolateImageFunction.
See also:
VectorLinearInterpolateImageFunction

Definition at line 43 of file itkLinearInterpolateImageFunction.h.


Member Typedef Documentation

template<class TInputImage, class TCoordRep = float>
typedef SmartPointer<const Self> itk::LinearInterpolateImageFunction< TInputImage, TCoordRep >::ConstPointer
 

Reimplemented from itk::InterpolateImageFunction< TInputImage, TCoordRep >.

Definition at line 51 of file itkLinearInterpolateImageFunction.h.

template<class TInputImage, class TCoordRep = float>
typedef Superclass::ContinuousIndexType itk::LinearInterpolateImageFunction< TInputImage, TCoordRep >::ContinuousIndexType
 

ContinuousIndex typedef support.

Reimplemented from itk::InterpolateImageFunction< TInputImage, TCoordRep >.

Definition at line 75 of file itkLinearInterpolateImageFunction.h.

template<class TInputImage, class TCoordRep = float>
typedef Superclass::IndexType itk::LinearInterpolateImageFunction< TInputImage, TCoordRep >::IndexType
 

Index typedef support.

Reimplemented from itk::InterpolateImageFunction< TInputImage, TCoordRep >.

Definition at line 72 of file itkLinearInterpolateImageFunction.h.

template<class TInputImage, class TCoordRep = float>
typedef Superclass::InputImageType itk::LinearInterpolateImageFunction< TInputImage, TCoordRep >::InputImageType
 

InputImageType typedef support.

Reimplemented from itk::InterpolateImageFunction< TInputImage, TCoordRep >.

Definition at line 63 of file itkLinearInterpolateImageFunction.h.

template<class TInputImage, class TCoordRep = float>
typedef Superclass::OutputType itk::LinearInterpolateImageFunction< TInputImage, TCoordRep >::OutputType
 

OutputType typedef support.

Reimplemented from itk::InterpolateImageFunction< TInputImage, TCoordRep >.

Definition at line 60 of file itkLinearInterpolateImageFunction.h.

template<class TInputImage, class TCoordRep = float>
typedef SmartPointer<Self> itk::LinearInterpolateImageFunction< TInputImage, TCoordRep >::Pointer
 

Reimplemented from itk::InterpolateImageFunction< TInputImage, TCoordRep >.

Definition at line 50 of file itkLinearInterpolateImageFunction.h.

template<class TInputImage, class TCoordRep = float>
typedef Superclass::RealType itk::LinearInterpolateImageFunction< TInputImage, TCoordRep >::RealType
 

RealType typedef support.

Reimplemented from itk::InterpolateImageFunction< TInputImage, TCoordRep >.

Definition at line 66 of file itkLinearInterpolateImageFunction.h.

template<class TInputImage, class TCoordRep = float>
typedef LinearInterpolateImageFunction itk::LinearInterpolateImageFunction< TInputImage, TCoordRep >::Self
 

Standard class typedefs.

Reimplemented from itk::InterpolateImageFunction< TInputImage, TCoordRep >.

Definition at line 48 of file itkLinearInterpolateImageFunction.h.

template<class TInputImage, class TCoordRep = float>
typedef InterpolateImageFunction<TInputImage,TCoordRep> itk::LinearInterpolateImageFunction< TInputImage, TCoordRep >::Superclass
 

Reimplemented from itk::InterpolateImageFunction< TInputImage, TCoordRep >.

Definition at line 49 of file itkLinearInterpolateImageFunction.h.


Constructor & Destructor Documentation

template<class TInputImage, class TCoordRep = float>
itk::LinearInterpolateImageFunction< TInputImage, TCoordRep >::LinearInterpolateImageFunction  )  [protected]
 

template<class TInputImage, class TCoordRep = float>
itk::LinearInterpolateImageFunction< TInputImage, TCoordRep >::~LinearInterpolateImageFunction  )  [inline, protected]
 

Definition at line 90 of file itkLinearInterpolateImageFunction.h.


Member Function Documentation

template<class TInputImage, class TCoordRep = float>
virtual OutputType itk::LinearInterpolateImageFunction< TInputImage, TCoordRep >::EvaluateAtContinuousIndex const ContinuousIndexType index  )  const [virtual]
 

Evaluate the function at a ContinuousIndex position

Returns the linearly 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::InterpolateImageFunction< TInputImage, TCoordRep >.

template<class TInputImage, class TCoordRep = float>
virtual const char* itk::LinearInterpolateImageFunction< TInputImage, TCoordRep >::GetNameOfClass  )  const [virtual]
 

Run-time type information (and related methods).

Reimplemented from itk::InterpolateImageFunction< TInputImage, TCoordRep >.

template<class TInputImage, class TCoordRep = float>
itk::LinearInterpolateImageFunction< TInputImage, TCoordRep >::itkStaticConstMacro ImageDimension  ,
unsigned  int,
Superclass::ImageDimension 
 

Dimension underlying input image.

Reimplemented from itk::InterpolateImageFunction< TInputImage, TCoordRep >.

template<class TInputImage, class TCoordRep = float>
Pointer itk::LinearInterpolateImageFunction< TInputImage, TCoordRep >::New  )  [static]
 

Method for creation through the object factory.

Reimplemented from itk::Object.

template<class TInputImage, class TCoordRep = float>
void itk::LinearInterpolateImageFunction< TInputImage, TCoordRep >::PrintSelf std::ostream &  os,
Indent  indent
const [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::InterpolateImageFunction< TInputImage, TCoordRep >.


The documentation for this class was generated from the following file:
Generated at Thu May 25 01:40:10 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000