Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
#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 71 of file itkBSplineInterpolationWeightFunctionBase.h.
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef ContinuousIndex< TCoordRep, VSpaceDimension > | ContinuousIndexType |
typedef Index< VSpaceDimension > | IndexType |
typedef SmartPointer< Self > | Pointer |
typedef BSplineInterpolationWeightFunctionBase | Self |
typedef Size< VSpaceDimension > | SizeType |
typedef FunctionBase< ContinuousIndex< TCoordRep, VSpaceDimension >, Array< double > > | Superclass |
typedef Array< double > | WeightsType |
Public Member Functions | |
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 () |
itkStaticConstMacro (NumberOfWeights, unsigned long, GetConstNumberOfWeightsHackType::Value) | |
itkStaticConstMacro (SpaceDimension, unsigned int, VSpaceDimension) | |
itkStaticConstMacro (SplineOrder, unsigned int, VSplineOrder) | |
Protected Types | |
typedef DerivativeKernelType::Pointer | DerivativeKernelPointer |
typedef BSplineDerivativeKernelFunction< Self::SplineOrder > | DerivativeKernelType |
typedef KernelType::Pointer | KernelPointer |
typedef BSplineKernelFunction2< Self::SplineOrder > | KernelType |
typedef Matrix< double, itkGetStaticConstMacro(SpaceDimension), itkGetStaticConstMacro(SplineOrder)+1 > | OneDWeightsType |
typedef SecondOrderDerivativeKernelType::Pointer | SecondOrderDerivativeKernelPointer |
typedef BSplineSecondOrderDerivativeKernelFunction2< Self::SplineOrder > | SecondOrderDerivativeKernelType |
typedef Array2D< unsigned long > | TableType |
typedef KernelType::WeightArrayType | WeightArrayType |
Protected Member Functions | |
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 | |
Protected Attributes | |
DerivativeKernelType::Pointer | m_DerivativeKernel |
KernelType::Pointer | m_Kernel |
unsigned long | m_NumberOfWeights |
TableType | m_OffsetToIndexTable |
SecondOrderDerivativeKernelType::Pointer | m_SecondOrderDerivativeKernel |
SizeType | m_SupportSize |
Private Member Functions | |
BSplineInterpolationWeightFunctionBase (const Self &) | |
void | InitializeOffsetToIndexTable (void) |
void | InitializeSupport (void) |
void | operator= (const Self &) |
typedef SmartPointer< const Self > itk::BSplineInterpolationWeightFunctionBase< TCoordRep, VSpaceDimension, VSplineOrder >::ConstPointer |
Definition at line 82 of file itkBSplineInterpolationWeightFunctionBase.h.
typedef ContinuousIndex< TCoordRep, VSpaceDimension > itk::BSplineInterpolationWeightFunctionBase< TCoordRep, VSpaceDimension, VSplineOrder >::ContinuousIndexType |
ContinuousIndex typedef support.
Definition at line 107 of file itkBSplineInterpolationWeightFunctionBase.h.
|
protected |
Definition at line 141 of file itkBSplineInterpolationWeightFunctionBase.h.
|
protected |
Definition at line 140 of file itkBSplineInterpolationWeightFunctionBase.h.
typedef Index< VSpaceDimension > itk::BSplineInterpolationWeightFunctionBase< TCoordRep, VSpaceDimension, VSplineOrder >::IndexType |
Index and size typedef support.
Definition at line 103 of file itkBSplineInterpolationWeightFunctionBase.h.
|
protected |
Definition at line 139 of file itkBSplineInterpolationWeightFunctionBase.h.
|
protected |
Interpolation kernel types.
Definition at line 138 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 155 of file itkBSplineInterpolationWeightFunctionBase.h.
typedef SmartPointer< Self > itk::BSplineInterpolationWeightFunctionBase< TCoordRep, VSpaceDimension, VSplineOrder >::Pointer |
Definition at line 81 of file itkBSplineInterpolationWeightFunctionBase.h.
|
protected |
Definition at line 143 of file itkBSplineInterpolationWeightFunctionBase.h.
|
protected |
Definition at line 142 of file itkBSplineInterpolationWeightFunctionBase.h.
typedef BSplineInterpolationWeightFunctionBase itk::BSplineInterpolationWeightFunctionBase< TCoordRep, VSpaceDimension, VSplineOrder >::Self |
Standard class typedefs.
Definition at line 77 of file itkBSplineInterpolationWeightFunctionBase.h.
typedef Size< VSpaceDimension > itk::BSplineInterpolationWeightFunctionBase< TCoordRep, VSpaceDimension, VSplineOrder >::SizeType |
Definition at line 104 of file itkBSplineInterpolationWeightFunctionBase.h.
typedef FunctionBase< ContinuousIndex< TCoordRep, VSpaceDimension >, Array< double > > itk::BSplineInterpolationWeightFunctionBase< TCoordRep, VSpaceDimension, VSplineOrder >::Superclass |
Definition at line 80 of file itkBSplineInterpolationWeightFunctionBase.h.
|
protected |
Lookup table type.
Definition at line 147 of file itkBSplineInterpolationWeightFunctionBase.h.
|
protected |
Definition at line 144 of file itkBSplineInterpolationWeightFunctionBase.h.
typedef Array< double > itk::BSplineInterpolationWeightFunctionBase< TCoordRep, VSpaceDimension, VSplineOrder >::WeightsType |
OutputType typedef support.
Definition at line 100 of file itkBSplineInterpolationWeightFunctionBase.h.
|
protected |
|
inlineoverrideprotected |
Definition at line 135 of file itkBSplineInterpolationWeightFunctionBase.h.
|
private |
|
protectedpure virtual |
Compute the 1D weights.
void itk::BSplineInterpolationWeightFunctionBase< TCoordRep, VSpaceDimension, VSplineOrder >::ComputeStartIndex | ( | const ContinuousIndexType & | index, |
IndexType & | startIndex | ||
) | const |
Compute the start index of the support region.
|
virtual |
Evaluate the weights at specified ContinousIndex position. The weights are returned in the user specified container. This function assume that the weights has a correct size. For efficiency, no size checking is done. 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.
|
virtual |
Run-time type information (and related methods).
Reimplemented in itk::BSplineInterpolationDerivativeWeightFunction< TCoordRep, VSpaceDimension, VSplineOrder >, itk::BSplineInterpolationSecondOrderDerivativeWeightFunction< TCoordRep, VSpaceDimension, VSplineOrder >, and itk::BSplineInterpolationWeightFunction2< TCoordRep, VSpaceDimension, VSplineOrder >.
|
virtual |
Get number of weights.
|
virtual |
Get support region size.
|
private |
Function to initialize the offset table. The offset table is a convenience table, just to keep track where is what.
|
private |
Function to initialize the support region.
itk::BSplineInterpolationWeightFunctionBase< TCoordRep, VSpaceDimension, VSplineOrder >::itkStaticConstMacro | ( | NumberOfWeights | , |
unsigned long | , | ||
GetConstNumberOfWeightsHackType::Value | |||
) |
itk::BSplineInterpolationWeightFunctionBase< TCoordRep, VSpaceDimension, VSplineOrder >::itkStaticConstMacro | ( | SpaceDimension | , |
unsigned int | , | ||
VSpaceDimension | |||
) |
Space dimension.
itk::BSplineInterpolationWeightFunctionBase< TCoordRep, VSpaceDimension, VSplineOrder >::itkStaticConstMacro | ( | SplineOrder | , |
unsigned int | , | ||
VSplineOrder | |||
) |
Spline order.
|
private |
|
overrideprotected |
Print the member variables.
|
protected |
Definition at line 173 of file itkBSplineInterpolationWeightFunctionBase.h.
|
protected |
Interpolation kernels.
Definition at line 172 of file itkBSplineInterpolationWeightFunctionBase.h.
|
protected |
Member variables.
Definition at line 167 of file itkBSplineInterpolationWeightFunctionBase.h.
|
protected |
Definition at line 169 of file itkBSplineInterpolationWeightFunctionBase.h.
|
protected |
Definition at line 174 of file itkBSplineInterpolationWeightFunctionBase.h.
|
protected |
Definition at line 168 of file itkBSplineInterpolationWeightFunctionBase.h.
Generated on 1667476801 for elastix by 1.9.4 |