![]() |
ITK
5.4.0
Insight Toolkit
|
#include <itkConstantVelocityFieldTransformParametersAdaptor.h>
ConstantVelocityFieldTransformParametersAdaptor is a helper class intended to definition.
The fixed parameters store the following information: field size field origin field spacing field direction During multiresolution image registration it is often desired to also increase the displacement field resolution for greater flexibility in optimizing the transform. As defined in the base class, the user can change the resolution via
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 field size and decrease the spacing. This can be done as follows:
Definition at line 64 of file itkConstantVelocityFieldTransformParametersAdaptor.h.
Public Types | |
using | ConstantVelocityFieldType = typename TransformType::ConstantVelocityFieldType |
using | ConstPointer = SmartPointer< const Self > |
using | DirectionType = typename ConstantVelocityFieldType::DirectionType |
using | ParametersType = typename TransformType::ParametersType |
using | ParametersValueType = typename TransformType::ParametersValueType |
using | Pointer = SmartPointer< Self > |
using | PointType = typename ConstantVelocityFieldType::PointType |
using | Self = ConstantVelocityFieldTransformParametersAdaptor |
using | SizeType = typename ConstantVelocityFieldType::SizeType |
using | SpacingType = typename ConstantVelocityFieldType::SpacingType |
using | Superclass = TransformParametersAdaptor< TTransform > |
using | TransformPointer = typename TransformType::Pointer |
using | TransformType = TTransform |
![]() | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = TransformParametersAdaptor |
using | Superclass = TransformParametersAdaptorBase< Transform< typename TTransform::ScalarType, TTransform::InputSpaceDimension, TTransform::OutputSpaceDimension > > |
using | TransformPointer = typename TransformType::Pointer |
using | TransformType = TTransform |
![]() | |
using | ConstPointer = SmartPointer< const Self > |
using | FixedParametersType = typename TransformBaseType::FixedParametersType |
using | FixedParametersValueType = typename TransformBaseType::FixedParametersValueType |
using | ParametersType = typename TransformBaseType::ParametersType |
using | ParametersValueType = typename ParametersType::ValueType |
using | Pointer = SmartPointer< Self > |
using | Self = TransformParametersAdaptorBase |
using | Superclass = Object |
using | TransformBasePointer = typename TransformBaseType::Pointer |
using | TransformBaseType = Transform< TTransform::ScalarType, TTransform::InputSpaceDimension, TTransform::OutputSpaceDimension > |
![]() | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = Object |
using | Superclass = LightObject |
![]() | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = LightObject |
Public Member Functions | |
void | AdaptTransformParameters () override |
const char * | GetNameOfClass () const override |
virtual const DirectionType | GetRequiredDirection () const |
virtual const PointType | GetRequiredOrigin () const |
virtual const SizeType | GetRequiredSize () const |
virtual const SpacingType | GetRequiredSpacing () const |
void | SetRequiredDirection (const DirectionType &) |
void | SetRequiredOrigin (const PointType &) |
void | SetRequiredSize (const SizeType &) |
void | SetRequiredSpacing (const SpacingType &) |
![]() | |
void | AdaptTransformParameters () override |
const char * | GetNameOfClass () const override |
void | SetTransform (TransformBaseType *_arg, void *) override |
virtual void | SetTransform (TransformType *_arg) |
void | SetRequiredFixedParameters (const FixedParametersType fixedParameters) override |
![]() | |
virtual void | AdaptTransformParameters ()=0 |
const char * | GetNameOfClass () const override |
virtual const FixedParametersType & | GetRequiredFixedParameters () const |
virtual void | SetRequiredFixedParameters (FixedParametersType _arg) |
virtual void | SetTransform (TransformBaseType *_arg, void *priorityLower=nullptr)=0 |
![]() | |
unsigned long | AddObserver (const EventObject &event, Command *) |
unsigned long | AddObserver (const EventObject &event, Command *) const |
unsigned long | AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const |
LightObject::Pointer | CreateAnother () const override |
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 |
const char * | GetNameOfClass () const override |
virtual const TimeStamp & | GetTimeStamp () const |
bool | HasObserver (const EventObject &event) const |
void | InvokeEvent (const EventObject &) |
void | InvokeEvent (const EventObject &) const |
virtual void | Modified () const |
void | Register () const override |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) |
void | SetDebug (bool debugFlag) const |
void | SetReferenceCount (int) override |
void | UnRegister () const noexcept override |
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
void | SetMetaDataDictionary (MetaDataDictionary &&rrhs) |
virtual void | SetObjectName (std::string _arg) |
virtual const std::string & | GetObjectName () const |
![]() | |
Pointer | Clone () const |
virtual Pointer | CreateAnother () const |
virtual void | Delete () |
virtual const char * | GetNameOfClass () const |
virtual int | GetReferenceCount () const |
void | Print (std::ostream &os, Indent indent=0) const |
virtual void | Register () const |
virtual void | SetReferenceCount (int) |
virtual void | UnRegister () const noexcept |
Static Public Member Functions | |
static Pointer | New () |
![]() | |
static Pointer | New () |
![]() | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool val) |
![]() | |
static void | BreakOnError () |
static Pointer | New () |
Static Public Attributes | |
static constexpr unsigned int | ConstantVelocityFieldDimension = TransformType::ConstantVelocityFieldDimension |
Protected Member Functions | |
ConstantVelocityFieldTransformParametersAdaptor () | |
~ConstantVelocityFieldTransformParametersAdaptor () override=default | |
![]() | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
TransformParametersAdaptor ()=default | |
~TransformParametersAdaptor () override=default | |
![]() | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
TransformParametersAdaptorBase ()=default | |
~TransformParametersAdaptorBase () override=default | |
![]() | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
void | PrintSelf (std::ostream &os, Indent indent) const override |
virtual void | SetTimeStamp (const TimeStamp &timeStamp) |
~Object () override | |
![]() | |
virtual LightObject::Pointer | InternalClone () const |
LightObject () | |
virtual void | PrintHeader (std::ostream &os, Indent indent) const |
virtual void | PrintSelf (std::ostream &os, Indent indent) const |
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
virtual | ~LightObject () |
Additional Inherited Members | |
![]() | |
TransformPointer | m_Transform {} |
![]() | |
FixedParametersType | m_RequiredFixedParameters |
![]() | |
std::atomic< int > | m_ReferenceCount {} |
using itk::ConstantVelocityFieldTransformParametersAdaptor< TTransform >::ConstantVelocityFieldType = typename TransformType::ConstantVelocityFieldType |
Definition at line 88 of file itkConstantVelocityFieldTransformParametersAdaptor.h.
using itk::ConstantVelocityFieldTransformParametersAdaptor< TTransform >::ConstPointer = SmartPointer<const Self> |
Definition at line 74 of file itkConstantVelocityFieldTransformParametersAdaptor.h.
using itk::ConstantVelocityFieldTransformParametersAdaptor< TTransform >::DirectionType = typename ConstantVelocityFieldType::DirectionType |
Definition at line 91 of file itkConstantVelocityFieldTransformParametersAdaptor.h.
using itk::ConstantVelocityFieldTransformParametersAdaptor< TTransform >::ParametersType = typename TransformType::ParametersType |
Definition at line 85 of file itkConstantVelocityFieldTransformParametersAdaptor.h.
using itk::ConstantVelocityFieldTransformParametersAdaptor< TTransform >::ParametersValueType = typename TransformType::ParametersValueType |
Definition at line 86 of file itkConstantVelocityFieldTransformParametersAdaptor.h.
using itk::ConstantVelocityFieldTransformParametersAdaptor< TTransform >::Pointer = SmartPointer<Self> |
Definition at line 73 of file itkConstantVelocityFieldTransformParametersAdaptor.h.
using itk::ConstantVelocityFieldTransformParametersAdaptor< TTransform >::PointType = typename ConstantVelocityFieldType::PointType |
Definition at line 89 of file itkConstantVelocityFieldTransformParametersAdaptor.h.
using itk::ConstantVelocityFieldTransformParametersAdaptor< TTransform >::Self = ConstantVelocityFieldTransformParametersAdaptor |
Standard class type aliases.
Definition at line 71 of file itkConstantVelocityFieldTransformParametersAdaptor.h.
using itk::ConstantVelocityFieldTransformParametersAdaptor< TTransform >::SizeType = typename ConstantVelocityFieldType::SizeType |
Definition at line 90 of file itkConstantVelocityFieldTransformParametersAdaptor.h.
using itk::ConstantVelocityFieldTransformParametersAdaptor< TTransform >::SpacingType = typename ConstantVelocityFieldType::SpacingType |
Definition at line 92 of file itkConstantVelocityFieldTransformParametersAdaptor.h.
using itk::ConstantVelocityFieldTransformParametersAdaptor< TTransform >::Superclass = TransformParametersAdaptor<TTransform> |
Definition at line 72 of file itkConstantVelocityFieldTransformParametersAdaptor.h.
using itk::ConstantVelocityFieldTransformParametersAdaptor< TTransform >::TransformPointer = typename TransformType::Pointer |
Definition at line 84 of file itkConstantVelocityFieldTransformParametersAdaptor.h.
using itk::ConstantVelocityFieldTransformParametersAdaptor< TTransform >::TransformType = TTransform |
Typedefs associated with the transform
Definition at line 83 of file itkConstantVelocityFieldTransformParametersAdaptor.h.
|
protected |
|
overrideprotecteddefault |
|
overridevirtual |
Initialize the transform using the specified fixed parameters
Reimplemented in itk::GaussianExponentialDiffeomorphicTransformParametersAdaptor< TTransform >.
|
overridevirtual |
Reimplemented from itk::Object.
Reimplemented in itk::GaussianExponentialDiffeomorphicTransformParametersAdaptor< TTransform >.
|
virtual |
Get the required direction.
|
virtual |
Get the required origin.
|
virtual |
Get the required size.
|
virtual |
Get the required spacing.
|
static |
New macro for creation of through a Smart Pointer.
void itk::ConstantVelocityFieldTransformParametersAdaptor< TTransform >::SetRequiredDirection | ( | const DirectionType & | ) |
Alternative method for setting the required direction.
void itk::ConstantVelocityFieldTransformParametersAdaptor< TTransform >::SetRequiredOrigin | ( | const PointType & | ) |
Alternative method for setting the required origin.
void itk::ConstantVelocityFieldTransformParametersAdaptor< TTransform >::SetRequiredSize | ( | const SizeType & | ) |
Alternative method for setting the required size.
void itk::ConstantVelocityFieldTransformParametersAdaptor< TTransform >::SetRequiredSpacing | ( | const SpacingType & | ) |
Alternative method for setting the required spacing.
|
staticconstexpr |
Dimension of parameters.
Definition at line 95 of file itkConstantVelocityFieldTransformParametersAdaptor.h.