ITK
4.13.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.
which will adjust the transform based on the new fixed parameters.
Definition at line 55 of file itkTransformParametersAdaptor.h.
Public Member Functions | |
virtual void | AdaptTransformParameters () override |
virtual ::itk::LightObject::Pointer | CreateAnother () const |
virtual const char * | GetNameOfClass () const |
virtual const FixedParametersType & | GetRequiredFixedParameters () const override |
virtual void | SetTransform (TransformType *_arg) |
virtual void | SetTransform (TransformBaseType *_arg, void *) override |
virtual void | SetRequiredFixedParameters (const FixedParametersType fixedParameters) override |
Public Member Functions inherited from itk::TransformParametersAdaptorBase< Transform< TTransform::ScalarType, TTransform::InputSpaceDimension, TTransform::OutputSpaceDimension > > | |
virtual void | SetRequiredFixedParameters (FixedParametersType _arg) |
virtual void | SetTransform (TransformBaseType *_arg, void *priorityLower=nullptr)=0 |
Public Member Functions inherited from itk::Object | |
unsigned long | AddObserver (const EventObject &event, Command *) |
unsigned long | AddObserver (const EventObject &event, Command *) const |
virtual void | DebugOff () const |
virtual void | DebugOn () const |
Command * | GetCommand (unsigned long tag) |
bool | GetDebug () const |
MetaDataDictionary & | GetMetaDataDictionary () |
const MetaDataDictionary & | GetMetaDataDictionary () const |
virtual ModifiedTimeType | GetMTime () const |
virtual const TimeStamp & | GetTimeStamp () const |
bool | HasObserver (const EventObject &event) const |
void | InvokeEvent (const EventObject &) |
void | InvokeEvent (const EventObject &) const |
virtual void | Modified () const |
virtual void | Register () const override |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) |
void | SetDebug (bool debugFlag) const |
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
virtual void | SetReferenceCount (int) override |
virtual void | UnRegister () const noexceptoverride |
virtual void | SetObjectName (std::string _arg) |
virtual const std::string & | GetObjectName () const |
Public Member Functions inherited from itk::LightObject | |
virtual void | Delete () |
virtual int | GetReferenceCount () const |
itkCloneMacro (Self) | |
void | Print (std::ostream &os, Indent indent=0) const |
Static Public Member Functions | |
static Pointer | New () |
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 Member Functions | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
TransformParametersAdaptor () | |
~TransformParametersAdaptor () override | |
Protected Member Functions inherited from itk::TransformParametersAdaptorBase< Transform< TTransform::ScalarType, TTransform::InputSpaceDimension, TTransform::OutputSpaceDimension > > | |
TransformParametersAdaptorBase () | |
~TransformParametersAdaptorBase () override | |
Protected Member Functions inherited from itk::Object | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
virtual void | SetTimeStamp (const TimeStamp &time) |
virtual | ~Object () override |
Protected Member Functions inherited from itk::LightObject | |
virtual LightObject::Pointer | InternalClone () const |
LightObject () | |
virtual void | PrintHeader (std::ostream &os, Indent indent) const |
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
virtual | ~LightObject () |
Protected Attributes | |
TransformPointer | m_Transform |
Protected Attributes inherited from itk::TransformParametersAdaptorBase< Transform< TTransform::ScalarType, TTransform::InputSpaceDimension, TTransform::OutputSpaceDimension > > | |
FixedParametersType | m_RequiredFixedParameters |
Protected Attributes inherited from itk::LightObject | |
AtomicInt< int > | m_ReferenceCount |
typedef SmartPointer<const Self> itk::TransformParametersAdaptor< TTransform >::ConstPointer |
Definition at line 64 of file itkTransformParametersAdaptor.h.
typedef Superclass::FixedParametersType itk::TransformParametersAdaptor< TTransform >::FixedParametersType |
Definition at line 77 of file itkTransformParametersAdaptor.h.
typedef Superclass::FixedParametersValueType itk::TransformParametersAdaptor< TTransform >::FixedParametersValueType |
Definition at line 76 of file itkTransformParametersAdaptor.h.
typedef Superclass::ParametersType itk::TransformParametersAdaptor< TTransform >::ParametersType |
Definition at line 74 of file itkTransformParametersAdaptor.h.
typedef Superclass::ParametersValueType itk::TransformParametersAdaptor< TTransform >::ParametersValueType |
Definition at line 75 of file itkTransformParametersAdaptor.h.
typedef SmartPointer<Self> itk::TransformParametersAdaptor< TTransform >::Pointer |
Definition at line 63 of file itkTransformParametersAdaptor.h.
typedef TransformParametersAdaptor itk::TransformParametersAdaptor< TTransform >::Self |
Standard class typedefs.
Definition at line 61 of file itkTransformParametersAdaptor.h.
typedef TransformParametersAdaptorBase<Transform<typename TTransform::ScalarType, TTransform::InputSpaceDimension, TTransform::OutputSpaceDimension> > itk::TransformParametersAdaptor< TTransform >::Superclass |
Definition at line 62 of file itkTransformParametersAdaptor.h.
typedef Superclass::TransformBaseType itk::TransformParametersAdaptor< TTransform >::TransformBaseType |
Typedefs associated with the transform
Definition at line 67 of file itkTransformParametersAdaptor.h.
typedef TransformType::Pointer itk::TransformParametersAdaptor< TTransform >::TransformPointer |
Definition at line 73 of file itkTransformParametersAdaptor.h.
typedef TTransform itk::TransformParametersAdaptor< TTransform >::TransformType |
Definition at line 72 of file itkTransformParametersAdaptor.h.
|
inlineprotected |
Definition at line 114 of file itkTransformParametersAdaptor.h.
|
inlineoverrideprotected |
Definition at line 115 of file itkTransformParametersAdaptor.h.
|
inlineoverridevirtual |
Initialize the transform using the specified fixed parameters
Reimplemented in itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >, itk::BSplineTransformParametersAdaptor< TTransform >, itk::DisplacementFieldTransformParametersAdaptor< TTransform >, itk::TimeVaryingVelocityFieldTransformParametersAdaptor< TTransform >, itk::ConstantVelocityFieldTransformParametersAdaptor< TTransform >, itk::BSplineExponentialDiffeomorphicTransformParametersAdaptor< TTransform >, itk::BSplineSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor< TTransform >, itk::GaussianExponentialDiffeomorphicTransformParametersAdaptor< TTransform >, and itk::GaussianSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor< TTransform >.
Definition at line 111 of file itkTransformParametersAdaptor.h.
|
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.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::TransformParametersAdaptorBase< Transform< TTransform::ScalarType, TTransform::InputSpaceDimension, TTransform::OutputSpaceDimension > >.
Reimplemented in itk::TimeVaryingBSplineVelocityFieldTransformParametersAdaptor< TTransform >, itk::BSplineTransformParametersAdaptor< TTransform >, itk::ConstantVelocityFieldTransformParametersAdaptor< TTransform >, itk::DisplacementFieldTransformParametersAdaptor< TTransform >, itk::TimeVaryingVelocityFieldTransformParametersAdaptor< TTransform >, itk::BSplineExponentialDiffeomorphicTransformParametersAdaptor< TTransform >, itk::BSplineSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor< TTransform >, itk::GaussianExponentialDiffeomorphicTransformParametersAdaptor< TTransform >, and itk::GaussianSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor< TTransform >.
|
inlineoverridevirtual |
Get the fixed parameters
Reimplemented from itk::TransformParametersAdaptorBase< Transform< TTransform::ScalarType, TTransform::InputSpaceDimension, TTransform::OutputSpaceDimension > >.
Definition at line 105 of file itkTransformParametersAdaptor.h.
|
static |
New macro for creation of through the object factory.
|
inlineoverrideprotectedvirtual |
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< Transform< TTransform::ScalarType, TTransform::InputSpaceDimension, TTransform::OutputSpaceDimension > >.
Definition at line 117 of file itkTransformParametersAdaptor.h.
References itk::TransformParametersAdaptorBase< TTransform >::PrintSelf().
|
inlineoverridevirtual |
Set the fixed parameters
Reimplemented in itk::BSplineTransformParametersAdaptor< TTransform >.
Definition at line 93 of file itkTransformParametersAdaptor.h.
References itk::TransformParametersAdaptorBase< Transform< TTransform::ScalarType, TTransform::InputSpaceDimension, TTransform::OutputSpaceDimension > >::m_RequiredFixedParameters, and itk::Object::Modified().
|
virtual |
Set the transform to be adapted
Referenced by itk::TransformParametersAdaptor< TTransform >::SetTransform().
|
inlineoverridevirtual |
Definition at line 82 of file itkTransformParametersAdaptor.h.
References itk::TransformParametersAdaptor< TTransform >::SetTransform().
|
protected |
Definition at line 123 of file itkTransformParametersAdaptor.h.