go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itk::BSplineInterpolationSecondOrderDerivativeWeightFunction< TCoordRep, VSpaceDimension, VSplineOrder > Class Template Reference

#include <itkBSplineInterpolationSecondOrderDerivativeWeightFunction.h>

Detailed Description

template<class TCoordRep = float, unsigned int VSpaceDimension = 2, unsigned int VSplineOrder = 3>
class itk::BSplineInterpolationSecondOrderDerivativeWeightFunction< TCoordRep, VSpaceDimension, VSplineOrder >

Returns the weights over the support region used for B-spline interpolation/reconstruction.

Computes/evaluate the B-spline interpolation weights over the support region of the B-spline.

This class is templated over the coordinate representation type, the space dimension and the spline order.

See also
Point
Index
ContinuousIndex

Definition at line 45 of file itkBSplineInterpolationSecondOrderDerivativeWeightFunction.h.

Inheritance diagram for itk::BSplineInterpolationSecondOrderDerivativeWeightFunction< TCoordRep, VSpaceDimension, VSplineOrder >:

Public Types

using ConstPointer = SmartPointer<const Self>
 
using ContinuousIndexType
 
using IndexType
 
using Pointer = SmartPointer<Self>
 
using Self = BSplineInterpolationSecondOrderDerivativeWeightFunction
 
using SizeType
 
using Superclass = BSplineInterpolationWeightFunctionBase<TCoordRep, VSpaceDimension, VSplineOrder>
 
using WeightsType
 
- Public Types inherited from itk::BSplineInterpolationWeightFunctionBase< float, 2, 3 >
using ConstPointer
 
using ContinuousIndexType
 
using IndexType
 
using Pointer
 
using Self
 
using SizeType
 
using Superclass
 
using WeightsType
 

Public Member Functions

virtual const char * GetClassName () const
 
 ITK_DISALLOW_COPY_AND_MOVE (BSplineInterpolationSecondOrderDerivativeWeightFunction)
 
 itkStaticConstMacro (SpaceDimension, unsigned int, VSpaceDimension)
 
 itkStaticConstMacro (SplineOrder, unsigned int, VSplineOrder)
 
virtual void SetDerivativeDirections (unsigned int dir0, unsigned int dir1)
 
- Public Member Functions inherited from itk::BSplineInterpolationWeightFunctionBase< float, 2, 3 >
void ComputeStartIndex (const ContinuousIndexType &index, IndexType &startIndex) const
 
virtual void Evaluate (const ContinuousIndexType &cindex, const IndexType &startIndex, WeightsType &weights) const
 
WeightsType Evaluate (const ContinuousIndexType &index) const override
 
 ITK_DISALLOW_COPY_AND_MOVE (BSplineInterpolationWeightFunctionBase)
 
 itkStaticConstMacro (SpaceDimension, unsigned int, VSpaceDimension)
 
 itkStaticConstMacro (SplineOrder, unsigned int, VSplineOrder)
 

Static Public Member Functions

static Pointer New ()
 

Protected Types

using DerivativeKernelType
 
using KernelType
 
using OneDWeightsType
 
using SecondOrderDerivativeKernelType
 
- Protected Types inherited from itk::BSplineInterpolationWeightFunctionBase< float, 2, 3 >
using DerivativeKernelPointer
 
using DerivativeKernelType
 
using KernelPointer
 
using KernelType
 
using OneDWeightsType
 
using SecondOrderDerivativeKernelPointer
 
using SecondOrderDerivativeKernelType
 
using WeightArrayType
 

Protected Member Functions

 BSplineInterpolationSecondOrderDerivativeWeightFunction ()
 
void Compute1DWeights (const ContinuousIndexType &index, const IndexType &startIndex, OneDWeightsType &weights1D) const override
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 ~BSplineInterpolationSecondOrderDerivativeWeightFunction () override=default
 
- Protected Member Functions inherited from itk::BSplineInterpolationWeightFunctionBase< float, 2, 3 >
 BSplineInterpolationWeightFunctionBase ()
 
virtual void Compute1DWeights (const ContinuousIndexType &index, const IndexType &startIndex, OneDWeightsType &weights1D) const=0
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 ~BSplineInterpolationWeightFunctionBase () override=default
 

Private Attributes

vnl_vector_fixed< double, 2 > m_DerivativeDirections {}
 
bool m_EqualDerivativeDirections {}
 

Additional Inherited Members

- Static Public Attributes inherited from itk::BSplineInterpolationWeightFunctionBase< float, 2, 3 >
static constexpr unsigned long NumberOfWeights
 
static constexpr SizeType SupportSize
 
- Protected Attributes inherited from itk::BSplineInterpolationWeightFunctionBase< float, 2, 3 >
vnl_matrix< unsigned long > m_OffsetToIndexTable
 

Member Typedef Documentation

◆ ConstPointer

template<class TCoordRep = float, unsigned int VSpaceDimension = 2, unsigned int VSplineOrder = 3>
using itk::BSplineInterpolationSecondOrderDerivativeWeightFunction< TCoordRep, VSpaceDimension, VSplineOrder >::ConstPointer = SmartPointer<const Self>

◆ ContinuousIndexType

template<class TCoordRep = float, unsigned int VSpaceDimension = 2, unsigned int VSplineOrder = 3>
using itk::BSplineInterpolationWeightFunctionBase< TCoordRep, VSpaceDimension, VSplineOrder >::ContinuousIndexType

ContinuousIndex typedef support.

Definition at line 84 of file itkBSplineInterpolationWeightFunctionBase.h.

◆ DerivativeKernelType

template<class TCoordRep = float, unsigned int VSpaceDimension = 2, unsigned int VSplineOrder = 3>
using itk::BSplineInterpolationWeightFunctionBase< TCoordRep, VSpaceDimension, VSplineOrder >::DerivativeKernelType
protected

Definition at line 114 of file itkBSplineInterpolationWeightFunctionBase.h.

◆ IndexType

template<class TCoordRep = float, unsigned int VSpaceDimension = 2, unsigned int VSplineOrder = 3>
using itk::BSplineInterpolationWeightFunctionBase< TCoordRep, VSpaceDimension, VSplineOrder >::IndexType

Index and size typedef support.

Definition at line 80 of file itkBSplineInterpolationWeightFunctionBase.h.

◆ KernelType

template<class TCoordRep = float, unsigned int VSpaceDimension = 2, unsigned int VSplineOrder = 3>
using itk::BSplineInterpolationWeightFunctionBase< TCoordRep, VSpaceDimension, VSplineOrder >::KernelType
protected

Interpolation kernel types.

Definition at line 112 of file itkBSplineInterpolationWeightFunctionBase.h.

◆ OneDWeightsType

template<class TCoordRep = float, unsigned int VSpaceDimension = 2, unsigned int VSplineOrder = 3>
using itk::BSplineInterpolationWeightFunctionBase< TCoordRep, VSpaceDimension, VSplineOrder >::OneDWeightsType
protected

Typedef for intermediary 1D weights. The Matrix is at least twice as fast as std::vector< vnl_vector< double > >, probably because of the fixed size at compile time.

Definition at line 124 of file itkBSplineInterpolationWeightFunctionBase.h.

◆ Pointer

template<class TCoordRep = float, unsigned int VSpaceDimension = 2, unsigned int VSplineOrder = 3>
using itk::BSplineInterpolationSecondOrderDerivativeWeightFunction< TCoordRep, VSpaceDimension, VSplineOrder >::Pointer = SmartPointer<Self>

◆ SecondOrderDerivativeKernelType

template<class TCoordRep = float, unsigned int VSpaceDimension = 2, unsigned int VSplineOrder = 3>
using itk::BSplineInterpolationWeightFunctionBase< TCoordRep, VSpaceDimension, VSplineOrder >::SecondOrderDerivativeKernelType
protected

Definition at line 116 of file itkBSplineInterpolationWeightFunctionBase.h.

◆ Self

template<class TCoordRep = float, unsigned int VSpaceDimension = 2, unsigned int VSplineOrder = 3>
using itk::BSplineInterpolationSecondOrderDerivativeWeightFunction< TCoordRep, VSpaceDimension, VSplineOrder >::Self = BSplineInterpolationSecondOrderDerivativeWeightFunction

Standard class typedefs.

Definition at line 52 of file itkBSplineInterpolationSecondOrderDerivativeWeightFunction.h.

◆ SizeType

template<class TCoordRep = float, unsigned int VSpaceDimension = 2, unsigned int VSplineOrder = 3>
using itk::BSplineInterpolationWeightFunctionBase< TCoordRep, VSpaceDimension, VSplineOrder >::SizeType

Definition at line 81 of file itkBSplineInterpolationWeightFunctionBase.h.

◆ Superclass

template<class TCoordRep = float, unsigned int VSpaceDimension = 2, unsigned int VSplineOrder = 3>
using itk::BSplineInterpolationSecondOrderDerivativeWeightFunction< TCoordRep, VSpaceDimension, VSplineOrder >::Superclass = BSplineInterpolationWeightFunctionBase<TCoordRep, VSpaceDimension, VSplineOrder>

◆ WeightsType

template<class TCoordRep = float, unsigned int VSpaceDimension = 2, unsigned int VSplineOrder = 3>
using itk::BSplineInterpolationWeightFunctionBase< TCoordRep, VSpaceDimension, VSplineOrder >::WeightsType

OutputType typedef support.

Definition at line 77 of file itkBSplineInterpolationWeightFunctionBase.h.

Constructor & Destructor Documentation

◆ BSplineInterpolationSecondOrderDerivativeWeightFunction()

template<class TCoordRep = float, unsigned int VSpaceDimension = 2, unsigned int VSplineOrder = 3>
itk::BSplineInterpolationSecondOrderDerivativeWeightFunction< TCoordRep, VSpaceDimension, VSplineOrder >::BSplineInterpolationSecondOrderDerivativeWeightFunction ( )
protected

◆ ~BSplineInterpolationSecondOrderDerivativeWeightFunction()

template<class TCoordRep = float, unsigned int VSpaceDimension = 2, unsigned int VSplineOrder = 3>
itk::BSplineInterpolationSecondOrderDerivativeWeightFunction< TCoordRep, VSpaceDimension, VSplineOrder >::~BSplineInterpolationSecondOrderDerivativeWeightFunction ( )
overrideprotecteddefault

Member Function Documentation

◆ Compute1DWeights()

template<class TCoordRep = float, unsigned int VSpaceDimension = 2, unsigned int VSplineOrder = 3>
void itk::BSplineInterpolationSecondOrderDerivativeWeightFunction< TCoordRep, VSpaceDimension, VSplineOrder >::Compute1DWeights ( const ContinuousIndexType & index,
const IndexType & startIndex,
OneDWeightsType & weights1D ) const
overrideprotected

Compute the 1D weights, which are:

\[ \beta( x[i] - startIndex[i] ), \beta( x[i] - startIndex[i] - 1 ),
\beta( x[i] - startIndex[i] - 2 ), \beta( x[i] - startIndex[i] - 3 ), \]

with $\beta( x ) = \beta^2( x + 1/2 ) - \beta^2( x - 1/2 )$, in case of non-equal derivative directions, with $\beta( x ) = \beta^1( x + 1 ) - 2 * \beta^1( x ) + \beta^1( x - 1 ),$ in case of equal derivative directions, with $\beta(x) = \beta^3(x)$ for the non-derivative directions.

◆ GetClassName()

template<class TCoordRep = float, unsigned int VSpaceDimension = 2, unsigned int VSplineOrder = 3>
virtual const char * itk::BSplineInterpolationSecondOrderDerivativeWeightFunction< TCoordRep, VSpaceDimension, VSplineOrder >::GetClassName ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::BSplineInterpolationWeightFunctionBase< float, 2, 3 >.

◆ ITK_DISALLOW_COPY_AND_MOVE()

template<class TCoordRep = float, unsigned int VSpaceDimension = 2, unsigned int VSplineOrder = 3>
itk::BSplineInterpolationSecondOrderDerivativeWeightFunction< TCoordRep, VSpaceDimension, VSplineOrder >::ITK_DISALLOW_COPY_AND_MOVE ( BSplineInterpolationSecondOrderDerivativeWeightFunction< TCoordRep, VSpaceDimension, VSplineOrder > )

◆ itkStaticConstMacro() [1/2]

template<class TCoordRep = float, unsigned int VSpaceDimension = 2, unsigned int VSplineOrder = 3>
itk::BSplineInterpolationSecondOrderDerivativeWeightFunction< TCoordRep, VSpaceDimension, VSplineOrder >::itkStaticConstMacro ( SpaceDimension ,
unsigned int ,
VSpaceDimension  )

Space dimension.

◆ itkStaticConstMacro() [2/2]

template<class TCoordRep = float, unsigned int VSpaceDimension = 2, unsigned int VSplineOrder = 3>
itk::BSplineInterpolationSecondOrderDerivativeWeightFunction< TCoordRep, VSpaceDimension, VSplineOrder >::itkStaticConstMacro ( SplineOrder ,
unsigned int ,
VSplineOrder  )

Spline order.

◆ New()

template<class TCoordRep = float, unsigned int VSpaceDimension = 2, unsigned int VSplineOrder = 3>
static Pointer itk::BSplineInterpolationSecondOrderDerivativeWeightFunction< TCoordRep, VSpaceDimension, VSplineOrder >::New ( )
static

New macro for creation of through the object factory.

◆ PrintSelf()

template<class TCoordRep = float, unsigned int VSpaceDimension = 2, unsigned int VSplineOrder = 3>
void itk::BSplineInterpolationSecondOrderDerivativeWeightFunction< TCoordRep, VSpaceDimension, VSplineOrder >::PrintSelf ( std::ostream & os,
Indent indent ) const
overrideprotected

Print the member variables.

◆ SetDerivativeDirections()

template<class TCoordRep = float, unsigned int VSpaceDimension = 2, unsigned int VSplineOrder = 3>
virtual void itk::BSplineInterpolationSecondOrderDerivativeWeightFunction< TCoordRep, VSpaceDimension, VSplineOrder >::SetDerivativeDirections ( unsigned int dir0,
unsigned int dir1 )
virtual

Set the second order derivative directions.

Field Documentation

◆ m_DerivativeDirections

template<class TCoordRep = float, unsigned int VSpaceDimension = 2, unsigned int VSplineOrder = 3>
vnl_vector_fixed<double, 2> itk::BSplineInterpolationSecondOrderDerivativeWeightFunction< TCoordRep, VSpaceDimension, VSplineOrder >::m_DerivativeDirections {}
private

◆ m_EqualDerivativeDirections

template<class TCoordRep = float, unsigned int VSpaceDimension = 2, unsigned int VSplineOrder = 3>
bool itk::BSplineInterpolationSecondOrderDerivativeWeightFunction< TCoordRep, VSpaceDimension, VSplineOrder >::m_EqualDerivativeDirections {}
private


Generated on 2024-07-17 for elastix by doxygen 1.11.0 (9b424b03c9833626cd435af22a444888fbbb192d) elastix logo