go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
Data Structures | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions
itk::AdvancedLinearInterpolateImageFunction< TInputImage, TCoordRep > Class Template Reference

#include <itkAdvancedLinearInterpolateImageFunction.h>

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

Data Structures

struct  Dispatch
 
struct  DispatchBase
 

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef
Superclass::ContinuousIndexType 
ContinuousIndexType
 
typedef
ContinuousIndexType::ValueType 
ContinuousIndexValueType
 
typedef CovariantVector
< OutputType,
itkGetStaticConstMacro(ImageDimension) > 
CovariantVectorType
 
typedef Superclass::IndexType IndexType
 
typedef InputImageType::SpacingType InputImageSpacingType
 
typedef Superclass::InputImageType InputImageType
 
typedef Superclass::InputPixelType InputPixelType
 
typedef Superclass::OutputType OutputType
 
typedef SmartPointer< SelfPointer
 
typedef Superclass::RealType RealType
 
typedef
AdvancedLinearInterpolateImageFunction 
Self
 
typedef
LinearInterpolateImageFunction
< TInputImage, TCoordRep > 
Superclass
 

Public Member Functions

CovariantVectorType EvaluateDerivativeAtContinuousIndex (const ContinuousIndexType &x) const
 
void EvaluateValueAndDerivativeAtContinuousIndex (const ContinuousIndexType &x, OutputType &value, CovariantVectorType &deriv) const
 
virtual const char * GetClassName () const
 
 itkStaticConstMacro (ImageDimension, unsigned int, Superclass::ImageDimension)
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 AdvancedLinearInterpolateImageFunction ()
 
 ~AdvancedLinearInterpolateImageFunction ()
 

Private Member Functions

 AdvancedLinearInterpolateImageFunction (const Self &)
 
void EvaluateValueAndDerivativeOptimized (const Dispatch< 2 > &, const ContinuousIndexType &x, OutputType &value, CovariantVectorType &deriv) const
 
void EvaluateValueAndDerivativeOptimized (const Dispatch< 3 > &, const ContinuousIndexType &x, OutputType &value, CovariantVectorType &deriv) const
 
void EvaluateValueAndDerivativeOptimized (const DispatchBase &, const ContinuousIndexType &x, OutputType &value, CovariantVectorType &deriv) const
 
void EvaluateValueAndDerivativeUnOptimized (const ContinuousIndexType &x, OutputType &value, CovariantVectorType &deriv) const
 
void operator= (const Self &)
 

Detailed Description

template<class TInputImage, class TCoordRep = double>
class itk::AdvancedLinearInterpolateImageFunction< TInputImage, TCoordRep >

Linearly interpolate an image at specified positions.

AdvancedLinearInterpolateImageFunction 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.

This function works for images with scalar and vector pixel types, and for images of type VectorImage.

Unlike the LinearInterpolateImageFunction, which implements a constant boundary condition, this class implements a mirroring boundary condition, which mimics the BSplineInterpolateImageFunction.

See Also
VectorAdvancedLinearInterpolateImageFunction

{ImageProcessing/LinearInterpolateImageFunction,Linearly interpolate a position in an image}

Definition at line 52 of file itkAdvancedLinearInterpolateImageFunction.h.

Member Typedef Documentation

template<class TInputImage, class TCoordRep = double>
typedef SmartPointer< const Self > itk::AdvancedLinearInterpolateImageFunction< TInputImage, TCoordRep >::ConstPointer

Definition at line 61 of file itkAdvancedLinearInterpolateImageFunction.h.

template<class TInputImage, class TCoordRep = double>
typedef Superclass::ContinuousIndexType itk::AdvancedLinearInterpolateImageFunction< TInputImage, TCoordRep >::ContinuousIndexType

ContinuousIndex typedef support.

Definition at line 89 of file itkAdvancedLinearInterpolateImageFunction.h.

template<class TInputImage, class TCoordRep = double>
typedef ContinuousIndexType::ValueType itk::AdvancedLinearInterpolateImageFunction< TInputImage, TCoordRep >::ContinuousIndexValueType

Definition at line 90 of file itkAdvancedLinearInterpolateImageFunction.h.

template<class TInputImage, class TCoordRep = double>
typedef CovariantVector< OutputType, itkGetStaticConstMacro( ImageDimension ) > itk::AdvancedLinearInterpolateImageFunction< TInputImage, TCoordRep >::CovariantVectorType

Derivative typedef support

Definition at line 94 of file itkAdvancedLinearInterpolateImageFunction.h.

template<class TInputImage, class TCoordRep = double>
typedef Superclass::IndexType itk::AdvancedLinearInterpolateImageFunction< TInputImage, TCoordRep >::IndexType

Index typedef support.

Definition at line 86 of file itkAdvancedLinearInterpolateImageFunction.h.

template<class TInputImage, class TCoordRep = double>
typedef InputImageType::SpacingType itk::AdvancedLinearInterpolateImageFunction< TInputImage, TCoordRep >::InputImageSpacingType

Definition at line 74 of file itkAdvancedLinearInterpolateImageFunction.h.

template<class TInputImage, class TCoordRep = double>
typedef Superclass::InputImageType itk::AdvancedLinearInterpolateImageFunction< TInputImage, TCoordRep >::InputImageType

InputImageType typedef support.

Definition at line 73 of file itkAdvancedLinearInterpolateImageFunction.h.

template<class TInputImage, class TCoordRep = double>
typedef Superclass::InputPixelType itk::AdvancedLinearInterpolateImageFunction< TInputImage, TCoordRep >::InputPixelType

InputPixelType typedef support.

Definition at line 77 of file itkAdvancedLinearInterpolateImageFunction.h.

template<class TInputImage, class TCoordRep = double>
typedef Superclass::OutputType itk::AdvancedLinearInterpolateImageFunction< TInputImage, TCoordRep >::OutputType

OutputType typedef support.

Definition at line 67 of file itkAdvancedLinearInterpolateImageFunction.h.

template<class TInputImage, class TCoordRep = double>
typedef SmartPointer< Self > itk::AdvancedLinearInterpolateImageFunction< TInputImage, TCoordRep >::Pointer

Definition at line 60 of file itkAdvancedLinearInterpolateImageFunction.h.

template<class TInputImage, class TCoordRep = double>
typedef Superclass::RealType itk::AdvancedLinearInterpolateImageFunction< TInputImage, TCoordRep >::RealType

RealType typedef support.

Definition at line 80 of file itkAdvancedLinearInterpolateImageFunction.h.

template<class TInputImage, class TCoordRep = double>
typedef AdvancedLinearInterpolateImageFunction itk::AdvancedLinearInterpolateImageFunction< TInputImage, TCoordRep >::Self

Standard class typedefs.

Definition at line 58 of file itkAdvancedLinearInterpolateImageFunction.h.

template<class TInputImage, class TCoordRep = double>
typedef LinearInterpolateImageFunction< TInputImage, TCoordRep > itk::AdvancedLinearInterpolateImageFunction< TInputImage, TCoordRep >::Superclass

Definition at line 59 of file itkAdvancedLinearInterpolateImageFunction.h.

Constructor & Destructor Documentation

template<class TInputImage, class TCoordRep = double>
itk::AdvancedLinearInterpolateImageFunction< TInputImage, TCoordRep >::AdvancedLinearInterpolateImageFunction ( )
protected
template<class TInputImage, class TCoordRep = double>
itk::AdvancedLinearInterpolateImageFunction< TInputImage, TCoordRep >::~AdvancedLinearInterpolateImageFunction ( )
inlineprotected

Definition at line 114 of file itkAdvancedLinearInterpolateImageFunction.h.

template<class TInputImage, class TCoordRep = double>
itk::AdvancedLinearInterpolateImageFunction< TInputImage, TCoordRep >::AdvancedLinearInterpolateImageFunction ( const Self )
private

Member Function Documentation

template<class TInputImage, class TCoordRep = double>
CovariantVectorType itk::AdvancedLinearInterpolateImageFunction< TInputImage, TCoordRep >::EvaluateDerivativeAtContinuousIndex ( const ContinuousIndexType x) const

Method to compute the derivative.

template<class TInputImage, class TCoordRep = double>
void itk::AdvancedLinearInterpolateImageFunction< TInputImage, TCoordRep >::EvaluateValueAndDerivativeAtContinuousIndex ( const ContinuousIndexType x,
OutputType value,
CovariantVectorType deriv 
) const
inline

Method to compute both the value and the derivative.

Definition at line 101 of file itkAdvancedLinearInterpolateImageFunction.h.

template<class TInputImage, class TCoordRep = double>
void itk::AdvancedLinearInterpolateImageFunction< TInputImage, TCoordRep >::EvaluateValueAndDerivativeOptimized ( const Dispatch< 2 > &  ,
const ContinuousIndexType x,
OutputType value,
CovariantVectorType deriv 
) const
inlineprivate

Method to compute both the value and the derivative. 2D specialization.

template<class TInputImage, class TCoordRep = double>
void itk::AdvancedLinearInterpolateImageFunction< TInputImage, TCoordRep >::EvaluateValueAndDerivativeOptimized ( const Dispatch< 3 > &  ,
const ContinuousIndexType x,
OutputType value,
CovariantVectorType deriv 
) const
inlineprivate

Method to compute both the value and the derivative. 3D specialization.

template<class TInputImage, class TCoordRep = double>
void itk::AdvancedLinearInterpolateImageFunction< TInputImage, TCoordRep >::EvaluateValueAndDerivativeOptimized ( const DispatchBase &  ,
const ContinuousIndexType x,
OutputType value,
CovariantVectorType deriv 
) const
inlineprivate

Method to compute both the value and the derivative. Generic.

Definition at line 141 of file itkAdvancedLinearInterpolateImageFunction.h.

template<class TInputImage, class TCoordRep = double>
void itk::AdvancedLinearInterpolateImageFunction< TInputImage, TCoordRep >::EvaluateValueAndDerivativeUnOptimized ( const ContinuousIndexType x,
OutputType value,
CovariantVectorType deriv 
) const
inlineprivate

Method to compute both the value and the derivative. Generic.

Definition at line 152 of file itkAdvancedLinearInterpolateImageFunction.h.

template<class TInputImage, class TCoordRep = double>
virtual const char* itk::AdvancedLinearInterpolateImageFunction< TInputImage, TCoordRep >::GetClassName ( ) const
virtual

Run-time type information (and related methods).

Reimplemented in elastix::LinearInterpolator< TElastix >.

template<class TInputImage, class TCoordRep = double>
itk::AdvancedLinearInterpolateImageFunction< TInputImage, TCoordRep >::itkStaticConstMacro ( ImageDimension  ,
unsigned  int,
Superclass::ImageDimension   
)

Dimension underlying input image.

template<class TInputImage, class TCoordRep = double>
static Pointer itk::AdvancedLinearInterpolateImageFunction< TInputImage, TCoordRep >::New ( )
static

Method for creation through the object factory.

template<class TInputImage, class TCoordRep = double>
void itk::AdvancedLinearInterpolateImageFunction< TInputImage, TCoordRep >::operator= ( const Self )
private


Generated on 27-04-2014 for elastix by doxygen 1.8.6 elastix logo