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

#include <itkBSplineInterpolationWeightFunction2.h>

Detailed Description

template<class TCoordRep = float, unsigned int VSpaceDimension = 2, unsigned int VSplineOrder = 3>
class itk::BSplineInterpolationWeightFunction2< 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 43 of file itkBSplineInterpolationWeightFunction2.h.

Inheritance diagram for itk::BSplineInterpolationWeightFunction2< TCoordRep, VSpaceDimension, VSplineOrder >:
Inheritance graph
[legend]

Public Types

using ConstPointer = SmartPointer< const Self >
 
using ContinuousIndexType = ContinuousIndex< TCoordRep, VSpaceDimension >
 
using IndexType = Index< VSpaceDimension >
 
using Pointer = SmartPointer< Self >
 
using Self = BSplineInterpolationWeightFunction2
 
using SizeType = Size< VSpaceDimension >
 
using Superclass = BSplineInterpolationWeightFunctionBase< TCoordRep, VSpaceDimension, VSplineOrder >
 
using WeightsType = FixedArray< double, NumberOfWeights >
 
- Public Types inherited from itk::BSplineInterpolationWeightFunctionBase< TCoordRep, VSpaceDimension, VSplineOrder >
using ConstPointer = SmartPointer< const Self >
 
using ContinuousIndexType = ContinuousIndex< TCoordRep, VSpaceDimension >
 
using IndexType = Index< VSpaceDimension >
 
using Pointer = SmartPointer< Self >
 
using Self = BSplineInterpolationWeightFunctionBase
 
using SizeType = Size< VSpaceDimension >
 
using Superclass = FunctionBase< ContinuousIndex< TCoordRep, VSpaceDimension >, FixedArray< double, Math::UnsignedPower(VSplineOrder+1, VSpaceDimension)> >
 
using WeightsType = FixedArray< double, NumberOfWeights >
 

Public Member Functions

virtual const char * GetClassName () const
 
 ITK_DISALLOW_COPY_AND_MOVE (BSplineInterpolationWeightFunction2)
 
 itkStaticConstMacro (SpaceDimension, unsigned int, VSpaceDimension)
 
 itkStaticConstMacro (SplineOrder, unsigned int, VSplineOrder)
 
- Public Member Functions inherited from itk::BSplineInterpolationWeightFunctionBase< TCoordRep, VSpaceDimension, VSplineOrder >
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
 
virtual const char * GetClassName () const
 
virtual unsigned long GetNumberOfWeights () const
 
virtual const SizeTypeGetSupportSize ()
 
 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 = BSplineDerivativeKernelFunction< VSplineOrder >
 
using KernelType = BSplineKernelFunction2< VSplineOrder >
 
using OneDWeightsType = Matrix< double, Self::SpaceDimension, VSplineOrder+1 >
 
using SecondOrderDerivativeKernelType = BSplineSecondOrderDerivativeKernelFunction2< VSplineOrder >
 
using TableType = Array2D< unsigned long >
 
using WeightArrayType = typename KernelType::WeightArrayType
 
- Protected Types inherited from itk::BSplineInterpolationWeightFunctionBase< TCoordRep, VSpaceDimension, VSplineOrder >
using DerivativeKernelPointer = typename DerivativeKernelType::Pointer
 
using DerivativeKernelType = BSplineDerivativeKernelFunction< VSplineOrder >
 
using KernelPointer = typename KernelType::Pointer
 
using KernelType = BSplineKernelFunction2< VSplineOrder >
 
using OneDWeightsType = Matrix< double, Self::SpaceDimension, VSplineOrder+1 >
 
using SecondOrderDerivativeKernelPointer = typename SecondOrderDerivativeKernelType::Pointer
 
using SecondOrderDerivativeKernelType = BSplineSecondOrderDerivativeKernelFunction2< VSplineOrder >
 
using TableType = Array2D< unsigned long >
 
using WeightArrayType = typename KernelType::WeightArrayType
 

Protected Member Functions

 BSplineInterpolationWeightFunction2 ()
 
void Compute1DWeights (const ContinuousIndexType &index, const IndexType &startIndex, OneDWeightsType &weights1D) const override
 
 ~BSplineInterpolationWeightFunction2 () override=default
 
- Protected Member Functions inherited from itk::BSplineInterpolationWeightFunctionBase< TCoordRep, VSpaceDimension, VSplineOrder >
 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
 

Additional Inherited Members

- Static Public Attributes inherited from itk::BSplineInterpolationWeightFunctionBase< TCoordRep, VSpaceDimension, VSplineOrder >
static constexpr unsigned long NumberOfWeights = Math::UnsignedPower(VSplineOrder + 1, VSpaceDimension)
 
- Protected Attributes inherited from itk::BSplineInterpolationWeightFunctionBase< TCoordRep, VSpaceDimension, VSplineOrder >
unsigned long m_NumberOfWeights
 
TableType m_OffsetToIndexTable
 
SizeType m_SupportSize
 

Member Typedef Documentation

◆ ConstPointer

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

Definition at line 53 of file itkBSplineInterpolationWeightFunction2.h.

◆ ContinuousIndexType

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

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 = BSplineDerivativeKernelFunction<VSplineOrder>
protected

Definition at line 117 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<VSpaceDimension>

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 = BSplineKernelFunction2<VSplineOrder>
protected

Interpolation kernel types.

Definition at line 115 of file itkBSplineInterpolationWeightFunctionBase.h.

◆ OneDWeightsType

template<class TCoordRep = float, unsigned int VSpaceDimension = 2, unsigned int VSplineOrder = 3>
using itk::BSplineInterpolationWeightFunctionBase< TCoordRep, VSpaceDimension, VSplineOrder >::OneDWeightsType = Matrix<double, Self::SpaceDimension, VSplineOrder + 1>
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 130 of file itkBSplineInterpolationWeightFunctionBase.h.

◆ Pointer

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

Definition at line 52 of file itkBSplineInterpolationWeightFunction2.h.

◆ SecondOrderDerivativeKernelType

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

Definition at line 119 of file itkBSplineInterpolationWeightFunctionBase.h.

◆ Self

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

Standard class typedefs.

Definition at line 50 of file itkBSplineInterpolationWeightFunction2.h.

◆ SizeType

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

Definition at line 81 of file itkBSplineInterpolationWeightFunctionBase.h.

◆ Superclass

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

Definition at line 51 of file itkBSplineInterpolationWeightFunction2.h.

◆ TableType

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

Lookup table type.

Definition at line 124 of file itkBSplineInterpolationWeightFunctionBase.h.

◆ WeightArrayType

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

Definition at line 121 of file itkBSplineInterpolationWeightFunctionBase.h.

◆ WeightsType

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

OutputType typedef support.

Definition at line 77 of file itkBSplineInterpolationWeightFunctionBase.h.

Constructor & Destructor Documentation

◆ BSplineInterpolationWeightFunction2()

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

◆ ~BSplineInterpolationWeightFunction2()

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

Member Function Documentation

◆ Compute1DWeights()

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

◆ GetClassName()

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

Run-time type information (and related methods).

Reimplemented from itk::BSplineInterpolationWeightFunctionBase< TCoordRep, VSpaceDimension, VSplineOrder >.

◆ ITK_DISALLOW_COPY_AND_MOVE()

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

◆ itkStaticConstMacro() [1/2]

template<class TCoordRep = float, unsigned int VSpaceDimension = 2, unsigned int VSplineOrder = 3>
itk::BSplineInterpolationWeightFunction2< 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::BSplineInterpolationWeightFunction2< 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::BSplineInterpolationWeightFunction2< TCoordRep, VSpaceDimension, VSplineOrder >::New ( )
static

New macro for creation of through the object factory.



Generated on 2023-01-13 for elastix by doxygen 1.9.6 elastix logo