#include <itkBSplineInterpolationWeightFunctionBase.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 49 of file itkBSplineInterpolationWeightFunctionBase.h.

Public Types | |
| using | ConstPointer = SmartPointer<const Self> |
| using | ContinuousIndexType = ContinuousIndex<TCoordinate, VSpaceDimension> |
| using | IndexType = Index<VSpaceDimension> |
| using | Pointer = SmartPointer<Self> |
| using | Self = BSplineInterpolationWeightFunctionBase |
| using | SizeType = Size<VSpaceDimension> |
| using | Superclass |
| using | WeightsType = FixedArray<double, NumberOfWeights> |
Public Member Functions | |
| WeightsType | Evaluate (const ContinuousIndexType &cindex, const IndexType &startIndex) const |
| WeightsType | Evaluate (const ContinuousIndexType &index) const override |
| ITK_DISALLOW_COPY_AND_MOVE (BSplineInterpolationWeightFunctionBase) | |
| itkOverrideGetNameOfClassMacro (BSplineInterpolationWeightFunctionBase) | |
| itkStaticConstMacro (SpaceDimension, unsigned int, VSpaceDimension) | |
| itkStaticConstMacro (SplineOrder, unsigned int, VSplineOrder) | |
Static Public Member Functions | |
| static IndexType | ComputeStartIndex (const ContinuousIndexType &index) |
Static Public Attributes | |
| static constexpr unsigned long | NumberOfWeights = Math::UnsignedPower(VSplineOrder + 1, VSpaceDimension) |
| static constexpr SizeType | SupportSize { SizeType::Filled(VSplineOrder + 1) } |
Protected Types | |
| 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 | WeightArrayType = typename KernelType::WeightArrayType |
Protected Member Functions | |
| BSplineInterpolationWeightFunctionBase ()=default | |
| 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 Types | |
| using | TableType = FixedArray<IndexType, NumberOfWeights> |
Private Attributes | |
| const TableType | m_OffsetToIndexTable |
| using itk::BSplineInterpolationWeightFunctionBase< TCoordinate, VSpaceDimension, VSplineOrder >::ConstPointer = SmartPointer<const Self> |
Definition at line 61 of file itkBSplineInterpolationWeightFunctionBase.h.
| using itk::BSplineInterpolationWeightFunctionBase< TCoordinate, VSpaceDimension, VSplineOrder >::ContinuousIndexType = ContinuousIndex<TCoordinate, VSpaceDimension> |
ContinuousIndex typedef support.
Definition at line 83 of file itkBSplineInterpolationWeightFunctionBase.h.
|
protected |
Definition at line 112 of file itkBSplineInterpolationWeightFunctionBase.h.
|
protected |
Definition at line 111 of file itkBSplineInterpolationWeightFunctionBase.h.
| using itk::BSplineInterpolationWeightFunctionBase< TCoordinate, VSpaceDimension, VSplineOrder >::IndexType = Index<VSpaceDimension> |
Index and size typedef support.
Definition at line 79 of file itkBSplineInterpolationWeightFunctionBase.h.
|
protected |
Definition at line 110 of file itkBSplineInterpolationWeightFunctionBase.h.
|
protected |
Interpolation kernel types.
Definition at line 109 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 121 of file itkBSplineInterpolationWeightFunctionBase.h.
| using itk::BSplineInterpolationWeightFunctionBase< TCoordinate, VSpaceDimension, VSplineOrder >::Pointer = SmartPointer<Self> |
Definition at line 60 of file itkBSplineInterpolationWeightFunctionBase.h.
|
protected |
Definition at line 114 of file itkBSplineInterpolationWeightFunctionBase.h.
|
protected |
Definition at line 113 of file itkBSplineInterpolationWeightFunctionBase.h.
| using itk::BSplineInterpolationWeightFunctionBase< TCoordinate, VSpaceDimension, VSplineOrder >::Self = BSplineInterpolationWeightFunctionBase |
Standard class typedefs.
Definition at line 57 of file itkBSplineInterpolationWeightFunctionBase.h.
| using itk::BSplineInterpolationWeightFunctionBase< TCoordinate, VSpaceDimension, VSplineOrder >::SizeType = Size<VSpaceDimension> |
Definition at line 80 of file itkBSplineInterpolationWeightFunctionBase.h.
| using itk::BSplineInterpolationWeightFunctionBase< TCoordinate, VSpaceDimension, VSplineOrder >::Superclass |
Definition at line 58 of file itkBSplineInterpolationWeightFunctionBase.h.
|
private |
Lookup table type.
Definition at line 135 of file itkBSplineInterpolationWeightFunctionBase.h.
|
protected |
Definition at line 115 of file itkBSplineInterpolationWeightFunctionBase.h.
| using itk::BSplineInterpolationWeightFunctionBase< TCoordinate, VSpaceDimension, VSplineOrder >::WeightsType = FixedArray<double, NumberOfWeights> |
OutputType typedef support.
Definition at line 76 of file itkBSplineInterpolationWeightFunctionBase.h.
|
protecteddefault |
|
overrideprotecteddefault |
|
protectedpure virtual |
Compute the 1D weights.
|
static |
Compute the start index of the support region.
| WeightsType itk::BSplineInterpolationWeightFunctionBase< TCoordinate, VSpaceDimension, VSplineOrder >::Evaluate | ( | const ContinuousIndexType & | cindex, |
| const IndexType & | startIndex ) const |
Evaluate the weights at specified ContinousIndex position. The weights are returned in the user specified container. On return, startIndex contains the start index of the support region over which the weights are defined.
|
override |
Evaluate the weights at specified ContinousIndex position.
| itk::BSplineInterpolationWeightFunctionBase< TCoordinate, VSpaceDimension, VSplineOrder >::ITK_DISALLOW_COPY_AND_MOVE | ( | BSplineInterpolationWeightFunctionBase< TCoordinate, VSpaceDimension, VSplineOrder > | ) |
| itk::BSplineInterpolationWeightFunctionBase< TCoordinate, VSpaceDimension, VSplineOrder >::itkOverrideGetNameOfClassMacro | ( | BSplineInterpolationWeightFunctionBase< TCoordinate, VSpaceDimension, VSplineOrder > | ) |
Run-time type information (and related methods).
| itk::BSplineInterpolationWeightFunctionBase< TCoordinate, VSpaceDimension, VSplineOrder >::itkStaticConstMacro | ( | SpaceDimension | , |
| unsigned int | , | ||
| VSpaceDimension | ) |
Space dimension.
| itk::BSplineInterpolationWeightFunctionBase< TCoordinate, VSpaceDimension, VSplineOrder >::itkStaticConstMacro | ( | SplineOrder | , |
| unsigned int | , | ||
| VSplineOrder | ) |
Spline order.
|
overrideprotected |
Print the member variables.
|
private |
Table mapping linear offset to indices.
Definition at line 138 of file itkBSplineInterpolationWeightFunctionBase.h.
|
staticconstexpr |
The number of weights as a static const.
Definition at line 73 of file itkBSplineInterpolationWeightFunctionBase.h.
|
staticconstexpr |
The support region size: a hypercube of length SplineOrder + 1
Definition at line 102 of file itkBSplineInterpolationWeightFunctionBase.h.
Generated on 26-02-2026
for elastix by 1.16.1 (669aeeefca743c148e2d935b3d3c69535c7491e6) |