![]() |
Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
#include <itkBSplineInterpolationDerivativeWeightFunction.h>
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.
Definition at line 44 of file itkBSplineInterpolationDerivativeWeightFunction.h.
Public Types | |
using | ConstPointer = SmartPointer< const Self > |
using | ContinuousIndexType = ContinuousIndex< TCoordRep, VSpaceDimension > |
using | IndexType = Index< VSpaceDimension > |
using | Pointer = SmartPointer< Self > |
using | Self = BSplineInterpolationDerivativeWeightFunction |
using | SizeType = Size< VSpaceDimension > |
using | Superclass = BSplineInterpolationWeightFunctionBase< TCoordRep, VSpaceDimension, VSplineOrder > |
using | WeightsType = FixedArray< double, NumberOfWeights > |
![]() | |
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 (BSplineInterpolationDerivativeWeightFunction) | |
itkStaticConstMacro (SpaceDimension, unsigned int, VSpaceDimension) | |
itkStaticConstMacro (SplineOrder, unsigned int, VSplineOrder) | |
virtual void | SetDerivativeDirection (unsigned int dir) |
![]() | |
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 SizeType & | GetSupportSize () |
ITK_DISALLOW_COPY_AND_MOVE (BSplineInterpolationWeightFunctionBase) | |
itkStaticConstMacro (SpaceDimension, unsigned int, VSpaceDimension) | |
itkStaticConstMacro (SplineOrder, unsigned int, VSplineOrder) | |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
BSplineInterpolationDerivativeWeightFunction () | |
void | Compute1DWeights (const ContinuousIndexType &index, const IndexType &startIndex, OneDWeightsType &weights1D) const override |
void | PrintSelf (std::ostream &os, Indent indent) const override |
~BSplineInterpolationDerivativeWeightFunction () override=default | |
![]() | |
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 | |
unsigned int | m_DerivativeDirection |
Additional Inherited Members | |
![]() | |
static constexpr unsigned long | NumberOfWeights = Math::UnsignedPower(VSplineOrder + 1, VSpaceDimension) |
![]() | |
unsigned long | m_NumberOfWeights |
TableType | m_OffsetToIndexTable |
SizeType | m_SupportSize |
using itk::BSplineInterpolationDerivativeWeightFunction< TCoordRep, VSpaceDimension, VSplineOrder >::ConstPointer = SmartPointer<const Self> |
Definition at line 54 of file itkBSplineInterpolationDerivativeWeightFunction.h.
using itk::BSplineInterpolationWeightFunctionBase< TCoordRep, VSpaceDimension, VSplineOrder >::ContinuousIndexType = ContinuousIndex<TCoordRep, VSpaceDimension> |
ContinuousIndex typedef support.
Definition at line 84 of file itkBSplineInterpolationWeightFunctionBase.h.
|
protected |
Definition at line 117 of file itkBSplineInterpolationWeightFunctionBase.h.
using itk::BSplineInterpolationWeightFunctionBase< TCoordRep, VSpaceDimension, VSplineOrder >::IndexType = Index<VSpaceDimension> |
Index and size typedef support.
Definition at line 80 of file itkBSplineInterpolationWeightFunctionBase.h.
|
protected |
Interpolation kernel types.
Definition at line 115 of file itkBSplineInterpolationWeightFunctionBase.h.
|
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.
using itk::BSplineInterpolationDerivativeWeightFunction< TCoordRep, VSpaceDimension, VSplineOrder >::Pointer = SmartPointer<Self> |
Definition at line 53 of file itkBSplineInterpolationDerivativeWeightFunction.h.
|
protected |
Definition at line 119 of file itkBSplineInterpolationWeightFunctionBase.h.
using itk::BSplineInterpolationDerivativeWeightFunction< TCoordRep, VSpaceDimension, VSplineOrder >::Self = BSplineInterpolationDerivativeWeightFunction |
Standard class typedefs.
Definition at line 51 of file itkBSplineInterpolationDerivativeWeightFunction.h.
using itk::BSplineInterpolationWeightFunctionBase< TCoordRep, VSpaceDimension, VSplineOrder >::SizeType = Size<VSpaceDimension> |
Definition at line 81 of file itkBSplineInterpolationWeightFunctionBase.h.
using itk::BSplineInterpolationDerivativeWeightFunction< TCoordRep, VSpaceDimension, VSplineOrder >::Superclass = BSplineInterpolationWeightFunctionBase<TCoordRep, VSpaceDimension, VSplineOrder> |
Definition at line 52 of file itkBSplineInterpolationDerivativeWeightFunction.h.
|
protected |
Lookup table type.
Definition at line 124 of file itkBSplineInterpolationWeightFunctionBase.h.
using itk::BSplineInterpolationWeightFunctionBase< TCoordRep, VSpaceDimension, VSplineOrder >::WeightsType = FixedArray<double, NumberOfWeights> |
OutputType typedef support.
Definition at line 77 of file itkBSplineInterpolationWeightFunctionBase.h.
|
protected |
|
overrideprotecteddefault |
|
overrideprotectedvirtual |
Compute the 1D weights, which are:
, with
Implements itk::BSplineInterpolationWeightFunctionBase< TCoordRep, VSpaceDimension, VSplineOrder >.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::BSplineInterpolationWeightFunctionBase< TCoordRep, VSpaceDimension, VSplineOrder >.
itk::BSplineInterpolationDerivativeWeightFunction< TCoordRep, VSpaceDimension, VSplineOrder >::ITK_DISALLOW_COPY_AND_MOVE | ( | BSplineInterpolationDerivativeWeightFunction< TCoordRep, VSpaceDimension, VSplineOrder > | ) |
itk::BSplineInterpolationDerivativeWeightFunction< TCoordRep, VSpaceDimension, VSplineOrder >::itkStaticConstMacro | ( | SpaceDimension | , |
unsigned int | , | ||
VSpaceDimension | |||
) |
Space dimension.
itk::BSplineInterpolationDerivativeWeightFunction< TCoordRep, VSpaceDimension, VSplineOrder >::itkStaticConstMacro | ( | SplineOrder | , |
unsigned int | , | ||
VSplineOrder | |||
) |
Spline order.
|
static |
New macro for creation of through the object factory.
|
overrideprotected |
Print the member variables.
|
virtual |
Set the first order derivative direction.
|
private |
Member variables.
Definition at line 107 of file itkBSplineInterpolationDerivativeWeightFunction.h.
Generated on 2023-01-13
for elastix by ![]() |
![]() |