ITK
4.8.0
Insight Segmentation and Registration Toolkit
|
#include <itkBSplineDeformableTransform.h>
Deformable transform using a BSpline representation.
This class encapsulates a deformable transform of points from one N-dimensional space to another N-dimensional space. The deformation field is modelled using B-splines. A deformation is defined on a sparse regular grid of control points and is varied by defining a deformation of each control point. The deformation at any point is obtained by using a B-spline interpolation kernel.
The deformation field grid is defined by a user specified GridRegion, GridSpacing and GridOrigin. Each grid/control point has associated with it N deformation coefficients , representing the N directional components of the deformation. Deformation outside the grid plus support region for the BSpline interpolation is assumed to be zero.
Additionally, the user can specified an addition bulk transform such that the transformed point is given by:
The parameters for this transform is an N x N-D grid of spline coefficients. The user specifies the parameters as one flat array: each N-D grid is represented by an array in the same way an N-D image is represented in the buffer; the N arrays are then concatentated together on form a single array.
For efficiency, this transform does not make a copy of the parameters. It only keeps a pointer to the input parameters and assumes that the memory is managed by the caller.
The following illustrates the typical usage of this class:
* typedef BSplineDeformableTransform<double,2,3> TransformType; * TransformType::Pointer transform = TransformType::New(); * * transform->SetGridRegion( region ); * transform->SetGridSpacing( spacing ); * transform->SetGridOrigin( origin ); * * // NB: the region must be set first before setting the parameters * * TransformType::ParametersType parameters( * transform->GetNumberOfParameters() ); * * // Fill the parameters with values * * transform->SetParameters( parameters ) * * outputPoint = transform->TransformPoint( inputPoint ); * *
An alternative way to set the B-spline coefficients is via array of images. The grid region, spacing and origin information is taken directly from the first image. It is assumed that the subsequent images are the same buffered region. The following illustrates the API:
* * TransformType::ImageConstPointer images[2]; * * // Fill the images up with values * * transform->SetCoefficientImages( images ); * outputPoint = transform->TransformPoint( inputPoint ); * *
Warning: use either the SetParameters() or SetCoefficientImages() API. Mixing the two modes may results in unexpected results.
The class is templated coordinate representation type (float or double), the space dimension and the spline order.
Definition at line 116 of file itkBSplineDeformableTransform.h.
Public Types | |
typedef BulkTransformType::ConstPointer | BulkTransformPointer |
typedef Transform < TParametersValueType, itkGetStaticConstMacro(SpaceDimension), itkGetStaticConstMacro(SpaceDimension)> | BulkTransformType |
typedef Superclass::CoefficientImageArray | CoefficientImageArray |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::ContinuousIndexType | ContinuousIndexType |
typedef Superclass::DirectionType | DirectionType |
typedef Superclass::FixedParametersType | FixedParametersType |
typedef Superclass::ImagePointer | ImagePointer |
typedef Superclass::ImageType | ImageType |
typedef Superclass::IndexType | IndexType |
typedef Superclass::InputCovariantVectorType | InputCovariantVectorType |
typedef Superclass::InputVectorType | InputVectorType |
typedef Superclass::InputVnlVectorType | InputVnlVectorType |
typedef Superclass::JacobianType | JacobianType |
typedef Superclass::MeshSizeType | MeshSizeType |
typedef Superclass::NumberOfParametersType | NumberOfParametersType |
typedef Superclass::OriginType | OriginType |
typedef Superclass::OutputCovariantVectorType | OutputCovariantVectorType |
typedef Superclass::OutputVectorType | OutputVectorType |
typedef Superclass::OutputVnlVectorType | OutputVnlVectorType |
typedef Superclass::ParameterIndexArrayType | ParameterIndexArrayType |
typedef Superclass::ParametersType | ParametersType |
typedef Superclass::ParametersValueType | ParametersValueType |
typedef Superclass::SpacingType | PhysicalDimensionsType |
typedef Superclass::PixelType | PixelType |
typedef SmartPointer< Self > | Pointer |
typedef Superclass::RegionType | RegionType |
typedef TParametersValueType | ScalarType |
typedef BSplineDeformableTransform | Self |
typedef Superclass::SizeType | SizeType |
typedef Superclass::SpacingType | SpacingType |
typedef BSplineBaseTransform < TParametersValueType, NDimensions, VSplineOrder > | Superclass |
typedef Superclass::WeightsFunctionType | WeightsFunctionType |
typedef Superclass::WeightsType | WeightsType |
typedef Point < TParametersValueType, itkGetStaticConstMacro(SpaceDimension)> | InputPointType |
typedef Point < TParametersValueType, itkGetStaticConstMacro(SpaceDimension)> | OutputPointType |
Public Types inherited from itk::BSplineBaseTransform< TParametersValueType, NDimensions, VSplineOrder > | |
typedef FixedArray < ImagePointer, NDimensions > | CoefficientImageArray |
typedef SmartPointer< const Self > | ConstPointer |
typedef WeightsFunctionType::ContinuousIndexType | ContinuousIndexType |
typedef Superclass::DerivativeType | DerivativeType |
typedef ImageType::DirectionType | DirectionType |
typedef Superclass::FixedParametersType | FixedParametersType |
typedef ImageType::Pointer | ImagePointer |
typedef Image < ParametersValueType, itkGetStaticConstMacro(SpaceDimension)> | ImageType |
typedef RegionType::IndexType | IndexType |
typedef vnl_vector_fixed < TParametersValueType, SpaceDimension > | InputVnlVectorType |
typedef Superclass::JacobianType | JacobianType |
typedef SizeType | MeshSizeType |
typedef Superclass::NumberOfParametersType | NumberOfParametersType |
typedef ImageType::PointType | OriginType |
typedef vnl_vector_fixed < TParametersValueType, SpaceDimension > | OutputVnlVectorType |
typedef Array< unsigned long > | ParameterIndexArrayType |
typedef Superclass::ParametersType | ParametersType |
typedef ParametersType::ValueType | ParametersValueType |
typedef ImageType::SpacingType | PhysicalDimensionsType |
typedef ImageType::PixelType | PixelType |
typedef SmartPointer< Self > | Pointer |
typedef ImageRegion < itkGetStaticConstMacro(SpaceDimension)> | RegionType |
typedef Superclass::ScalarType | ScalarType |
typedef BSplineBaseTransform | Self |
typedef RegionType::SizeType | SizeType |
typedef ImageType::SpacingType | SpacingType |
typedef Transform < TParametersValueType, NDimensions, NDimensions > | Superclass |
typedef Superclass::TransformCategoryType | TransformCategoryType |
typedef BSplineInterpolationWeightFunction < ScalarType, itkGetStaticConstMacro(SpaceDimension), itkGetStaticConstMacro(SplineOrder)> | WeightsFunctionType |
typedef WeightsFunctionType::WeightsType | WeightsType |
typedef Vector < TParametersValueType, itkGetStaticConstMacro(SpaceDimension)> | InputVectorType |
typedef Vector < TParametersValueType, itkGetStaticConstMacro(SpaceDimension)> | OutputVectorType |
typedef CovariantVector < TParametersValueType, itkGetStaticConstMacro(SpaceDimension)> | InputCovariantVectorType |
typedef CovariantVector < TParametersValueType, itkGetStaticConstMacro(SpaceDimension)> | OutputCovariantVectorType |
typedef Point < TParametersValueType, itkGetStaticConstMacro(SpaceDimension)> | InputPointType |
typedef Point < TParametersValueType, itkGetStaticConstMacro(SpaceDimension)> | OutputPointType |
Public Types inherited from itk::Transform< TParametersValueType, NDimensions, NDimensions > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef Array < ParametersValueType > | DerivativeType |
typedef Matrix< double, itkGetStaticConstMacro(OutputSpaceDimension), itkGetStaticConstMacro(InputSpaceDimension)> | DirectionChangeMatrix |
typedef Superclass::FixedParametersType | FixedParametersType |
typedef Superclass::FixedParametersValueType | FixedParametersValueType |
typedef CovariantVector < TParametersValueType, NInputDimensions > | InputCovariantVectorType |
typedef DiffusionTensor3D < TParametersValueType > | InputDiffusionTensor3DType |
typedef Matrix< double, itkGetStaticConstMacro(InputSpaceDimension), itkGetStaticConstMacro(InputSpaceDimension)> | InputDirectionMatrix |
typedef Point < TParametersValueType, NInputDimensions > | InputPointType |
typedef SymmetricSecondRankTensor < TParametersValueType, NInputDimensions > | InputSymmetricSecondRankTensorType |
typedef VariableLengthVector < TParametersValueType > | InputVectorPixelType |
typedef Vector < TParametersValueType, NInputDimensions > | InputVectorType |
typedef vnl_vector_fixed < TParametersValueType, NInputDimensions > | InputVnlVectorType |
typedef InverseTransformBaseType::Pointer | InverseTransformBasePointer |
typedef Transform < TParametersValueType, NOutputDimensions, NInputDimensions > | InverseTransformBaseType |
typedef Array2D < ParametersValueType > | JacobianType |
typedef Matrix < TParametersValueType, itkGetStaticConstMacro(OutputSpaceDimension), itkGetStaticConstMacro(InputSpaceDimension)> | MatrixType |
typedef Superclass::NumberOfParametersType | NumberOfParametersType |
typedef CovariantVector < TParametersValueType, NOutputDimensions > | OutputCovariantVectorType |
typedef DiffusionTensor3D < TParametersValueType > | OutputDiffusionTensor3DType |
typedef Matrix< double, itkGetStaticConstMacro(OutputSpaceDimension), itkGetStaticConstMacro(OutputSpaceDimension)> | OutputDirectionMatrix |
typedef Point < TParametersValueType, NOutputDimensions > | OutputPointType |
typedef SymmetricSecondRankTensor < TParametersValueType, NOutputDimensions > | OutputSymmetricSecondRankTensorType |
typedef VariableLengthVector < TParametersValueType > | OutputVectorPixelType |
typedef Vector < TParametersValueType, NOutputDimensions > | OutputVectorType |
typedef vnl_vector_fixed < TParametersValueType, NOutputDimensions > | OutputVnlVectorType |
typedef Superclass::ParametersType | ParametersType |
typedef Superclass::ParametersValueType | ParametersValueType |
typedef SmartPointer< Self > | Pointer |
typedef ParametersValueType | ScalarType |
typedef Transform | Self |
typedef TransformBaseTemplate < TParametersValueType > | Superclass |
typedef Superclass::TransformCategoryType | TransformCategoryType |
Public Types inherited from itk::TransformBaseTemplate< TParametersValueType > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef OptimizerParameters < FixedParametersValueType > | FixedParametersType |
typedef ParametersValueType | FixedParametersValueType |
typedef IdentifierType | NumberOfParametersType |
typedef OptimizerParameters < ParametersValueType > | ParametersType |
typedef TParametersValueType | ParametersValueType |
typedef SmartPointer< Self > | Pointer |
typedef TransformBaseTemplate | Self |
typedef Object | Superclass |
enum | TransformCategoryType { UnknownTransformCategory =0, Linear =1, BSpline =2, Spline =3, DisplacementField =4, VelocityField =5 } |
Public Types inherited from itk::Object | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef Object | Self |
typedef LightObject | Superclass |
Public Types inherited from itk::LightObject | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef LightObject | Self |
Static Public Attributes | |
static const unsigned int | SpaceDimension = NDimensions |
static const unsigned int | SplineOrder = VSplineOrder |
Static Public Attributes inherited from itk::BSplineBaseTransform< TParametersValueType, NDimensions, VSplineOrder > | |
static const unsigned int | SpaceDimension = NDimensions |
static const unsigned int | SplineOrder = VSplineOrder |
Static Public Attributes inherited from itk::Transform< TParametersValueType, NDimensions, NDimensions > | |
static const unsigned int | InputSpaceDimension |
static const unsigned int | OutputSpaceDimension |
Private Member Functions | |
BSplineDeformableTransform (const Self &) | |
virtual bool | InsideValidRegion (ContinuousIndexType &) const override |
void | operator= (const Self &) |
virtual void | SetCoefficientImageInformationFromFixedParameters () override |
virtual void | SetFixedParametersGridDirectionFromTransformDomainInformation () const override |
virtual void | SetFixedParametersGridOriginFromTransformDomainInformation () const override |
virtual void | SetFixedParametersGridSizeFromTransformDomainInformation () const override |
virtual void | SetFixedParametersGridSpacingFromTransformDomainInformation () const override |
void | UpdateValidGridRegion () |
Private Attributes | |
BulkTransformPointer | m_BulkTransform |
const DirectionType & | m_GridDirection |
const OriginType & | m_GridOrigin |
const RegionType & | m_GridRegion |
const SpacingType & | m_GridSpacing |
unsigned long | m_Offset |
bool | m_SplineOrderOdd |
RegionType | m_ValidRegion |
IndexType | m_ValidRegionFirst |
IndexType | m_ValidRegionLast |
static Pointer | New () |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const override |
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 () |
Protected Attributes inherited from itk::BSplineBaseTransform< TParametersValueType, NDimensions, VSplineOrder > | |
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 | |
AtomicInt< int > | m_ReferenceCount |
typedef BulkTransformType::ConstPointer itk::BSplineDeformableTransform< TParametersValueType, NDimensions, VSplineOrder >::BulkTransformPointer |
Definition at line 307 of file itkBSplineDeformableTransform.h.
typedef Transform<TParametersValueType, itkGetStaticConstMacro(SpaceDimension), itkGetStaticConstMacro(SpaceDimension)> itk::BSplineDeformableTransform< TParametersValueType, NDimensions, VSplineOrder >::BulkTransformType |
Definition at line 302 of file itkBSplineDeformableTransform.h.
typedef Superclass::CoefficientImageArray itk::BSplineDeformableTransform< TParametersValueType, NDimensions, VSplineOrder >::CoefficientImageArray |
Definition at line 209 of file itkBSplineDeformableTransform.h.
typedef SmartPointer<const Self> itk::BSplineDeformableTransform< TParametersValueType, NDimensions, VSplineOrder >::ConstPointer |
Definition at line 124 of file itkBSplineDeformableTransform.h.
typedef Superclass::ContinuousIndexType itk::BSplineDeformableTransform< TParametersValueType, NDimensions, VSplineOrder >::ContinuousIndexType |
Definition at line 249 of file itkBSplineDeformableTransform.h.
typedef Superclass::DirectionType itk::BSplineDeformableTransform< TParametersValueType, NDimensions, VSplineOrder >::DirectionType |
Definition at line 242 of file itkBSplineDeformableTransform.h.
typedef Superclass::FixedParametersType itk::BSplineDeformableTransform< TParametersValueType, NDimensions, VSplineOrder >::FixedParametersType |
Standard parameters container.
Definition at line 159 of file itkBSplineDeformableTransform.h.
typedef Superclass::ImagePointer itk::BSplineDeformableTransform< TParametersValueType, NDimensions, VSplineOrder >::ImagePointer |
Definition at line 208 of file itkBSplineDeformableTransform.h.
typedef Superclass::ImageType itk::BSplineDeformableTransform< TParametersValueType, NDimensions, VSplineOrder >::ImageType |
Definition at line 207 of file itkBSplineDeformableTransform.h.
typedef Superclass::IndexType itk::BSplineDeformableTransform< TParametersValueType, NDimensions, VSplineOrder >::IndexType |
Definition at line 239 of file itkBSplineDeformableTransform.h.
typedef Superclass::InputCovariantVectorType itk::BSplineDeformableTransform< TParametersValueType, NDimensions, VSplineOrder >::InputCovariantVectorType |
Standard covariant vector type for this class.
Definition at line 173 of file itkBSplineDeformableTransform.h.
typedef Point<TParametersValueType, itkGetStaticConstMacro( SpaceDimension )> itk::BSplineDeformableTransform< TParametersValueType, NDimensions, VSplineOrder >::InputPointType |
Standard coordinate point type for this class.
Definition at line 181 of file itkBSplineDeformableTransform.h.
typedef Superclass::InputVectorType itk::BSplineDeformableTransform< TParametersValueType, NDimensions, VSplineOrder >::InputVectorType |
Standard vector type for this class.
Definition at line 169 of file itkBSplineDeformableTransform.h.
typedef Superclass::InputVnlVectorType itk::BSplineDeformableTransform< TParametersValueType, NDimensions, VSplineOrder >::InputVnlVectorType |
Standard vnl_vector type for this class.
Definition at line 177 of file itkBSplineDeformableTransform.h.
typedef Superclass::JacobianType itk::BSplineDeformableTransform< TParametersValueType, NDimensions, VSplineOrder >::JacobianType |
Standard Jacobian container.
Definition at line 163 of file itkBSplineDeformableTransform.h.
typedef Superclass::MeshSizeType itk::BSplineDeformableTransform< TParametersValueType, NDimensions, VSplineOrder >::MeshSizeType |
Definition at line 278 of file itkBSplineDeformableTransform.h.
typedef Superclass::NumberOfParametersType itk::BSplineDeformableTransform< TParametersValueType, NDimensions, VSplineOrder >::NumberOfParametersType |
The number of parameters defininig this transform.
Definition at line 166 of file itkBSplineDeformableTransform.h.
typedef Superclass::OriginType itk::BSplineDeformableTransform< TParametersValueType, NDimensions, VSplineOrder >::OriginType |
Definition at line 243 of file itkBSplineDeformableTransform.h.
typedef Superclass::OutputCovariantVectorType itk::BSplineDeformableTransform< TParametersValueType, NDimensions, VSplineOrder >::OutputCovariantVectorType |
Definition at line 174 of file itkBSplineDeformableTransform.h.
typedef Point<TParametersValueType, itkGetStaticConstMacro( SpaceDimension )> itk::BSplineDeformableTransform< TParametersValueType, NDimensions, VSplineOrder >::OutputPointType |
Standard coordinate point type for this class.
Definition at line 182 of file itkBSplineDeformableTransform.h.
typedef Superclass::OutputVectorType itk::BSplineDeformableTransform< TParametersValueType, NDimensions, VSplineOrder >::OutputVectorType |
Definition at line 170 of file itkBSplineDeformableTransform.h.
typedef Superclass::OutputVnlVectorType itk::BSplineDeformableTransform< TParametersValueType, NDimensions, VSplineOrder >::OutputVnlVectorType |
Definition at line 178 of file itkBSplineDeformableTransform.h.
typedef Superclass::ParameterIndexArrayType itk::BSplineDeformableTransform< TParametersValueType, NDimensions, VSplineOrder >::ParameterIndexArrayType |
Parameter index array type.
Definition at line 252 of file itkBSplineDeformableTransform.h.
typedef Superclass::ParametersType itk::BSplineDeformableTransform< TParametersValueType, NDimensions, VSplineOrder >::ParametersType |
Definition at line 160 of file itkBSplineDeformableTransform.h.
typedef Superclass::ParametersValueType itk::BSplineDeformableTransform< TParametersValueType, NDimensions, VSplineOrder >::ParametersValueType |
Parameters as SpaceDimension number of images.
Definition at line 206 of file itkBSplineDeformableTransform.h.
typedef Superclass::SpacingType itk::BSplineDeformableTransform< TParametersValueType, NDimensions, VSplineOrder >::PhysicalDimensionsType |
Definition at line 275 of file itkBSplineDeformableTransform.h.
typedef Superclass::PixelType itk::BSplineDeformableTransform< TParametersValueType, NDimensions, VSplineOrder >::PixelType |
Definition at line 276 of file itkBSplineDeformableTransform.h.
typedef SmartPointer<Self> itk::BSplineDeformableTransform< TParametersValueType, NDimensions, VSplineOrder >::Pointer |
Definition at line 123 of file itkBSplineDeformableTransform.h.
typedef Superclass::RegionType itk::BSplineDeformableTransform< TParametersValueType, NDimensions, VSplineOrder >::RegionType |
Typedefs for specifying the extent of the grid.
Definition at line 237 of file itkBSplineDeformableTransform.h.
typedef TParametersValueType itk::BSplineDeformableTransform< TParametersValueType, NDimensions, VSplineOrder >::ScalarType |
Standard scalar type for this class.
Definition at line 156 of file itkBSplineDeformableTransform.h.
typedef BSplineDeformableTransform itk::BSplineDeformableTransform< TParametersValueType, NDimensions, VSplineOrder >::Self |
Standard class typedefs.
Definition at line 121 of file itkBSplineDeformableTransform.h.
typedef Superclass::SizeType itk::BSplineDeformableTransform< TParametersValueType, NDimensions, VSplineOrder >::SizeType |
Definition at line 240 of file itkBSplineDeformableTransform.h.
typedef Superclass::SpacingType itk::BSplineDeformableTransform< TParametersValueType, NDimensions, VSplineOrder >::SpacingType |
Definition at line 241 of file itkBSplineDeformableTransform.h.
typedef BSplineBaseTransform<TParametersValueType,NDimensions,VSplineOrder> itk::BSplineDeformableTransform< TParametersValueType, NDimensions, VSplineOrder >::Superclass |
Definition at line 122 of file itkBSplineDeformableTransform.h.
typedef Superclass::WeightsFunctionType itk::BSplineDeformableTransform< TParametersValueType, NDimensions, VSplineOrder >::WeightsFunctionType |
Interpolation weights function type.
Definition at line 246 of file itkBSplineDeformableTransform.h.
typedef Superclass::WeightsType itk::BSplineDeformableTransform< TParametersValueType, NDimensions, VSplineOrder >::WeightsType |
Definition at line 248 of file itkBSplineDeformableTransform.h.
|
protected |
|
protectedvirtual |
|
private |
|
overridevirtual |
|
inlineoverridevirtual |
New macro for creation of through the object factory.
Reimplemented from itk::Object.
Definition at line 132 of file itkBSplineDeformableTransform.h.
References itk::BSplineDeformableTransform< TParametersValueType, NDimensions, VSplineOrder >::GetBulkTransform(), itk::SmartPointer< TObjectType >::GetPointer(), and itk::BSplineDeformableTransform< TParametersValueType, NDimensions, VSplineOrder >::New().
|
virtual |
This method specifies the bulk transform to be applied. The default is the identity transform.
Referenced by itk::BSplineDeformableTransform< TParametersValueType, NDimensions, VSplineOrder >::CreateAnother().
|
virtual |
Function to retrieve the transform domain direction.
|
virtual |
Function to retrieve the transform domain origin.
|
virtual |
Function to retrieve the transform domain mesh size.
|
virtual |
This method retrieve the grid spacing or resolution.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::BSplineBaseTransform< TParametersValueType, NDimensions, VSplineOrder >.
|
overridevirtual |
Return the number of parameters that completely define the Transfom
Implements itk::BSplineBaseTransform< TParametersValueType, NDimensions, VSplineOrder >.
|
overridevirtual |
Return the number of parameters per dimension
Implements itk::BSplineBaseTransform< TParametersValueType, NDimensions, VSplineOrder >.
|
virtual |
Return the region of the grid wholly within the support region
|
overrideprivatevirtual |
Check if a continuous index is inside the valid region.
Implements itk::BSplineBaseTransform< TParametersValueType, NDimensions, VSplineOrder >.
itk::BSplineDeformableTransform< TParametersValueType, NDimensions, VSplineOrder >::itkCloneMacro | ( | Self | ) |
implement type-specific clone method
|
static |
New macro for creation of through the object factory.
Referenced by itk::BSplineDeformableTransform< TParametersValueType, NDimensions, VSplineOrder >::CreateAnother().
|
private |
|
overrideprotectedvirtual |
Print contents of an BSplineDeformableTransform.
Reimplemented from itk::BSplineBaseTransform< TParametersValueType, NDimensions, VSplineOrder >.
|
virtual |
This method specifies the bulk transform to be applied. The default is the identity transform.
|
overrideprivatevirtual |
Construct control point grid size from transform domain information
Implements itk::BSplineBaseTransform< TParametersValueType, NDimensions, VSplineOrder >.
|
overridevirtual |
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.
Implements itk::BSplineBaseTransform< TParametersValueType, NDimensions, VSplineOrder >.
|
overridevirtual |
This method sets the fixed parameters of the transform. For a BSpline deformation transform, the parameters are the following: Grid Size, Grid Origin, and Grid Spacing
The fixed parameters are the three times the size of the templated dimensions. This function has the effect of make the following calls: transform->SetGridSpacing( spacing ); transform->SetGridOrigin( origin ); transform->SetGridDirection( direction ); transform->SetGridRegion( bsplineRegion );
This function was added to allow the transform to work with the itkTransformReader/Writer I/O filters.
Implements itk::BSplineBaseTransform< TParametersValueType, NDimensions, VSplineOrder >.
|
overrideprivatevirtual |
Construct control point grid direction from transform domain information
Implements itk::BSplineBaseTransform< TParametersValueType, NDimensions, VSplineOrder >.
|
overrideprivatevirtual |
Construct control point grid origin from transform domain information
Implements itk::BSplineBaseTransform< TParametersValueType, NDimensions, VSplineOrder >.
|
overrideprivatevirtual |
Construct control point grid size from transform domain information
Implements itk::BSplineBaseTransform< TParametersValueType, NDimensions, VSplineOrder >.
|
overrideprivatevirtual |
Construct control point grid spacing from transform domain information
Implements itk::BSplineBaseTransform< TParametersValueType, NDimensions, VSplineOrder >.
|
virtual |
Function to specify the transform domain direction.
|
virtual |
Function to specify the transform domain origin.
|
virtual |
Function to specify the transform domain mesh size.
|
virtual |
This method specifies the grid spacing or resolution.
|
overridevirtual |
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.
Implements itk::BSplineBaseTransform< TParametersValueType, NDimensions, VSplineOrder >.
|
private |
|
private |
The bulk transform.
Definition at line 362 of file itkBSplineDeformableTransform.h.
|
private |
Definition at line 359 of file itkBSplineDeformableTransform.h.
|
private |
Definition at line 357 of file itkBSplineDeformableTransform.h.
|
private |
The variables defining the coefficient grid domain for the InternalParametersBuffer are taken from the m_CoefficientImages[0] image, and must be kept in sync with them. by using references to that instance, this is more naturally enforced and does not introduce a speed penalty of dereferencing through the pointers (although it does enforce some internal class synchronization).
Definition at line 356 of file itkBSplineDeformableTransform.h.
|
private |
Definition at line 358 of file itkBSplineDeformableTransform.h.
|
private |
Variables defining the interpolation support region.
Definition at line 367 of file itkBSplineDeformableTransform.h.
|
private |
Definition at line 368 of file itkBSplineDeformableTransform.h.
|
private |
Definition at line 364 of file itkBSplineDeformableTransform.h.
|
private |
Definition at line 370 of file itkBSplineDeformableTransform.h.
|
private |
Definition at line 369 of file itkBSplineDeformableTransform.h.
|
static |
Dimension of the domain space.
Definition at line 150 of file itkBSplineDeformableTransform.h.
|
static |
The BSpline order.
Definition at line 153 of file itkBSplineDeformableTransform.h.