ITK
5.0.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
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:
Definition at line 65 of file itkBSplineTransformParametersAdaptor.h.
Public Types | |
using | CoefficientImageArray = typename TransformType::CoefficientImageArray |
using | ConstPointer = SmartPointer< const Self > |
using | DirectionType = typename TransformType::DirectionType |
using | FixedParametersType = typename Superclass::FixedParametersType |
using | FixedParametersValueType = typename Superclass::FixedParametersValueType |
using | ImageType = typename TransformType::ImageType |
using | IndexType = typename TransformType::IndexType |
using | MeshSizeType = typename TransformType::MeshSizeType |
using | OriginType = typename TransformType::OriginType |
using | ParametersType = typename Superclass::ParametersType |
using | ParametersValueType = typename Superclass::ParametersValueType |
using | PhysicalDimensionsType = typename TransformType::PhysicalDimensionsType |
using | Pointer = SmartPointer< Self > |
using | RegionType = typename ImageType::RegionType |
using | Self = BSplineTransformParametersAdaptor |
using | SizeType = typename TransformType::SizeType |
using | SpacingType = typename TransformType::SpacingType |
using | Superclass = TransformParametersAdaptor< TTransform > |
using | TransformPointer = typename TransformType::Pointer |
using | TransformType = TTransform |
Public Types inherited from itk::TransformParametersAdaptor< TTransform > | |
using | ConstPointer = SmartPointer< const Self > |
using | FixedParametersType = typename Superclass::FixedParametersType |
using | FixedParametersValueType = typename Superclass::FixedParametersValueType |
using | ParametersType = typename Superclass::ParametersType |
using | ParametersValueType = typename Superclass::ParametersValueType |
using | Pointer = SmartPointer< Self > |
using | Self = TransformParametersAdaptor |
using | Superclass = TransformParametersAdaptorBase< Transform< typename TTransform::ScalarType, TTransform::InputSpaceDimension, TTransform::OutputSpaceDimension > > |
using | TransformBaseType = typename Superclass::TransformBaseType |
using | TransformPointer = typename TransformType::Pointer |
using | TransformType = TTransform |
Public Types inherited from itk::TransformParametersAdaptorBase< Transform< TTransform::ScalarType, TTransform::InputSpaceDimension, TTransform::OutputSpaceDimension > > | |
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 > |
Public Types inherited from itk::Object | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = Object |
using | Superclass = LightObject |
Public Types inherited from itk::LightObject | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = LightObject |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::TransformParametersAdaptor< TTransform > | |
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 () |
Static Public Attributes | |
static constexpr unsigned int | SpaceDimension = TransformType::SpaceDimension |
Protected Member Functions | |
BSplineTransformParametersAdaptor () | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
~BSplineTransformParametersAdaptor () override=default | |
Protected Member Functions inherited from itk::TransformParametersAdaptor< TTransform > | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
TransformParametersAdaptor ()=default | |
~TransformParametersAdaptor () override=default | |
Protected Member Functions inherited from itk::TransformParametersAdaptorBase< Transform< TTransform::ScalarType, TTransform::InputSpaceDimension, TTransform::OutputSpaceDimension > > | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
TransformParametersAdaptorBase ()=default | |
~TransformParametersAdaptorBase () override=default | |
Protected Member Functions inherited from itk::Object | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
virtual void | SetTimeStamp (const TimeStamp &time) |
~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 () |
Private Member Functions | |
void | UpdateRequiredFixedParameters () |
Additional Inherited Members | |
Protected Attributes inherited from itk::TransformParametersAdaptor< TTransform > | |
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 | |
std::atomic< int > | m_ReferenceCount |
using itk::BSplineTransformParametersAdaptor< TTransform >::CoefficientImageArray = typename TransformType::CoefficientImageArray |
Definition at line 103 of file itkBSplineTransformParametersAdaptor.h.
using itk::BSplineTransformParametersAdaptor< TTransform >::ConstPointer = SmartPointer<const Self> |
Definition at line 75 of file itkBSplineTransformParametersAdaptor.h.
using itk::BSplineTransformParametersAdaptor< TTransform >::DirectionType = typename TransformType::DirectionType |
Definition at line 97 of file itkBSplineTransformParametersAdaptor.h.
using itk::BSplineTransformParametersAdaptor< TTransform >::FixedParametersType = typename Superclass::FixedParametersType |
Definition at line 87 of file itkBSplineTransformParametersAdaptor.h.
using itk::BSplineTransformParametersAdaptor< TTransform >::FixedParametersValueType = typename Superclass::FixedParametersValueType |
Definition at line 88 of file itkBSplineTransformParametersAdaptor.h.
using itk::BSplineTransformParametersAdaptor< TTransform >::ImageType = typename TransformType::ImageType |
Definition at line 101 of file itkBSplineTransformParametersAdaptor.h.
using itk::BSplineTransformParametersAdaptor< TTransform >::IndexType = typename TransformType::IndexType |
Definition at line 95 of file itkBSplineTransformParametersAdaptor.h.
using itk::BSplineTransformParametersAdaptor< TTransform >::MeshSizeType = typename TransformType::MeshSizeType |
Definition at line 96 of file itkBSplineTransformParametersAdaptor.h.
using itk::BSplineTransformParametersAdaptor< TTransform >::OriginType = typename TransformType::OriginType |
Definition at line 92 of file itkBSplineTransformParametersAdaptor.h.
using itk::BSplineTransformParametersAdaptor< TTransform >::ParametersType = typename Superclass::ParametersType |
Definition at line 89 of file itkBSplineTransformParametersAdaptor.h.
using itk::BSplineTransformParametersAdaptor< TTransform >::ParametersValueType = typename Superclass::ParametersValueType |
Definition at line 90 of file itkBSplineTransformParametersAdaptor.h.
using itk::BSplineTransformParametersAdaptor< TTransform >::PhysicalDimensionsType = typename TransformType::PhysicalDimensionsType |
Definition at line 98 of file itkBSplineTransformParametersAdaptor.h.
using itk::BSplineTransformParametersAdaptor< TTransform >::Pointer = SmartPointer<Self> |
Definition at line 74 of file itkBSplineTransformParametersAdaptor.h.
using itk::BSplineTransformParametersAdaptor< TTransform >::RegionType = typename ImageType::RegionType |
Definition at line 102 of file itkBSplineTransformParametersAdaptor.h.
using itk::BSplineTransformParametersAdaptor< TTransform >::Self = BSplineTransformParametersAdaptor |
Standard class type aliases.
Definition at line 72 of file itkBSplineTransformParametersAdaptor.h.
using itk::BSplineTransformParametersAdaptor< TTransform >::SizeType = typename TransformType::SizeType |
Definition at line 93 of file itkBSplineTransformParametersAdaptor.h.
using itk::BSplineTransformParametersAdaptor< TTransform >::SpacingType = typename TransformType::SpacingType |
Definition at line 94 of file itkBSplineTransformParametersAdaptor.h.
using itk::BSplineTransformParametersAdaptor< TTransform >::Superclass = TransformParametersAdaptor<TTransform> |
Definition at line 73 of file itkBSplineTransformParametersAdaptor.h.
using itk::BSplineTransformParametersAdaptor< TTransform >::TransformPointer = typename TransformType::Pointer |
Definition at line 85 of file itkBSplineTransformParametersAdaptor.h.
using itk::BSplineTransformParametersAdaptor< TTransform >::TransformType = TTransform |
Typedefs associated with the transform
Definition at line 84 of file itkBSplineTransformParametersAdaptor.h.
|
protected |
|
overrideprotecteddefault |
|
overridevirtual |
Initialize the transform using the specified fixed parameters
|
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::TransformParametersAdaptor< TTransform >.
|
virtual |
Get the required direction.
|
virtual |
Get the required mesh size.
|
virtual |
Get the required origin.
|
virtual |
Get the required physical dimensions.
|
static |
New macro for creation of through a Smart Pointer.
|
overrideprotectedvirtual |
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::Object.
|
override |
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.
|
private |
Helper function to set m_RequiredFixedParameters
|
private |
Definition at line 149 of file itkBSplineTransformParametersAdaptor.h.
|
private |
Definition at line 147 of file itkBSplineTransformParametersAdaptor.h.
|
private |
Definition at line 148 of file itkBSplineTransformParametersAdaptor.h.
|
private |
Definition at line 150 of file itkBSplineTransformParametersAdaptor.h.
|
static |
Dimension of parameters.
Definition at line 106 of file itkBSplineTransformParametersAdaptor.h.