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

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

Nearest neighbor extrapolation of a scalar image. More...

#include <itkNearestNeighborExtrapolateImageFunction.h>

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

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

Collaboration graph
[legend]
List of all members.

Public Types

typedef NearestNeighborExtrapolateImageFunction Self
typedef ExtrapolateImageFunction<
TInputImage, TCoordRep > 
Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef Superclass::OutputType OutputType
typedef Superclass::InputImageType InputImageType
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
virtual OutputType EvaluateAtIndex (const IndexType &index) const

Static Public Member Functions

Pointer New ()

Protected Member Functions

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

Detailed Description

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

Nearest neighbor extrapolation of a scalar image.

NearestNeighborExtrapolateImageFunction extrapolate image intensity at a specified point, continuous index or index by copying the intensity of the nearest neighbor within the image buffer.

This class is templated over the input image type and the coordinate representation type (e.g. float or double).

Definition at line 39 of file itkNearestNeighborExtrapolateImageFunction.h.


Member Typedef Documentation

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

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

Definition at line 47 of file itkNearestNeighborExtrapolateImageFunction.h.

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

ContinuousIndex typedef support.

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

Definition at line 69 of file itkNearestNeighborExtrapolateImageFunction.h.

Referenced by itk::NearestNeighborExtrapolateImageFunction< TInputImage, TCoordRep >::EvaluateAtContinuousIndex().

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

Index typedef support.

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

Definition at line 66 of file itkNearestNeighborExtrapolateImageFunction.h.

Referenced by itk::NearestNeighborExtrapolateImageFunction< TInputImage, TCoordRep >::EvaluateAtContinuousIndex(), and itk::NearestNeighborExtrapolateImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex().

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

InputImageType typedef support.

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

Definition at line 60 of file itkNearestNeighborExtrapolateImageFunction.h.

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

OutputType typedef support.

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

Definition at line 57 of file itkNearestNeighborExtrapolateImageFunction.h.

Referenced by itk::NearestNeighborExtrapolateImageFunction< TInputImage, TCoordRep >::EvaluateAtContinuousIndex().

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

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

Definition at line 46 of file itkNearestNeighborExtrapolateImageFunction.h.

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

Standard class typedefs.

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

Definition at line 44 of file itkNearestNeighborExtrapolateImageFunction.h.

Referenced by itk::NearestNeighborExtrapolateImageFunction< TInputImage, TCoordRep >::PrintSelf().

template<class TInputImage, class TCoordRep = float>
typedef ExtrapolateImageFunction<TInputImage,TCoordRep> itk::NearestNeighborExtrapolateImageFunction< TInputImage, TCoordRep >::Superclass
 

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

Definition at line 45 of file itkNearestNeighborExtrapolateImageFunction.h.


Constructor & Destructor Documentation

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

Definition at line 135 of file itkNearestNeighborExtrapolateImageFunction.h.

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

Definition at line 136 of file itkNearestNeighborExtrapolateImageFunction.h.


Member Function Documentation

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

Evaluate the function at a ContinuousIndex position

Returns the extrapolated image intensity at a specified position by returning the intensity of the nearest neighbor within the image buffer.

Implements itk::ExtrapolateImageFunction< TInputImage, TCoordRep >.

Definition at line 78 of file itkNearestNeighborExtrapolateImageFunction.h.

References itk::NearestNeighborExtrapolateImageFunction< TInputImage, TCoordRep >::ContinuousIndexType, itk::NearestNeighborExtrapolateImageFunction< TInputImage, TCoordRep >::IndexType, and itk::NearestNeighborExtrapolateImageFunction< TInputImage, TCoordRep >::OutputType.

template<class TInputImage, class TCoordRep = float>
virtual OutputType itk::NearestNeighborExtrapolateImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex const IndexType index  )  const [inline, virtual]
 

Evaluate the function at a ContinuousIndex position

Returns the extrapolated image intensity at a specified position by returning the intensity of the nearest neighbor within the image buffer.

Implements itk::ExtrapolateImageFunction< TInputImage, TCoordRep >.

Definition at line 110 of file itkNearestNeighborExtrapolateImageFunction.h.

References itk::NearestNeighborExtrapolateImageFunction< TInputImage, TCoordRep >::IndexType.

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

Run-time type information (and related methods).

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

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

Dimension underlying input image.

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

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

Method for creation through the object factory.

Reimplemented from itk::Object.

template<class TInputImage, class TCoordRep = float>
void itk::NearestNeighborExtrapolateImageFunction< TInputImage, TCoordRep >::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::ExtrapolateImageFunction< TInputImage, TCoordRep >.

Definition at line 137 of file itkNearestNeighborExtrapolateImageFunction.h.

References itk::NearestNeighborExtrapolateImageFunction< TInputImage, TCoordRep >::Self.


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