ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkTransformParametersAdaptor.h>
Base helper class intended for multi-resolution image registration.
During multi-resolution image registration, it is often useful to expand the number of parameters describing the transform when going from one level to the next. For example, in B-spline registration, one often wants to increase the mesh size (or, equivalently, the control point grid size) for increased flexibility in optimizing the transform. This requires the propagation of the current transform solution to the next level where the solution is identical but with an increase in the number of parameters. This base class and those derived classes are meant to handle these types of situations.
Basic usage will involve the user specifying the required fixed parameters, i.e.
transformAdaptor->SetTransform( transform ); transformAdaptor->SetRequiredFixedParameters( fixedParameters ); transformAdaptor->AdaptTransformParameters();
which will adjust the transform based on the new fixed parameters.
Definition at line 54 of file itkTransformParametersAdaptor.h.
typedef SmartPointer<const Self> itk::TransformParametersAdaptor< TTransform >::ConstPointer |
Reimplemented from itk::TransformParametersAdaptorBase< TTransform >.
Reimplemented in itk::BSplineTransformParametersAdaptor< TTransform >, itk::DisplacementFieldTransformParametersAdaptor< TTransform >, itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >, itk::TimeVaryingVelocityFieldTransformParametersAdaptor< TTransform >, itk::BSplineSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor< TTransform >, and itk::GaussianSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor< TTransform >.
Definition at line 63 of file itkTransformParametersAdaptor.h.
typedef Superclass::ParametersType itk::TransformParametersAdaptor< TTransform >::ParametersType |
Reimplemented from itk::TransformParametersAdaptorBase< TTransform >.
Reimplemented in itk::BSplineTransformParametersAdaptor< TTransform >, itk::DisplacementFieldTransformParametersAdaptor< TTransform >, itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >, and itk::TimeVaryingVelocityFieldTransformParametersAdaptor< TTransform >.
Definition at line 71 of file itkTransformParametersAdaptor.h.
typedef Superclass::ParametersValueType itk::TransformParametersAdaptor< TTransform >::ParametersValueType |
Reimplemented from itk::TransformParametersAdaptorBase< TTransform >.
Reimplemented in itk::BSplineTransformParametersAdaptor< TTransform >, itk::DisplacementFieldTransformParametersAdaptor< TTransform >, itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >, and itk::TimeVaryingVelocityFieldTransformParametersAdaptor< TTransform >.
Definition at line 72 of file itkTransformParametersAdaptor.h.
typedef SmartPointer<Self> itk::TransformParametersAdaptor< TTransform >::Pointer |
Reimplemented from itk::TransformParametersAdaptorBase< TTransform >.
Reimplemented in itk::BSplineTransformParametersAdaptor< TTransform >, itk::DisplacementFieldTransformParametersAdaptor< TTransform >, itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >, itk::TimeVaryingVelocityFieldTransformParametersAdaptor< TTransform >, itk::BSplineSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor< TTransform >, and itk::GaussianSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor< TTransform >.
Definition at line 62 of file itkTransformParametersAdaptor.h.
typedef TransformParametersAdaptor itk::TransformParametersAdaptor< TTransform >::Self |
Standard class typedefs.
Reimplemented from itk::TransformParametersAdaptorBase< TTransform >.
Reimplemented in itk::BSplineTransformParametersAdaptor< TTransform >, itk::DisplacementFieldTransformParametersAdaptor< TTransform >, itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >, itk::TimeVaryingVelocityFieldTransformParametersAdaptor< TTransform >, itk::BSplineSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor< TTransform >, and itk::GaussianSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor< TTransform >.
Definition at line 60 of file itkTransformParametersAdaptor.h.
typedef TransformParametersAdaptorBase<TTransform> itk::TransformParametersAdaptor< TTransform >::Superclass |
Reimplemented from itk::TransformParametersAdaptorBase< TTransform >.
Reimplemented in itk::BSplineTransformParametersAdaptor< TTransform >, itk::DisplacementFieldTransformParametersAdaptor< TTransform >, itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >, itk::TimeVaryingVelocityFieldTransformParametersAdaptor< TTransform >, itk::BSplineSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor< TTransform >, and itk::GaussianSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor< TTransform >.
Definition at line 61 of file itkTransformParametersAdaptor.h.
typedef Superclass::TransformPointer itk::TransformParametersAdaptor< TTransform >::TransformPointer |
Reimplemented from itk::TransformParametersAdaptorBase< TTransform >.
Reimplemented in itk::BSplineTransformParametersAdaptor< TTransform >, itk::DisplacementFieldTransformParametersAdaptor< TTransform >, itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >, and itk::TimeVaryingVelocityFieldTransformParametersAdaptor< TTransform >.
Definition at line 70 of file itkTransformParametersAdaptor.h.
typedef TTransform itk::TransformParametersAdaptor< TTransform >::TransformType |
Typedefs associated with the transform
Reimplemented from itk::TransformParametersAdaptorBase< TTransform >.
Reimplemented in itk::BSplineTransformParametersAdaptor< TTransform >, itk::DisplacementFieldTransformParametersAdaptor< TTransform >, itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >, itk::TimeVaryingVelocityFieldTransformParametersAdaptor< TTransform >, itk::BSplineSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor< TTransform >, and itk::GaussianSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor< TTransform >.
Definition at line 66 of file itkTransformParametersAdaptor.h.
itk::TransformParametersAdaptor< TTransform >::TransformParametersAdaptor | ( | ) | [inline, protected] |
Definition at line 90 of file itkTransformParametersAdaptor.h.
itk::TransformParametersAdaptor< TTransform >::~TransformParametersAdaptor | ( | ) | [inline, protected] |
Definition at line 91 of file itkTransformParametersAdaptor.h.
itk::TransformParametersAdaptor< TTransform >::TransformParametersAdaptor | ( | const Self & | ) | [private] |
virtual void itk::TransformParametersAdaptor< TTransform >::AdaptTransformParameters | ( | ) | [inline, virtual] |
Initialize the transform using the specified fixed parameters
Implements itk::TransformParametersAdaptorBase< TTransform >.
Reimplemented in itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >, itk::BSplineTransformParametersAdaptor< TTransform >, itk::TimeVaryingVelocityFieldTransformParametersAdaptor< TTransform >, itk::DisplacementFieldTransformParametersAdaptor< TTransform >, itk::BSplineSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor< TTransform >, and itk::GaussianSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor< TTransform >.
Definition at line 87 of file itkTransformParametersAdaptor.h.
virtual::itk::LightObject::Pointer itk::TransformParametersAdaptor< 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::Object.
Reimplemented in itk::BSplineTransformParametersAdaptor< TTransform >, itk::DisplacementFieldTransformParametersAdaptor< TTransform >, itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >, itk::TimeVaryingVelocityFieldTransformParametersAdaptor< TTransform >, itk::BSplineSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor< TTransform >, and itk::GaussianSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor< TTransform >.
virtual const char* itk::TransformParametersAdaptor< TTransform >::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information (and related methods).
Reimplemented from itk::TransformParametersAdaptorBase< TTransform >.
Reimplemented in itk::BSplineTransformParametersAdaptor< TTransform >, itk::DisplacementFieldTransformParametersAdaptor< TTransform >, itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >, itk::TimeVaryingVelocityFieldTransformParametersAdaptor< TTransform >, itk::BSplineSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor< TTransform >, and itk::GaussianSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor< TTransform >.
virtual const ParametersType& itk::TransformParametersAdaptor< TTransform >::GetRequiredFixedParameters | ( | ) | [virtual] |
Get the fixed parameters
Reimplemented from itk::TransformParametersAdaptorBase< TTransform >.
static Pointer itk::TransformParametersAdaptor< TTransform >::New | ( | ) | [static] |
New macro for creation of through the object factory.
Reimplemented from itk::Object.
Reimplemented in itk::BSplineTransformParametersAdaptor< TTransform >, itk::DisplacementFieldTransformParametersAdaptor< TTransform >, itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >, itk::TimeVaryingVelocityFieldTransformParametersAdaptor< TTransform >, itk::BSplineSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor< TTransform >, and itk::GaussianSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor< TTransform >.
void itk::TransformParametersAdaptor< TTransform >::operator= | ( | const Self & | ) | [private] |
Mutex lock to protect modification to the reference count
Reimplemented from itk::TransformParametersAdaptorBase< TTransform >.
Reimplemented in itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >, itk::BSplineTransformParametersAdaptor< TTransform >, itk::TimeVaryingVelocityFieldTransformParametersAdaptor< TTransform >, itk::DisplacementFieldTransformParametersAdaptor< TTransform >, itk::BSplineSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor< TTransform >, and itk::GaussianSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor< TTransform >.
void itk::TransformParametersAdaptor< TTransform >::PrintSelf | ( | std::ostream & | os, |
Indent | indent | ||
) | const [inline, 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::TransformParametersAdaptorBase< TTransform >.
Reimplemented in itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >, itk::BSplineTransformParametersAdaptor< TTransform >, itk::BSplineSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor< TTransform >, and itk::GaussianSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor< TTransform >.
Definition at line 93 of file itkTransformParametersAdaptor.h.
virtual void itk::TransformParametersAdaptor< TTransform >::SetRequiredFixedParameters | ( | ParametersType | _arg | ) | [virtual] |
Set the fixed parameters
Reimplemented from itk::TransformParametersAdaptorBase< TTransform >.
Reimplemented in itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >.
virtual void itk::TransformParametersAdaptor< TTransform >::SetTransform | ( | TransformType * | _arg | ) | [virtual] |
Set the transform to be adapted
Reimplemented from itk::TransformParametersAdaptorBase< TTransform >.
ParametersType itk::TransformParametersAdaptor< TTransform >::m_RequiredFixedParameters [protected] |
Reimplemented from itk::TransformParametersAdaptorBase< TTransform >.
Definition at line 99 of file itkTransformParametersAdaptor.h.
TransformPointer itk::TransformParametersAdaptor< TTransform >::m_Transform [protected] |
Reimplemented from itk::TransformParametersAdaptorBase< TTransform >.
Definition at line 98 of file itkTransformParametersAdaptor.h.