ITK
5.0.0
Insight Segmentation and Registration Toolkit
|
#include <itkBSplineBaseTransform.h>
A base class with common elements of BSplineTransform and BSplineDeformableTransform.
Definition at line 36 of file itkBSplineBaseTransform.h.
Public Types | |
using | CoefficientImageArray = FixedArray< ImagePointer, NDimensions > |
using | ConstPointer = SmartPointer< const Self > |
using | ContinuousIndexType = typename WeightsFunctionType::ContinuousIndexType |
using | DerivativeType = typename Superclass::DerivativeType |
using | DirectionType = typename ImageType::DirectionType |
using | FixedParametersType = typename Superclass::FixedParametersType |
using | ImagePointer = typename ImageType::Pointer |
using | ImageType = Image< ParametersValueType, Self::SpaceDimension > |
using | IndexType = typename RegionType::IndexType |
using | InputCovariantVectorType = CovariantVector< TParametersValueType, Self::SpaceDimension > |
using | InputPointType = Point< TParametersValueType, Self::SpaceDimension > |
using | InputVectorType = Vector< TParametersValueType, Self::SpaceDimension > |
using | InputVnlVectorType = vnl_vector_fixed< TParametersValueType, SpaceDimension > |
using | InverseJacobianPositionType = typename Superclass::InverseJacobianPositionType |
using | JacobianPositionType = typename Superclass::JacobianPositionType |
using | JacobianType = typename Superclass::JacobianType |
using | MeshSizeType = SizeType |
using | NumberOfParametersType = typename Superclass::NumberOfParametersType |
using | OriginType = typename ImageType::PointType |
using | OutputCovariantVectorType = CovariantVector< TParametersValueType, Self::SpaceDimension > |
using | OutputPointType = Point< TParametersValueType, Self::SpaceDimension > |
using | OutputVectorType = Vector< TParametersValueType, Self::SpaceDimension > |
using | OutputVnlVectorType = vnl_vector_fixed< TParametersValueType, SpaceDimension > |
using | ParameterIndexArrayType = Array< unsigned long > |
using | ParametersType = typename Superclass::ParametersType |
using | ParametersValueType = typename ParametersType::ValueType |
using | PhysicalDimensionsType = typename ImageType::SpacingType |
using | PixelType = typename ImageType::PixelType |
using | Pointer = SmartPointer< Self > |
using | RegionType = ImageRegion< Self::SpaceDimension > |
using | ScalarType = typename Superclass::ScalarType |
using | Self = BSplineBaseTransform |
using | SizeType = typename RegionType::SizeType |
using | SpacingType = typename ImageType::SpacingType |
using | Superclass = Transform< TParametersValueType, NDimensions, NDimensions > |
using | TransformCategoryType = typename Superclass::TransformCategoryType |
using | WeightsFunctionType = BSplineInterpolationWeightFunction< ScalarType, Self::SpaceDimension, Self::SplineOrder > |
using | WeightsType = typename WeightsFunctionType::WeightsType |
Public Types inherited from itk::Transform< TParametersValueType, NDimensions, NDimensions > | |
using | ConstPointer = SmartPointer< const Self > |
using | DerivativeType = Array< ParametersValueType > |
using | DirectionChangeMatrix = Matrix< double, Self::OutputSpaceDimension, Self::InputSpaceDimension > |
using | FixedParametersType = typename Superclass::FixedParametersType |
using | FixedParametersValueType = typename Superclass::FixedParametersValueType |
using | InputCovariantVectorType = CovariantVector< TParametersValueType, NInputDimensions > |
using | InputDiffusionTensor3DType = DiffusionTensor3D< TParametersValueType > |
using | InputDirectionMatrix = Matrix< double, Self::InputSpaceDimension, Self::InputSpaceDimension > |
using | InputPointType = Point< TParametersValueType, NInputDimensions > |
using | InputSymmetricSecondRankTensorType = SymmetricSecondRankTensor< TParametersValueType, NInputDimensions > |
using | InputVectorPixelType = VariableLengthVector< TParametersValueType > |
using | InputVectorType = Vector< TParametersValueType, NInputDimensions > |
using | InputVnlVectorType = vnl_vector_fixed< TParametersValueType, NInputDimensions > |
using | InverseJacobianPositionType = vnl_matrix_fixed< ParametersValueType, NInputDimensions, NOutputDimensions > |
using | InverseTransformBasePointer = typename InverseTransformBaseType::Pointer |
using | InverseTransformBaseType = Transform< TParametersValueType, NOutputDimensions, NInputDimensions > |
using | JacobianPositionType = vnl_matrix_fixed< ParametersValueType, NOutputDimensions, NInputDimensions > |
using | JacobianType = Array2D< ParametersValueType > |
using | MatrixType = Matrix< TParametersValueType, Self::OutputSpaceDimension, Self::InputSpaceDimension > |
using | NumberOfParametersType = typename Superclass::NumberOfParametersType |
using | OutputCovariantVectorType = CovariantVector< TParametersValueType, NOutputDimensions > |
using | OutputDiffusionTensor3DType = DiffusionTensor3D< TParametersValueType > |
using | OutputDirectionMatrix = Matrix< double, Self::OutputSpaceDimension, Self::OutputSpaceDimension > |
using | OutputPointType = Point< TParametersValueType, NOutputDimensions > |
using | OutputSymmetricSecondRankTensorType = SymmetricSecondRankTensor< TParametersValueType, NOutputDimensions > |
using | OutputVectorPixelType = VariableLengthVector< TParametersValueType > |
using | OutputVectorType = Vector< TParametersValueType, NOutputDimensions > |
using | OutputVnlVectorType = vnl_vector_fixed< TParametersValueType, NOutputDimensions > |
using | ParametersType = typename Superclass::ParametersType |
using | ParametersValueType = typename Superclass::ParametersValueType |
using | Pointer = SmartPointer< Self > |
using | ScalarType = ParametersValueType |
using | Self = Transform |
using | Superclass = TransformBaseTemplate< TParametersValueType > |
using | TransformCategoryType = typename Superclass::TransformCategoryType |
Public Types inherited from itk::TransformBaseTemplate< TParametersValueType > | |
using | ConstPointer = SmartPointer< const Self > |
using | FixedParametersType = OptimizerParameters< FixedParametersValueType > |
using | FixedParametersValueType = double |
using | NumberOfParametersType = IdentifierType |
using | ParametersType = OptimizerParameters< ParametersValueType > |
using | ParametersValueType = TParametersValueType |
using | Pointer = SmartPointer< Self > |
using | Self = TransformBaseTemplate |
using | Superclass = Object |
enum | TransformCategoryType { UnknownTransformCategory =0, Linear =1, BSpline =2, Spline =3, DisplacementField =4, VelocityField =5 } |
Public Types inherited from itk::Object | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = Object |
using | Superclass = LightObject |
Public Types inherited from itk::LightObject | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = LightObject |
Static Public Attributes | |
static constexpr unsigned int | SpaceDimension = NDimensions |
static constexpr unsigned int | SplineOrder = VSplineOrder |
Static Public Attributes inherited from itk::Transform< TParametersValueType, NDimensions, NDimensions > | |
static constexpr unsigned int | InputSpaceDimension |
static constexpr unsigned int | OutputSpaceDimension |
Protected Attributes | |
CoefficientImageArray | m_CoefficientImages |
ParametersType | m_InternalParametersBuffer |
WeightsFunctionType::Pointer | m_WeightsFunction |
Protected Attributes inherited from itk::Transform< TParametersValueType, NDimensions, NDimensions > | |
DirectionChangeMatrix | m_DirectionChange |
FixedParametersType | m_FixedParameters |
ParametersType | m_Parameters |
Protected Attributes inherited from itk::LightObject | |
std::atomic< int > | m_ReferenceCount |
Static Private Member Functions | |
static CoefficientImageArray | ArrayOfImagePointerGeneratorHelper () |
Additional Inherited Members | |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
using itk::BSplineBaseTransform< TParametersValueType, NDimensions, VSplineOrder >::CoefficientImageArray = FixedArray<ImagePointer, NDimensions> |
Definition at line 178 of file itkBSplineBaseTransform.h.
using itk::BSplineBaseTransform< TParametersValueType, NDimensions, VSplineOrder >::ConstPointer = SmartPointer<const Self> |
Definition at line 46 of file itkBSplineBaseTransform.h.
using itk::BSplineBaseTransform< TParametersValueType, NDimensions, VSplineOrder >::ContinuousIndexType = typename WeightsFunctionType::ContinuousIndexType |
Definition at line 231 of file itkBSplineBaseTransform.h.
using itk::BSplineBaseTransform< TParametersValueType, NDimensions, VSplineOrder >::DerivativeType = typename Superclass::DerivativeType |
Definition at line 199 of file itkBSplineBaseTransform.h.
using itk::BSplineBaseTransform< TParametersValueType, NDimensions, VSplineOrder >::DirectionType = typename ImageType::DirectionType |
Definition at line 219 of file itkBSplineBaseTransform.h.
using itk::BSplineBaseTransform< TParametersValueType, NDimensions, VSplineOrder >::FixedParametersType = typename Superclass::FixedParametersType |
Standard parameters container.
Definition at line 64 of file itkBSplineBaseTransform.h.
using itk::BSplineBaseTransform< TParametersValueType, NDimensions, VSplineOrder >::ImagePointer = typename ImageType::Pointer |
Definition at line 177 of file itkBSplineBaseTransform.h.
using itk::BSplineBaseTransform< TParametersValueType, NDimensions, VSplineOrder >::ImageType = Image<ParametersValueType, Self::SpaceDimension > |
Definition at line 176 of file itkBSplineBaseTransform.h.
using itk::BSplineBaseTransform< TParametersValueType, NDimensions, VSplineOrder >::IndexType = typename RegionType::IndexType |
Definition at line 216 of file itkBSplineBaseTransform.h.
using itk::BSplineBaseTransform< TParametersValueType, NDimensions, VSplineOrder >::InputCovariantVectorType = CovariantVector<TParametersValueType, Self::SpaceDimension > |
Standard covariant vector type for this class.
Definition at line 83 of file itkBSplineBaseTransform.h.
using itk::BSplineBaseTransform< TParametersValueType, NDimensions, VSplineOrder >::InputPointType = Point <TParametersValueType, Self::SpaceDimension > |
Standard coordinate point type for this class.
Definition at line 91 of file itkBSplineBaseTransform.h.
using itk::BSplineBaseTransform< TParametersValueType, NDimensions, VSplineOrder >::InputVectorType = Vector<TParametersValueType, Self::SpaceDimension > |
Standard vector type for this class.
Definition at line 79 of file itkBSplineBaseTransform.h.
using itk::BSplineBaseTransform< TParametersValueType, NDimensions, VSplineOrder >::InputVnlVectorType = vnl_vector_fixed<TParametersValueType, SpaceDimension> |
Standard vnl_vector type for this class.
Definition at line 87 of file itkBSplineBaseTransform.h.
using itk::BSplineBaseTransform< TParametersValueType, NDimensions, VSplineOrder >::InverseJacobianPositionType = typename Superclass::InverseJacobianPositionType |
Definition at line 70 of file itkBSplineBaseTransform.h.
using itk::BSplineBaseTransform< TParametersValueType, NDimensions, VSplineOrder >::JacobianPositionType = typename Superclass::JacobianPositionType |
Definition at line 69 of file itkBSplineBaseTransform.h.
using itk::BSplineBaseTransform< TParametersValueType, NDimensions, VSplineOrder >::JacobianType = typename Superclass::JacobianType |
Standard Jacobian container.
Definition at line 68 of file itkBSplineBaseTransform.h.
using itk::BSplineBaseTransform< TParametersValueType, NDimensions, VSplineOrder >::MeshSizeType = SizeType |
Definition at line 308 of file itkBSplineBaseTransform.h.
using itk::BSplineBaseTransform< TParametersValueType, NDimensions, VSplineOrder >::NumberOfParametersType = typename Superclass::NumberOfParametersType |
The number of parameters defininig this transform.
Definition at line 76 of file itkBSplineBaseTransform.h.
using itk::BSplineBaseTransform< TParametersValueType, NDimensions, VSplineOrder >::OriginType = typename ImageType::PointType |
Definition at line 220 of file itkBSplineBaseTransform.h.
using itk::BSplineBaseTransform< TParametersValueType, NDimensions, VSplineOrder >::OutputCovariantVectorType = CovariantVector<TParametersValueType, Self::SpaceDimension > |
Definition at line 84 of file itkBSplineBaseTransform.h.
using itk::BSplineBaseTransform< TParametersValueType, NDimensions, VSplineOrder >::OutputPointType = Point <TParametersValueType, Self::SpaceDimension > |
Definition at line 92 of file itkBSplineBaseTransform.h.
using itk::BSplineBaseTransform< TParametersValueType, NDimensions, VSplineOrder >::OutputVectorType = Vector<TParametersValueType, Self::SpaceDimension > |
Definition at line 80 of file itkBSplineBaseTransform.h.
using itk::BSplineBaseTransform< TParametersValueType, NDimensions, VSplineOrder >::OutputVnlVectorType = vnl_vector_fixed<TParametersValueType, SpaceDimension> |
Definition at line 88 of file itkBSplineBaseTransform.h.
using itk::BSplineBaseTransform< TParametersValueType, NDimensions, VSplineOrder >::ParameterIndexArrayType = Array<unsigned long> |
Parameter index array type.
Definition at line 234 of file itkBSplineBaseTransform.h.
using itk::BSplineBaseTransform< TParametersValueType, NDimensions, VSplineOrder >::ParametersType = typename Superclass::ParametersType |
Definition at line 65 of file itkBSplineBaseTransform.h.
using itk::BSplineBaseTransform< TParametersValueType, NDimensions, VSplineOrder >::ParametersValueType = typename ParametersType::ValueType |
Parameters as SpaceDimension number of images.
Definition at line 175 of file itkBSplineBaseTransform.h.
using itk::BSplineBaseTransform< TParametersValueType, NDimensions, VSplineOrder >::PhysicalDimensionsType = typename ImageType::SpacingType |
Definition at line 305 of file itkBSplineBaseTransform.h.
using itk::BSplineBaseTransform< TParametersValueType, NDimensions, VSplineOrder >::PixelType = typename ImageType::PixelType |
Definition at line 306 of file itkBSplineBaseTransform.h.
using itk::BSplineBaseTransform< TParametersValueType, NDimensions, VSplineOrder >::Pointer = SmartPointer<Self> |
Definition at line 45 of file itkBSplineBaseTransform.h.
using itk::BSplineBaseTransform< TParametersValueType, NDimensions, VSplineOrder >::RegionType = ImageRegion<Self::SpaceDimension > |
Typedefs for specifying the extent of the grid.
Definition at line 214 of file itkBSplineBaseTransform.h.
using itk::BSplineBaseTransform< TParametersValueType, NDimensions, VSplineOrder >::ScalarType = typename Superclass::ScalarType |
Standard scalar type for this class.
Definition at line 61 of file itkBSplineBaseTransform.h.
using itk::BSplineBaseTransform< TParametersValueType, NDimensions, VSplineOrder >::Self = BSplineBaseTransform |
Standard class type aliases.
Definition at line 43 of file itkBSplineBaseTransform.h.
using itk::BSplineBaseTransform< TParametersValueType, NDimensions, VSplineOrder >::SizeType = typename RegionType::SizeType |
Definition at line 217 of file itkBSplineBaseTransform.h.
using itk::BSplineBaseTransform< TParametersValueType, NDimensions, VSplineOrder >::SpacingType = typename ImageType::SpacingType |
Definition at line 218 of file itkBSplineBaseTransform.h.
using itk::BSplineBaseTransform< TParametersValueType, NDimensions, VSplineOrder >::Superclass = Transform<TParametersValueType, NDimensions, NDimensions> |
Definition at line 44 of file itkBSplineBaseTransform.h.
using itk::BSplineBaseTransform< TParametersValueType, NDimensions, VSplineOrder >::TransformCategoryType = typename Superclass::TransformCategoryType |
Transform category type.
Definition at line 73 of file itkBSplineBaseTransform.h.
using itk::BSplineBaseTransform< TParametersValueType, NDimensions, VSplineOrder >::WeightsFunctionType = BSplineInterpolationWeightFunction<ScalarType, Self::SpaceDimension , Self::SplineOrder > |
Interpolation weights function type.
Definition at line 228 of file itkBSplineBaseTransform.h.
using itk::BSplineBaseTransform< TParametersValueType, NDimensions, VSplineOrder >::WeightsType = typename WeightsFunctionType::WeightsType |
Definition at line 230 of file itkBSplineBaseTransform.h.
|
protected |
|
overrideprotecteddefault |
|
staticprivate |
void itk::BSplineBaseTransform< TParametersValueType, NDimensions, VSplineOrder >::ComputeJacobianFromBSplineWeightsWithRespectToPosition | ( | const InputPointType & | , |
WeightsType & | , | ||
ParameterIndexArrayType & | |||
) | const |
Get Jacobian at a point. A very specialized function just for BSplines
|
overridepure virtual |
|
inlineoverride |
Definition at line 285 of file itkBSplineBaseTransform.h.
|
inline |
Get the array of coefficient images.
Definition at line 194 of file itkBSplineBaseTransform.h.
|
overridevirtual |
Get the Transformation Fixed Parameters.
Implements itk::TransformBaseTemplate< TParametersValueType >.
|
protectedvirtual |
Get/Set to allow subclasses to access and manipulate the weights function.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::Transform< TParametersValueType, NDimensions, NDimensions >.
Reimplemented in itk::BSplineDeformableTransform< TParametersValueType, NDimensions, VSplineOrder >, and itk::BSplineTransform< TParametersValueType, NDimensions, VSplineOrder >.
unsigned int itk::BSplineBaseTransform< TParametersValueType, NDimensions, VSplineOrder >::GetNumberOfAffectedWeights | ( | ) | const |
|
inlineoverridevirtual |
Return the number of local parameters
Reimplemented from itk::Transform< TParametersValueType, NDimensions, NDimensions >.
Definition at line 311 of file itkBSplineBaseTransform.h.
|
overridepure virtual |
Return the number of parameters that completely define the Transfom
Implements itk::TransformBaseTemplate< TParametersValueType >.
Implemented in itk::BSplineDeformableTransform< TParametersValueType, NDimensions, VSplineOrder >, and itk::BSplineTransform< TParametersValueType, NDimensions, VSplineOrder >.
|
pure virtual |
Return the number of parameters per dimension
Implemented in itk::BSplineDeformableTransform< TParametersValueType, NDimensions, VSplineOrder >, and itk::BSplineTransform< TParametersValueType, NDimensions, VSplineOrder >.
|
inline |
Get number of weights.
Definition at line 248 of file itkBSplineBaseTransform.h.
|
overridevirtual |
Get the Transformation Parameters.
Implements itk::TransformBaseTemplate< TParametersValueType >.
|
inlineoverridevirtual |
Get transform category
Implements itk::TransformBaseTemplate< TParametersValueType >.
Definition at line 298 of file itkBSplineBaseTransform.h.
|
protectedvirtual |
Get/Set to allow subclasses to access and manipulate the weights function.
|
protectedpure virtual |
Check if a continuous index is inside the valid region.
Implemented in itk::BSplineDeformableTransform< TParametersValueType, NDimensions, VSplineOrder >, and itk::BSplineTransform< TParametersValueType, NDimensions, VSplineOrder >.
itk::BSplineBaseTransform< TParametersValueType, NDimensions, VSplineOrder >::itkCloneMacro | ( | Self | ) |
implement type-specific clone method
|
overrideprotectedvirtual |
Print contents of an BSplineBaseTransform.
Reimplemented from itk::Object.
Reimplemented in itk::BSplineDeformableTransform< TParametersValueType, NDimensions, VSplineOrder >, and itk::BSplineTransform< TParametersValueType, NDimensions, VSplineOrder >.
|
protectedpure virtual |
Construct control point grid size from transform domain information
Implemented in itk::BSplineDeformableTransform< TParametersValueType, NDimensions, VSplineOrder >, and itk::BSplineTransform< TParametersValueType, NDimensions, VSplineOrder >.
|
pure virtual |
Set the array of coefficient images.
This is an alternative API for setting the BSpline coefficients as an array of SpaceDimension images. The fixed parameters are taken from the first image. It is assumed that the buffered region of all the subsequent images are the same as the first image. Note that no error checking is done.
Warning: use either the SetParameters() or SetCoefficientImages() API. Mixing the two modes may results in unexpected results.
Implemented in itk::BSplineDeformableTransform< TParametersValueType, NDimensions, VSplineOrder >, and itk::BSplineTransform< TParametersValueType, NDimensions, VSplineOrder >.
|
overridepure virtual |
This method sets the fixed parameters of the transform. For a BSpline deformation transform, the fixed parameters are the following: grid size, grid origin, grid spacing, and grid direction. However, all of these are set via the much more intuitive SetTransformDomainXXX() functions
The fixed parameters are the three times the size of the templated dimensions. This function has the effect of make the following non- existing functional calls: transform->SetGridSpacing( spacing ); transform->SetGridOrigin( origin ); transform->SetGridDirection( direction ); transform->SetGridRegion( bsplineRegion );
With recent updates to this transform, however, all these parameters are set indirectly by setting the transform domain parameters unless the user sets them with SetFixedParameters().
This function was added to allow the transform to work with the itkTransformReader/Writer I/O filters.
Implemented in itk::BSplineDeformableTransform< TParametersValueType, NDimensions, VSplineOrder >, and itk::BSplineTransform< TParametersValueType, NDimensions, VSplineOrder >.
|
protected |
Construct control point grid from transform domain information
|
protectedpure virtual |
Construct control point grid direction from transform domain information
Implemented in itk::BSplineDeformableTransform< TParametersValueType, NDimensions, VSplineOrder >, and itk::BSplineTransform< TParametersValueType, NDimensions, VSplineOrder >.
|
protectedpure virtual |
Construct control point grid origin from transform domain information
Implemented in itk::BSplineDeformableTransform< TParametersValueType, NDimensions, VSplineOrder >, and itk::BSplineTransform< TParametersValueType, NDimensions, VSplineOrder >.
|
protectedpure virtual |
Construct control point grid size from transform domain information
Implemented in itk::BSplineDeformableTransform< TParametersValueType, NDimensions, VSplineOrder >, and itk::BSplineTransform< TParametersValueType, NDimensions, VSplineOrder >.
|
protectedpure virtual |
Construct control point grid spacing from transform domain information
Implemented in itk::BSplineDeformableTransform< TParametersValueType, NDimensions, VSplineOrder >, and itk::BSplineTransform< TParametersValueType, NDimensions, VSplineOrder >.
void itk::BSplineBaseTransform< TParametersValueType, NDimensions, VSplineOrder >::SetIdentity | ( | ) |
This method can ONLY be invoked AFTER calling SetParameters(). This restriction is due to the fact that the BSplineBaseTransform does not copy the array of parameters internally, instead it keeps a pointer to the user-provided array of parameters. This method is also in violation of the const-correctness of the parameters since the parameter array has been passed to the transform on a 'const' basis but the values get modified when the user invokes SetIdentity().
|
override |
This method sets the parameters of the transform. For a BSpline deformation transform, the parameters are the BSpline coefficients on a sparse grid.
The parameters are N number of N-D grid of coefficients. Each N-D grid is represented as a flat array of scalars (in the same configuration as an itk::Image). The N arrays are then concatenated to form one parameter array.
For efficiency, this transform does not make a copy of the parameters. It only keeps a pointer to the input parameters. It assumes that the memory is managed by the caller. Use SetParametersByValue to force the transform to call copy the parameters.
This method wraps each grid as itk::Image's using the user specified fixed parameters. NOTE: The transform domain must be set first.
|
override |
This method sets the parameters of the transform. For a BSpline deformation transform, the parameters are the BSpline coefficients on a sparse grid.
The parameters are N number of N-D grid of coefficients. Each N-D grid is represented as a flat array of doubles (in the same configuration as an itk::Image). The N arrays are then concatenated to form one parameter array.
This methods makes a copy of the parameters while for efficiency the SetParameters method does not.
This method wraps each grid as itk::Image's using the user specified fixed parameters. NOTE: The fixed parameters must be set first.
|
protectedvirtual |
Get/Set to allow subclasses to access and manipulate the weights function.
|
inlineoverride |
Definition at line 272 of file itkBSplineBaseTransform.h.
|
override |
Transform points by a BSpline deformable transformation.
|
pure virtual |
Transform points by a BSpline deformable transformation. On return, weights contains the interpolation weights used to compute the deformation and indices of the x (zeroth) dimension coefficient parameters in the support region used to compute the deformation. Parameter indices for the i-th dimension can be obtained by adding ( i * this->GetNumberOfParametersPerDimension() ) to the indices array.
Implemented in itk::BSplineDeformableTransform< TParametersValueType, NDimensions, VSplineOrder >, and itk::BSplineTransform< TParametersValueType, NDimensions, VSplineOrder >.
|
inlineoverride |
Definition at line 256 of file itkBSplineBaseTransform.h.
|
inlineoverride |
Method to transform a vnl_vector - not applicable for this type of transform
Definition at line 264 of file itkBSplineBaseTransform.h.
|
override |
Update the transform's parameters by the adding values in update
to current parameter values. We assume update
is of the same length as Parameters. Throw exception otherwise. factor
is a scalar multiplier for each value in update. SetParameters is called at the end of this method, to allow transforms to perform any required operations on the update parameters, typically a converion to member variables for use in TransformPoint. Derived classes should override to provide specialized behavior.
|
protected |
Wrap flat array into images of coefficients.
|
protected |
Array of images representing the B-spline coefficients in each dimension wrapped from the flat parameters in m_InternalParametersBuffer
Definition at line 367 of file itkBSplineBaseTransform.h.
|
protected |
Internal parameters buffer.
Definition at line 370 of file itkBSplineBaseTransform.h.
|
protected |
Pointer to function used to compute Bspline interpolation weights.
Definition at line 373 of file itkBSplineBaseTransform.h.
|
static |
Dimension of the domain space.
Definition at line 52 of file itkBSplineBaseTransform.h.
|
static |
The BSpline order.
Definition at line 55 of file itkBSplineBaseTransform.h.