ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkBSplineBaseTransform.h>
A base class with common elements of BSplineTransform and BSplineDeformableTransform.
Definition at line 35 of file itkBSplineBaseTransform.h.
typedef FixedArray<ImagePointer, NDimensions> itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::CoefficientImageArray |
Reimplemented in itk::BSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, and itk::BSplineTransform< TScalarType, NDimensions, VSplineOrder >.
Definition at line 172 of file itkBSplineBaseTransform.h.
typedef SmartPointer<const Self> itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::ConstPointer |
Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >.
Reimplemented in itk::BSplineTransform< TScalarType, NDimensions, VSplineOrder >, and itk::BSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >.
Definition at line 43 of file itkBSplineBaseTransform.h.
typedef WeightsFunctionType::ContinuousIndexType itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::ContinuousIndexType |
Reimplemented in itk::BSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, and itk::BSplineTransform< TScalarType, NDimensions, VSplineOrder >.
Definition at line 225 of file itkBSplineBaseTransform.h.
typedef Superclass::DerivativeType itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::DerivativeType |
Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >.
Definition at line 193 of file itkBSplineBaseTransform.h.
typedef ImageType::DirectionType itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::DirectionType |
Reimplemented in itk::BSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, and itk::BSplineTransform< TScalarType, NDimensions, VSplineOrder >.
Definition at line 213 of file itkBSplineBaseTransform.h.
typedef ImageType::Pointer itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::ImagePointer |
Reimplemented in itk::BSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, and itk::BSplineTransform< TScalarType, NDimensions, VSplineOrder >.
Definition at line 171 of file itkBSplineBaseTransform.h.
typedef Image<ParametersValueType, itkGetStaticConstMacro( SpaceDimension )> itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::ImageType |
Reimplemented in itk::BSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, and itk::BSplineTransform< TScalarType, NDimensions, VSplineOrder >.
Definition at line 170 of file itkBSplineBaseTransform.h.
typedef RegionType::IndexType itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::IndexType |
Reimplemented in itk::BSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, and itk::BSplineTransform< TScalarType, NDimensions, VSplineOrder >.
Definition at line 210 of file itkBSplineBaseTransform.h.
typedef CovariantVector<TScalarType, itkGetStaticConstMacro( SpaceDimension )> itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::InputCovariantVectorType |
Standard covariant vector type for this class.
Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >.
Reimplemented in itk::BSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, and itk::BSplineTransform< TScalarType, NDimensions, VSplineOrder >.
Definition at line 75 of file itkBSplineBaseTransform.h.
typedef Point<TScalarType, itkGetStaticConstMacro( SpaceDimension )> itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::InputPointType |
Standard coordinate point type for this class.
Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >.
Reimplemented in itk::BSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, and itk::BSplineTransform< TScalarType, NDimensions, VSplineOrder >.
Definition at line 84 of file itkBSplineBaseTransform.h.
typedef Vector<TScalarType, itkGetStaticConstMacro( SpaceDimension )> itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::InputVectorType |
Standard vector type for this class.
Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >.
Reimplemented in itk::BSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, and itk::BSplineTransform< TScalarType, NDimensions, VSplineOrder >.
Definition at line 70 of file itkBSplineBaseTransform.h.
typedef vnl_vector_fixed<TScalarType, SpaceDimension> itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::InputVnlVectorType |
Standard vnl_vector type for this class.
Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >.
Reimplemented in itk::BSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, and itk::BSplineTransform< TScalarType, NDimensions, VSplineOrder >.
Definition at line 80 of file itkBSplineBaseTransform.h.
typedef Superclass::JacobianType itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::JacobianType |
Standard Jacobian container.
Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >.
Reimplemented in itk::BSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, and itk::BSplineTransform< TScalarType, NDimensions, VSplineOrder >.
Definition at line 64 of file itkBSplineBaseTransform.h.
typedef SizeType itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::MeshSizeType |
Reimplemented in itk::BSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, and itk::BSplineTransform< TScalarType, NDimensions, VSplineOrder >.
Definition at line 310 of file itkBSplineBaseTransform.h.
typedef Superclass::NumberOfParametersType itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::NumberOfParametersType |
The number of parameters defininig this transform.
Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >.
Reimplemented in itk::BSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, and itk::BSplineTransform< TScalarType, NDimensions, VSplineOrder >.
Definition at line 67 of file itkBSplineBaseTransform.h.
typedef ImageType::PointType itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::OriginType |
Reimplemented in itk::BSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, and itk::BSplineTransform< TScalarType, NDimensions, VSplineOrder >.
Definition at line 214 of file itkBSplineBaseTransform.h.
typedef CovariantVector<TScalarType, itkGetStaticConstMacro( SpaceDimension )> itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::OutputCovariantVectorType |
Standard covariant vector type for this class.
Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >.
Reimplemented in itk::BSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, and itk::BSplineTransform< TScalarType, NDimensions, VSplineOrder >.
Definition at line 76 of file itkBSplineBaseTransform.h.
typedef Point<TScalarType, itkGetStaticConstMacro( SpaceDimension )> itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::OutputPointType |
Standard coordinate point type for this class.
Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >.
Reimplemented in itk::BSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, and itk::BSplineTransform< TScalarType, NDimensions, VSplineOrder >.
Definition at line 85 of file itkBSplineBaseTransform.h.
typedef Vector<TScalarType, itkGetStaticConstMacro( SpaceDimension )> itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::OutputVectorType |
Standard vector type for this class.
Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >.
Reimplemented in itk::BSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, and itk::BSplineTransform< TScalarType, NDimensions, VSplineOrder >.
Definition at line 71 of file itkBSplineBaseTransform.h.
typedef vnl_vector_fixed<TScalarType, SpaceDimension> itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::OutputVnlVectorType |
Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >.
Reimplemented in itk::BSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, and itk::BSplineTransform< TScalarType, NDimensions, VSplineOrder >.
Definition at line 81 of file itkBSplineBaseTransform.h.
typedef Array<unsigned long> itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::ParameterIndexArrayType |
Parameter index array type.
Reimplemented in itk::BSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, and itk::BSplineTransform< TScalarType, NDimensions, VSplineOrder >.
Definition at line 228 of file itkBSplineBaseTransform.h.
typedef Superclass::ParametersType itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::ParametersType |
Standard parameters container.
Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >.
Reimplemented in itk::BSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, and itk::BSplineTransform< TScalarType, NDimensions, VSplineOrder >.
Definition at line 61 of file itkBSplineBaseTransform.h.
typedef ParametersType::ValueType itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::ParametersValueType |
Parameters as SpaceDimension number of images.
Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >.
Reimplemented in itk::BSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, and itk::BSplineTransform< TScalarType, NDimensions, VSplineOrder >.
Definition at line 169 of file itkBSplineBaseTransform.h.
typedef ImageType::SpacingType itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::PhysicalDimensionsType |
Reimplemented in itk::BSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, and itk::BSplineTransform< TScalarType, NDimensions, VSplineOrder >.
Definition at line 307 of file itkBSplineBaseTransform.h.
typedef ImageType::PixelType itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::PixelType |
Reimplemented in itk::BSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, and itk::BSplineTransform< TScalarType, NDimensions, VSplineOrder >.
Definition at line 308 of file itkBSplineBaseTransform.h.
typedef SmartPointer<Self> itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::Pointer |
Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >.
Reimplemented in itk::BSplineTransform< TScalarType, NDimensions, VSplineOrder >, and itk::BSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >.
Definition at line 42 of file itkBSplineBaseTransform.h.
typedef ImageRegion<itkGetStaticConstMacro( SpaceDimension )> itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::RegionType |
Typedefs for specifying the extent of the grid.
Reimplemented in itk::BSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, and itk::BSplineTransform< TScalarType, NDimensions, VSplineOrder >.
Definition at line 208 of file itkBSplineBaseTransform.h.
typedef Superclass::ScalarType itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::ScalarType |
Standard scalar type for this class.
Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >.
Reimplemented in itk::BSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, and itk::BSplineTransform< TScalarType, NDimensions, VSplineOrder >.
Definition at line 58 of file itkBSplineBaseTransform.h.
typedef BSplineBaseTransform itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::Self |
Standard class typedefs.
Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >.
Reimplemented in itk::BSplineTransform< TScalarType, NDimensions, VSplineOrder >, and itk::BSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >.
Definition at line 40 of file itkBSplineBaseTransform.h.
typedef RegionType::SizeType itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::SizeType |
Reimplemented in itk::BSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, and itk::BSplineTransform< TScalarType, NDimensions, VSplineOrder >.
Definition at line 211 of file itkBSplineBaseTransform.h.
typedef ImageType::SpacingType itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::SpacingType |
Reimplemented in itk::BSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, and itk::BSplineTransform< TScalarType, NDimensions, VSplineOrder >.
Definition at line 212 of file itkBSplineBaseTransform.h.
typedef Transform<TScalarType, NDimensions, NDimensions> itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::Superclass |
Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >.
Reimplemented in itk::BSplineTransform< TScalarType, NDimensions, VSplineOrder >, and itk::BSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >.
Definition at line 41 of file itkBSplineBaseTransform.h.
typedef BSplineInterpolationWeightFunction<ScalarType, itkGetStaticConstMacro( SpaceDimension ), itkGetStaticConstMacro( SplineOrder )> itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::WeightsFunctionType |
Interpolation weights function type.
Reimplemented in itk::BSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, and itk::BSplineTransform< TScalarType, NDimensions, VSplineOrder >.
Definition at line 222 of file itkBSplineBaseTransform.h.
typedef WeightsFunctionType::WeightsType itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::WeightsType |
Reimplemented in itk::BSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, and itk::BSplineTransform< TScalarType, NDimensions, VSplineOrder >.
Definition at line 224 of file itkBSplineBaseTransform.h.
itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::BSplineBaseTransform | ( | ) | [protected] |
virtual itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::~BSplineBaseTransform | ( | ) | [protected, virtual] |
itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::BSplineBaseTransform | ( | const Self & | ) | [private] |
CoefficientImageArray itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::ArrayOfImagePointerGeneratorHelper | ( | ) | const [private] |
void itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::ComputeJacobianFromBSplineWeightsWithRespectToPosition | ( | const InputPointType & | , |
WeightsType & | , | ||
ParameterIndexArrayType & | |||
) | const |
Get Jacobian at a point. A very specialized function just for BSplines
virtual void itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::ComputeJacobianWithRespectToParameters | ( | const InputPointType & | , |
JacobianType & | |||
) | const [pure virtual] |
virtual void itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::ComputeJacobianWithRespectToPosition | ( | const InputPointType & | , |
JacobianType & | |||
) | const [inline, virtual] |
Definition at line 283 of file itkBSplineBaseTransform.h.
const CoefficientImageArray itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::GetCoefficientImages | ( | ) | const [inline] |
Get the array of coefficient images.
Definition at line 188 of file itkBSplineBaseTransform.h.
virtual const ParametersType& itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::GetFixedParameters | ( | ) | const [virtual] |
Get the Transformation Fixed Parameters.
Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >.
virtual const char* itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information (and related methods).
Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >.
Reimplemented in itk::BSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, and itk::BSplineTransform< TScalarType, NDimensions, VSplineOrder >.
unsigned int itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::GetNumberOfAffectedWeights | ( | ) | const |
virtual NumberOfParametersType itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::GetNumberOfParameters | ( | ) | const [pure virtual] |
Return the number of parameters that completely define the Transfom
Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >.
Implemented in itk::BSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, and itk::BSplineTransform< TScalarType, NDimensions, VSplineOrder >.
virtual NumberOfParametersType itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::GetNumberOfParametersPerDimension | ( | ) | const [pure virtual] |
Return the number of parameters per dimension
Implemented in itk::BSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, and itk::BSplineTransform< TScalarType, NDimensions, VSplineOrder >.
unsigned long itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::GetNumberOfWeights | ( | ) | const [inline] |
Get number of weights.
Definition at line 242 of file itkBSplineBaseTransform.h.
virtual const ParametersType& itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::GetParameters | ( | ) | const [virtual] |
Get the Transformation Parameters.
Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >.
virtual WeightsFunctionType* itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::GetWeightsFunction | ( | ) | [protected, virtual] |
Allow subclasses to access and manipulate the weights function.
virtual bool itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::InsideValidRegion | ( | ContinuousIndexType & | ) | const [protected, pure virtual] |
Check if a continuous index is inside the valid region.
Implemented in itk::BSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, and itk::BSplineTransform< TScalarType, NDimensions, VSplineOrder >.
virtual bool itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::IsLinear | ( | ) | const [inline, virtual] |
Indicates that this transform is linear. That is, given two points P and Q, and scalar coefficients a and b, then
T( a*P + b*Q ) = a * T(P) + b * T(Q)
Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >.
Definition at line 300 of file itkBSplineBaseTransform.h.
itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::itkCloneMacro | ( | Self | ) |
implement type-specific clone method
Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >.
Reimplemented in itk::BSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >.
void itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::operator= | ( | const Self & | ) | [private] |
Mutex lock to protect modification to the reference count
Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >.
Reimplemented in itk::BSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, and itk::BSplineTransform< TScalarType, NDimensions, VSplineOrder >.
void itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::PrintSelf | ( | std::ostream & | os, |
Indent | indent | ||
) | const [protected, virtual] |
Print contents of an BSplineBaseTransform.
Reimplemented from itk::Object.
Reimplemented in itk::BSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, and itk::BSplineTransform< TScalarType, NDimensions, VSplineOrder >.
virtual void itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::SetCoefficientImageInformationFromFixedParameters | ( | ) | [protected, pure virtual] |
Construct control point grid size from transform domain information
Implemented in itk::BSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, and itk::BSplineTransform< TScalarType, NDimensions, VSplineOrder >.
virtual void itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::SetCoefficientImages | ( | const CoefficientImageArray & | images | ) | [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< TScalarType, NDimensions, VSplineOrder >, and itk::BSplineTransform< TScalarType, NDimensions, VSplineOrder >.
virtual void itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::SetFixedParameters | ( | const ParametersType & | parameters | ) | [pure 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.
Implements itk::Transform< TScalarType, NDimensions, NDimensions >.
void itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::SetFixedParametersFromTransformDomainInformation | ( | ) | const [protected] |
Construct control point grid from transform domain information
virtual void itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::SetFixedParametersGridDirectionFromTransformDomainInformation | ( | ) | const [protected, pure virtual] |
Construct control point grid direction from transform domain information
Implemented in itk::BSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, and itk::BSplineTransform< TScalarType, NDimensions, VSplineOrder >.
virtual void itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::SetFixedParametersGridOriginFromTransformDomainInformation | ( | ) | const [protected, pure virtual] |
Construct control point grid origin from transform domain information
Implemented in itk::BSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, and itk::BSplineTransform< TScalarType, NDimensions, VSplineOrder >.
virtual void itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::SetFixedParametersGridSizeFromTransformDomainInformation | ( | ) | const [protected, pure virtual] |
Construct control point grid size from transform domain information
Implemented in itk::BSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, and itk::BSplineTransform< TScalarType, NDimensions, VSplineOrder >.
virtual void itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::SetFixedParametersGridSpacingFromTransformDomainInformation | ( | ) | const [protected, pure virtual] |
Construct control point grid spacing from transform domain information
Implemented in itk::BSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, and itk::BSplineTransform< TScalarType, NDimensions, VSplineOrder >.
void itk::BSplineBaseTransform< TScalarType, 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().
void itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::SetParameters | ( | const ParametersType & | parameters | ) | [virtual] |
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.
Implements itk::Transform< TScalarType, NDimensions, NDimensions >.
void itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::SetParametersByValue | ( | const ParametersType & | parameters | ) | [virtual] |
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.
Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >.
virtual void itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::SetWeightsFunction | ( | WeightsFunctionType * | _arg | ) | [protected, virtual] |
Allow subclasses to access and manipulate the weights function.
virtual OutputCovariantVectorType itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::TransformCovariantVector | ( | const InputCovariantVectorType & | ) | const [inline, virtual] |
Method to transform a CovariantVector.
Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >.
Definition at line 269 of file itkBSplineBaseTransform.h.
OutputPointType itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::TransformPoint | ( | const InputPointType & | point | ) | const [virtual] |
Transform points by a BSpline deformable transformation.
Implements itk::Transform< TScalarType, NDimensions, NDimensions >.
virtual void itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::TransformPoint | ( | const InputPointType & | inputPoint, |
OutputPointType & | outputPoint, | ||
WeightsType & | weights, | ||
ParameterIndexArrayType & | indices, | ||
bool & | inside | ||
) | const [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< TScalarType, NDimensions, VSplineOrder >, and itk::BSplineTransform< TScalarType, NDimensions, VSplineOrder >.
virtual OutputVectorType itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::TransformVector | ( | const InputVectorType & | ) | const [inline, virtual] |
Method to transform a vector.
Reimplemented from itk::Transform< TScalarType, NDimensions, NDimensions >.
Definition at line 250 of file itkBSplineBaseTransform.h.
virtual OutputVnlVectorType itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::TransformVector | ( | const InputVnlVectorType & | ) | const [inline, virtual] |
Method to transform a vnl_vector - not applicable for this type of transform
Definition at line 259 of file itkBSplineBaseTransform.h.
virtual void itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::UpdateTransformParameters | ( | DerivativeType & | update, |
TScalarType | factor = 1.0 |
||
) | [virtual] |
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.
void itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::WrapAsImages | ( | ) | [protected] |
Wrap flat array into images of coefficients.
CoefficientImageArray itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::m_CoefficientImages [protected] |
Array of images representing the B-spline coefficients in each dimension wrapped from the flat parameters in m_InternalParametersBuffer
Definition at line 365 of file itkBSplineBaseTransform.h.
const ParametersType* itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::m_InputParametersPointer [protected] |
Keep a pointer to the input parameters.
Definition at line 368 of file itkBSplineBaseTransform.h.
ParametersType itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::m_InternalParametersBuffer [protected] |
Internal parameters buffer.
Definition at line 371 of file itkBSplineBaseTransform.h.
WeightsFunctionType::Pointer itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::m_WeightsFunction [protected] |
Pointer to function used to compute Bspline interpolation weights.
Definition at line 375 of file itkBSplineBaseTransform.h.
const unsigned int itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::SpaceDimension = NDimensions [static] |
Dimension of the domain space.
Reimplemented in itk::BSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, and itk::BSplineTransform< TScalarType, NDimensions, VSplineOrder >.
Definition at line 49 of file itkBSplineBaseTransform.h.
const unsigned int itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::SplineOrder = VSplineOrder [static] |
The BSpline order.
Reimplemented in itk::BSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, and itk::BSplineTransform< TScalarType, NDimensions, VSplineOrder >.
Definition at line 52 of file itkBSplineBaseTransform.h.