ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkBSplineTransformParametersAdaptor.h>
BSplineTransformParametersAdaptor adapts a BSplineTransform to the new specified fixed parameters.
The fixed parameters of the BSplineTransform store the following information (in order as they appear in m_FixedParameters): grid size grid origin grid spacing grid direction
During multiresolution image registration it is often desired to also increase the B-spline grid resolution for greater flexibility in optimizing the transform. As defined in the base class, the user can change the resolution via
transformAdaptor->SetTransform( transform ); transformAdaptor->SetRequiredFixedParameters( fixedParameters ); transformAdaptor->AdaptTransformParameters();
or the user can use the more intuitive API for setting the fixed parameters. E.g., often the user will want to maintain the same transform domain spatial extent but only increase the mesh size. This can be done as follows:
transformAdaptor->SetTransform( transform ); transformAdaptor->SetRequiredTransformDomainOrigin( transform->GetTransformDomainOrigin() ); transformAdaptor->SetRequiredTransformDomainDirection( transform->GetTransformDomainDirection() ); transformAdaptor->SetRequiredTransformDomainPhysicalDimensions( transform->GetTransformDomainPhysicalDimensions() ); transformAdaptor->SetRequiredTransformDomainMeshSize( newMeshSize ); transformAdaptor->AdaptTransformParameters();
Definition at line 65 of file itkBSplineTransformParametersAdaptor.h.
typedef TransformType::CoefficientImageArray itk::BSplineTransformParametersAdaptor< TTransform >::CoefficientImageArray |
Definition at line 99 of file itkBSplineTransformParametersAdaptor.h.
typedef SmartPointer<const Self> itk::BSplineTransformParametersAdaptor< TTransform >::ConstPointer |
Reimplemented from itk::TransformParametersAdaptor< TTransform >.
Definition at line 74 of file itkBSplineTransformParametersAdaptor.h.
typedef TransformType::DirectionType itk::BSplineTransformParametersAdaptor< TTransform >::DirectionType |
Definition at line 93 of file itkBSplineTransformParametersAdaptor.h.
typedef TransformType::ImageType itk::BSplineTransformParametersAdaptor< TTransform >::ImageType |
Definition at line 97 of file itkBSplineTransformParametersAdaptor.h.
typedef TransformType::IndexType itk::BSplineTransformParametersAdaptor< TTransform >::IndexType |
Definition at line 91 of file itkBSplineTransformParametersAdaptor.h.
typedef TransformType::MeshSizeType itk::BSplineTransformParametersAdaptor< TTransform >::MeshSizeType |
Definition at line 92 of file itkBSplineTransformParametersAdaptor.h.
typedef TransformType::OriginType itk::BSplineTransformParametersAdaptor< TTransform >::OriginType |
Definition at line 88 of file itkBSplineTransformParametersAdaptor.h.
typedef Superclass::ParametersType itk::BSplineTransformParametersAdaptor< TTransform >::ParametersType |
Reimplemented from itk::TransformParametersAdaptor< TTransform >.
Definition at line 85 of file itkBSplineTransformParametersAdaptor.h.
typedef Superclass::ParametersValueType itk::BSplineTransformParametersAdaptor< TTransform >::ParametersValueType |
Reimplemented from itk::TransformParametersAdaptor< TTransform >.
Definition at line 86 of file itkBSplineTransformParametersAdaptor.h.
typedef TransformType::PhysicalDimensionsType itk::BSplineTransformParametersAdaptor< TTransform >::PhysicalDimensionsType |
Definition at line 94 of file itkBSplineTransformParametersAdaptor.h.
typedef SmartPointer<Self> itk::BSplineTransformParametersAdaptor< TTransform >::Pointer |
Reimplemented from itk::TransformParametersAdaptor< TTransform >.
Definition at line 73 of file itkBSplineTransformParametersAdaptor.h.
typedef ImageType::RegionType itk::BSplineTransformParametersAdaptor< TTransform >::RegionType |
Definition at line 98 of file itkBSplineTransformParametersAdaptor.h.
typedef BSplineTransformParametersAdaptor itk::BSplineTransformParametersAdaptor< TTransform >::Self |
Standard class typedefs.
Reimplemented from itk::TransformParametersAdaptor< TTransform >.
Definition at line 71 of file itkBSplineTransformParametersAdaptor.h.
typedef TransformType::SizeType itk::BSplineTransformParametersAdaptor< TTransform >::SizeType |
Definition at line 89 of file itkBSplineTransformParametersAdaptor.h.
typedef TransformType::SpacingType itk::BSplineTransformParametersAdaptor< TTransform >::SpacingType |
Definition at line 90 of file itkBSplineTransformParametersAdaptor.h.
typedef TransformParametersAdaptor<TTransform> itk::BSplineTransformParametersAdaptor< TTransform >::Superclass |
Reimplemented from itk::TransformParametersAdaptor< TTransform >.
Definition at line 72 of file itkBSplineTransformParametersAdaptor.h.
typedef TransformType::Pointer itk::BSplineTransformParametersAdaptor< TTransform >::TransformPointer |
Reimplemented from itk::TransformParametersAdaptor< TTransform >.
Definition at line 84 of file itkBSplineTransformParametersAdaptor.h.
typedef TTransform itk::BSplineTransformParametersAdaptor< TTransform >::TransformType |
Typedefs associated with the transform
Reimplemented from itk::TransformParametersAdaptor< TTransform >.
Definition at line 80 of file itkBSplineTransformParametersAdaptor.h.
itk::BSplineTransformParametersAdaptor< TTransform >::BSplineTransformParametersAdaptor | ( | ) | [protected] |
itk::BSplineTransformParametersAdaptor< TTransform >::~BSplineTransformParametersAdaptor | ( | ) | [protected] |
itk::BSplineTransformParametersAdaptor< TTransform >::BSplineTransformParametersAdaptor | ( | const Self & | ) | [private] |
virtual void itk::BSplineTransformParametersAdaptor< TTransform >::AdaptTransformParameters | ( | ) | [virtual] |
Initialize the transform using the specified fixed parameters
Reimplemented from itk::TransformParametersAdaptor< TTransform >.
virtual::itk::LightObject::Pointer itk::BSplineTransformParametersAdaptor< TTransform >::CreateAnother | ( | void | ) | const [virtual] |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::TransformParametersAdaptor< TTransform >.
virtual const char* itk::BSplineTransformParametersAdaptor< TTransform >::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information (and related methods).
Reimplemented from itk::TransformParametersAdaptor< TTransform >.
virtual const DirectionType& itk::BSplineTransformParametersAdaptor< TTransform >::GetRequiredTransformDomainDirection | ( | ) | [virtual] |
Get the required direction.
virtual const MeshSizeType& itk::BSplineTransformParametersAdaptor< TTransform >::GetRequiredTransformDomainMeshSize | ( | ) | [virtual] |
Get the required mesh size.
virtual const OriginType& itk::BSplineTransformParametersAdaptor< TTransform >::GetRequiredTransformDomainOrigin | ( | ) | [virtual] |
Get the required origin.
virtual const PhysicalDimensionsType& itk::BSplineTransformParametersAdaptor< TTransform >::GetRequiredTransformDomainPhysicalDimensions | ( | ) | [virtual] |
Get the required physical dimensions.
static Pointer itk::BSplineTransformParametersAdaptor< TTransform >::New | ( | ) | [static] |
New macro for creation of through a Smart Pointer.
Reimplemented from itk::TransformParametersAdaptor< TTransform >.
void itk::BSplineTransformParametersAdaptor< TTransform >::operator= | ( | const Self & | ) | [private] |
Mutex lock to protect modification to the reference count
Reimplemented from itk::TransformParametersAdaptor< TTransform >.
void itk::BSplineTransformParametersAdaptor< TTransform >::PrintSelf | ( | std::ostream & | os, |
Indent | indent | ||
) | const [protected, virtual] |
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from itk::TransformParametersAdaptor< TTransform >.
virtual void itk::BSplineTransformParametersAdaptor< TTransform >::SetRequiredFixedParameters | ( | const ParametersType | ) | [virtual] |
void itk::BSplineTransformParametersAdaptor< TTransform >::SetRequiredTransformDomainDirection | ( | const DirectionType & | ) |
Alternative method for setting the required direction.
void itk::BSplineTransformParametersAdaptor< TTransform >::SetRequiredTransformDomainMeshSize | ( | const MeshSizeType & | ) |
Alternative method for setting the required mesh size.
void itk::BSplineTransformParametersAdaptor< TTransform >::SetRequiredTransformDomainOrigin | ( | const OriginType & | ) |
Alternative method for setting the required origin.
void itk::BSplineTransformParametersAdaptor< TTransform >::SetRequiredTransformDomainPhysicalDimensions | ( | const PhysicalDimensionsType & | ) |
Alternative method for setting the required mesh size.
void itk::BSplineTransformParametersAdaptor< TTransform >::UpdateRequiredFixedParameters | ( | ) | [private] |
Helper function to set m_RequiredFixedParameters
DirectionType itk::BSplineTransformParametersAdaptor< TTransform >::m_RequiredTransformDomainDirection [private] |
Definition at line 148 of file itkBSplineTransformParametersAdaptor.h.
MeshSizeType itk::BSplineTransformParametersAdaptor< TTransform >::m_RequiredTransformDomainMeshSize [private] |
Definition at line 146 of file itkBSplineTransformParametersAdaptor.h.
OriginType itk::BSplineTransformParametersAdaptor< TTransform >::m_RequiredTransformDomainOrigin [private] |
Definition at line 147 of file itkBSplineTransformParametersAdaptor.h.
PhysicalDimensionsType itk::BSplineTransformParametersAdaptor< TTransform >::m_RequiredTransformDomainPhysicalDimensions [private] |
Definition at line 149 of file itkBSplineTransformParametersAdaptor.h.
const unsigned int itk::BSplineTransformParametersAdaptor< TTransform >::SpaceDimension = TransformType::SpaceDimension [static] |
Dimension of parameters.
Definition at line 102 of file itkBSplineTransformParametersAdaptor.h.