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

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

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

#include <itkNearestNeighborInterpolateImageFunction.h>

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

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

Collaboration graph
[legend]
List of all members.

Public Types

typedef NearestNeighborInterpolateImageFunction Self
typedef InterpolateImageFunction<
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 * GetClassName () const
 itkStaticConstMacro (ImageDimension, unsigned int, Superclass::ImageDimension)
virtual OutputType EvaluateAtContinuousIndex (const ContinuousIndexType &index) const

Static Public Member Functions

Pointer New ()

Protected Member Functions

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

Detailed Description

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

Nearest neighbor interpolation of a scalar image.

NearestNeighborInterpolateImageFunction interpolates image intensity at a non-integer pixel position by copying the intensity for the nearest neighbor. This class is templated over the input image type and the coordinate representation type (e.g. float or double).

Definition at line 37 of file itkNearestNeighborInterpolateImageFunction.h.


Member Typedef Documentation

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

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

Definition at line 45 of file itkNearestNeighborInterpolateImageFunction.h.

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

ContinuousIndex typedef support.

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

Definition at line 67 of file itkNearestNeighborInterpolateImageFunction.h.

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

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

Index typedef support.

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

Definition at line 64 of file itkNearestNeighborInterpolateImageFunction.h.

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

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

InputImageType typedef support.

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

Definition at line 58 of file itkNearestNeighborInterpolateImageFunction.h.

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

OutputType typedef support.

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

Definition at line 55 of file itkNearestNeighborInterpolateImageFunction.h.

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

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

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

Definition at line 44 of file itkNearestNeighborInterpolateImageFunction.h.

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

Standard class typedefs.

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

Definition at line 42 of file itkNearestNeighborInterpolateImageFunction.h.

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

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

Definition at line 43 of file itkNearestNeighborInterpolateImageFunction.h.


Constructor & Destructor Documentation

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

Definition at line 87 of file itkNearestNeighborInterpolateImageFunction.h.

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

Definition at line 88 of file itkNearestNeighborInterpolateImageFunction.h.


Member Function Documentation

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

Evaluate the function at a ContinuousIndex position

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

Definition at line 77 of file itkNearestNeighborInterpolateImageFunction.h.

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

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

Run-time type information (and related methods).

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

template<class TInputImage, class TCoordRep = float>
itk::NearestNeighborInterpolateImageFunction< 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::NearestNeighborInterpolateImageFunction< TInputImage, TCoordRep >::New  )  [static]
 

Method for creation through the object factory.

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

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

Definition at line 89 of file itkNearestNeighborInterpolateImageFunction.h.

References HardConnectedComponentImageFilter::PrintSelf().


The documentation for this class was generated from the following file:
Generated at Sun Apr 1 03:10:49 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000