go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
elastix::MultiBSplineTransformWithNormal< TElastix > Class Template Reference

#include <elxMultiBSplineTransformWithNormal.h>

Detailed Description

template<class TElastix>
class elastix::MultiBSplineTransformWithNormal< TElastix >

A transform based on the itkMultiBSplineDeformableTransformWithNormal.

This transform is a composition of B-spline transformations, allowing sliding motion between different labels.

The parameters used in this class are:

Parameters:

Transform: Select this transform as follows:
(Transform "MultiBSplineTransformWithNormal")

BSplineTransformSplineOrder: choose a B-spline order 1,2, or 3.
example: (BSplineTransformSplineOrder 3)
Default value: 3 (cubic B-splines).

FinalGridSpacingInVoxels: the grid spacing of the B-spline transform for each dimension.
example: (FinalGridSpacingInVoxels 8.0 8.0 8.0)
If only one argument is given, that factor is used for each dimension. The spacing is not in millimeters, but in "voxel size units". The default is 16.0 in every dimension.

FinalGridSpacingInPhysicalUnits: the grid spacing of the B-spline transform for each dimension.
example: (FinalGridSpacingInPhysicalUnits 8.0 8.0 8.0)
If only one argument is given, that factor is used for each dimension. The spacing is specified in millimeters. If not specified, the FinalGridSpacingInVoxels is used, or the FinalGridSpacing, to compute a FinalGridSpacingInPhysicalUnits. If those are not specified, the default value for FinalGridSpacingInVoxels is used to compute a FinalGridSpacingInPhysicalUnits. If an affine transformation is provided as initial transformation, the control grid will be scaled to cover the fixed image domain in the space defined by the initial transformation.

GridSpacingSchedule: the grid spacing downsampling factors for the B-spline transform for each dimension and each resolution.
example: (GridSpacingSchedule 4.0 4.0 2.0 2.0 1.0 1.0)
Which is an example for a 2D image, using 3 resolutions.
For convenience, you may also specify only one value for each resolution:
example: (GridSpacingSchedule 4.0 2.0 1.0 )
which is equivalent to the example above.

The transform parameters necessary for transformix, additionally defined by this class, are:

Transform Parameters:

GridSize: stores the size of the B-spline grid.
example: (GridSize 16 16 16)

GridIndex: stores the index of the B-spline grid.
example: (GridIndex 0 0 0)

GridSpacing: stores the spacing of the B-spline grid.
example: (GridSpacing 16.0 16.0 16.0)

GridOrigin: stores the origin of the B-spline grid.
example: (GridOrigin 0.0 0.0 0.0)

GridDirection: stores the direction cosines of the B-spline grid.
example: (GridDirection 1.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.1)

BSplineTransformSplineOrder: stores the B-spline order 1,2, or 3.
example: (BSplineTransformSplineOrder 3) Default value: 3 (cubic B-splines).

Todo:
It is unsure what happens when one of the image dimensions has length 1.
Author
Vivien Delmon

Definition at line 90 of file elxMultiBSplineTransformWithNormal.h.

+ Inheritance diagram for elastix::MultiBSplineTransformWithNormal< TElastix >:

Public Types

typedef BSplineTransformBaseType::Pointer BSplineTransformBasePointer
 
typedef itk::AdvancedBSplineDeformableTransformBase< typename elx::TransformBase< TElastix >::CoordRepType, itkGetStaticConstMacro(SpaceDimension) > BSplineTransformBaseType
 
typedef Superclass2::CombinationTransformType CombinationTransformType
 
typedef Superclass2::ConfigurationPointer ConfigurationPointer
 
typedef Superclass2::ConfigurationType ConfigurationType
 
typedef itk::SmartPointer< const SelfConstPointer
 
typedef BSplineTransformBaseType::ContinuousIndexType ContinuousIndexType
 
typedef Superclass2::CoordRepType CoordRepType
 
typedef BSplineTransformBaseType::DirectionType DirectionType
 
typedef Superclass2::ElastixPointer ElastixPointer
 
typedef Superclass2::ElastixType ElastixType
 
typedef Superclass2::FixedImageType FixedImageType
 
typedef GridScheduleComputerType::Pointer GridScheduleComputerPointer
 
typedef itk::GridScheduleComputer< CoordRepType, SpaceDimension > GridScheduleComputerType
 
typedef GridScheduleComputerType::VectorGridSpacingFactorType GridScheduleType
 
typedef GridUpsamplerType::Pointer GridUpsamplerPointer
 
typedef itk::UpsampleBSplineParametersFilter< ParametersType, ImageTypeGridUpsamplerType
 
typedef ImageLabelType::Pointer ImageLabelPointer
 
typedef itk::Image< unsigned char, itkGetStaticConstMacro(SpaceDimension) > ImageLabelType
 
typedef BSplineTransformBaseType::ImagePointer ImagePointer
 
typedef BSplineTransformBaseType::ImageType ImageType
 
typedef BSplineTransformBaseType::IndexType IndexType
 
typedef Superclass1::InputCovariantVectorType InputCovariantVectorType
 
typedef Superclass1::InputPointType InputPointType
 
typedef Superclass1::InputVectorType InputVectorType
 
typedef Superclass1::InputVnlVectorType InputVnlVectorType
 
typedef Superclass2::ITKBaseType ITKBaseType
 
typedef Superclass1::JacobianType JacobianType
 
typedef Superclass2::MovingImageType MovingImageType
 
typedef itk::MultiBSplineDeformableTransformWithNormal< typename elx::TransformBase< TElastix >::CoordRepType, itkGetStaticConstMacro(SpaceDimension), 3 > MultiBSplineTransformWithNormalCubicType
 
typedef itk::MultiBSplineDeformableTransformWithNormal< typename elx::TransformBase< TElastix >::CoordRepType, itkGetStaticConstMacro(SpaceDimension), 1 > MultiBSplineTransformWithNormalLinearType
 
typedef itk::MultiBSplineDeformableTransformWithNormal< typename elx::TransformBase< TElastix >::CoordRepType, itkGetStaticConstMacro(SpaceDimension), 2 > MultiBSplineTransformWithNormalQuadraticType
 
typedef Superclass1::NumberOfParametersType NumberOfParametersType
 
typedef BSplineTransformBaseType::OriginType OriginType
 
typedef Superclass1::OutputCovariantVectorType OutputCovariantVectorType
 
typedef Superclass1::OutputPointType OutputPointType
 
typedef Superclass1::OutputVectorType OutputVectorType
 
typedef Superclass1::OutputVnlVectorType OutputVnlVectorType
 
typedef BSplineTransformBaseType::ParameterIndexArrayType ParameterIndexArrayType
 
typedef Superclass1::ParametersType ParametersType
 
typedef itk::SmartPointer< SelfPointer
 
typedef BSplineTransformBaseType::RegionType RegionType
 
typedef Superclass2::RegistrationPointer RegistrationPointer
 
typedef Superclass2::RegistrationType RegistrationType
 
typedef Superclass1::ScalarType ScalarType
 
typedef MultiBSplineTransformWithNormal Self
 
typedef BSplineTransformBaseType::SizeType SizeType
 
typedef BSplineTransformBaseType::SpacingType SpacingType
 
typedef itk::AdvancedCombinationTransform< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension > Superclass1
 
typedef elx::TransformBase< TElastix > Superclass2
 
- Public Types inherited from itk::AdvancedCombinationTransform< elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension >
typedef SmartPointer< const SelfConstPointer
 
typedef CurrentTransformType::ConstPointer CurrentTransformConstPointer
 
typedef CurrentTransformType::InverseTransformBasePointer CurrentTransformInverseTransformBasePointer
 
typedef CurrentTransformType::InverseTransformBaseType CurrentTransformInverseTransformBaseType
 
typedef CurrentTransformType::Pointer CurrentTransformPointer
 
typedef Superclass CurrentTransformType
 
typedef Superclass::DerivativeType DerivativeType
 
typedef void(Self::* EvaluateJacobianWithImageGradientProductFunctionPointer) (const InputPointType &, const MovingImageGradientType &, DerivativeType &, NonZeroJacobianIndicesType &) const
 
typedef Superclass::FixedParametersType FixedParametersType
 
typedef void(Self::* GetJacobianOfSpatialHessianFunctionPointer) (const InputPointType &, JacobianOfSpatialHessianType &, NonZeroJacobianIndicesType &) const
 
typedef void(Self::* GetJacobianOfSpatialHessianFunctionPointer2) (const InputPointType &, SpatialHessianType &, JacobianOfSpatialHessianType &, NonZeroJacobianIndicesType &) const
 
typedef void(Self::* GetJacobianOfSpatialJacobianFunctionPointer) (const InputPointType &, JacobianOfSpatialJacobianType &, NonZeroJacobianIndicesType &) const
 
typedef void(Self::* GetJacobianOfSpatialJacobianFunctionPointer2) (const InputPointType &, SpatialJacobianType &, JacobianOfSpatialJacobianType &, NonZeroJacobianIndicesType &) const
 
typedef void(Self::* GetSparseJacobianFunctionPointer) (const InputPointType &, JacobianType &, NonZeroJacobianIndicesType &) const
 
typedef void(Self::* GetSpatialHessianFunctionPointer) (const InputPointType &, SpatialHessianType &) const
 
typedef void(Self::* GetSpatialJacobianFunctionPointer) (const InputPointType &, SpatialJacobianType &) const
 
typedef InitialTransformType::ConstPointer InitialTransformConstPointer
 
typedef InitialTransformType::InverseTransformBasePointer InitialTransformInverseTransformBasePointer
 
typedef InitialTransformType::InverseTransformBaseType InitialTransformInverseTransformBaseType
 
typedef InitialTransformType::Pointer InitialTransformPointer
 
typedef Superclass InitialTransformType
 
typedef Superclass::InputCovariantVectorType InputCovariantVectorType
 
typedef Superclass::InputPointType InputPointType
 
typedef Superclass::InputVectorType InputVectorType
 
typedef Superclass::InputVnlVectorType InputVnlVectorType
 
typedef Superclass::InternalMatrixType InternalMatrixType
 
typedef Superclass::InverseTransformBasePointer InverseTransformBasePointer
 
typedef Superclass::InverseTransformBaseType InverseTransformBaseType
 
typedef Superclass::JacobianOfSpatialHessianType JacobianOfSpatialHessianType
 
typedef Superclass::JacobianOfSpatialJacobianType JacobianOfSpatialJacobianType
 
typedef Superclass::JacobianType JacobianType
 
typedef Superclass::MovingImageGradientType MovingImageGradientType
 
typedef Superclass::MovingImageGradientValueType MovingImageGradientValueType
 
typedef Superclass::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
 
typedef Superclass::NumberOfParametersType NumberOfParametersType
 
typedef Superclass::OutputCovariantVectorType OutputCovariantVectorType
 
typedef Superclass::OutputPointType OutputPointType
 
typedef Superclass::OutputVectorType OutputVectorType
 
typedef Superclass::OutputVnlVectorType OutputVnlVectorType
 
typedef Superclass::ParametersType ParametersType
 
typedef Superclass::ParametersValueType ParametersValueType
 
typedef SmartPointer< SelfPointer
 
typedef Superclass::ScalarType ScalarType
 
typedef AdvancedCombinationTransform Self
 
typedef Superclass::SpatialHessianType SpatialHessianType
 
typedef Superclass::SpatialJacobianType SpatialJacobianType
 
typedef AdvancedTransform< elx::TransformBase< TElastix >::CoordRepType, NDimensions, NDimensions > Superclass
 
typedef Superclass::TransformCategoryEnum TransformCategoryEnum
 
typedef OutputPointType(Self::* TransformPointFunctionPointer) (const InputPointType &) const
 
typedef Superclass::TransformType TransformType
 
typedef TransformType::ConstPointer TransformTypeConstPointer
 
typedef TransformType::Pointer TransformTypePointer
 
- Public Types inherited from itk::AdvancedTransform< elx::TransformBase< TElastix >::CoordRepType, NDimensions, NDimensions >
typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::DerivativeType DerivativeType
 
typedef Superclass::FixedParametersType FixedParametersType
 
typedef Superclass::InputCovariantVectorType InputCovariantVectorType
 
typedef Superclass::InputPointType InputPointType
 
typedef Superclass::InputVectorType InputVectorType
 
typedef Superclass::InputVnlVectorType InputVnlVectorType
 
typedef SpatialJacobianType::InternalMatrixType InternalMatrixType
 
typedef Superclass::InverseTransformBasePointer InverseTransformBasePointer
 
typedef Superclass::InverseTransformBaseType InverseTransformBaseType
 
typedef std::vector< SpatialHessianTypeJacobianOfSpatialHessianType
 
typedef std::vector< SpatialJacobianTypeJacobianOfSpatialJacobianType
 
typedef Superclass::JacobianType JacobianType
 
typedef OutputCovariantVectorType MovingImageGradientType
 
typedef MovingImageGradientType::ValueType MovingImageGradientValueType
 
typedef std::vector< unsigned long > NonZeroJacobianIndicesType
 
typedef Superclass::NumberOfParametersType NumberOfParametersType
 
typedef Superclass::OutputCovariantVectorType OutputCovariantVectorType
 
typedef Superclass::OutputPointType OutputPointType
 
typedef Superclass::OutputVectorType OutputVectorType
 
typedef Superclass::OutputVnlVectorType OutputVnlVectorType
 
typedef Superclass::ParametersType ParametersType
 
typedef Superclass::ParametersValueType ParametersValueType
 
typedef SmartPointer< SelfPointer
 
typedef Superclass::ScalarType ScalarType
 
typedef AdvancedTransform Self
 
typedef FixedArray< Matrix< ScalarType, InputSpaceDimension, InputSpaceDimension >, OutputSpaceDimension > SpatialHessianType
 
typedef Matrix< ScalarType, OutputSpaceDimension, InputSpaceDimension > SpatialJacobianType
 
typedef Transform< elx::TransformBase< TElastix >::CoordRepType, NInputDimensions, NOutputDimensions > Superclass
 
typedef Transform< elx::TransformBase< TElastix >::CoordRepType, NInputDimensions, NOutputDimensions > TransformType
 
typedef TransformType::ConstPointer TransformTypeConstPointer
 
typedef TransformType::Pointer TransformTypePointer
 
- Public Types inherited from elastix::TransformBase< TElastix >
typedef itk::AdvancedCombinationTransform< CoordRepType, itkGetStaticConstMacro(FixedImageDimension) > CombinationTransformType
 
typedef ConfigurationType::CommandLineArgumentMapType CommandLineArgumentMapType
 
typedef ConfigurationType::CommandLineEntryType CommandLineEntryType
 
typedef ComponentDatabase ComponentDatabaseType
 
typedef ComponentDatabaseType::ComponentDescriptionType ComponentDescriptionType
 
typedef Configuration::Pointer ConfigurationPointer
 
typedef Configuration ConfigurationType
 
typedef ElastixType::CoordRepType CoordRepType
 
typedef itk::Image< VectorPixelType, FixedImageDimension > DeformationFieldImageType
 
typedef itk::WeakPointer< ElastixTypeElastixPointer
 
typedef TElastix ElastixType
 
typedef ElastixType::FixedImageType FixedImageType
 
typedef CombinationTransformType::InitialTransformType InitialTransformType
 
typedef ITKBaseType::InputPointType InputPointType
 
typedef itk::AdvancedTransform< CoordRepType, itkGetStaticConstMacro(FixedImageDimension), itkGetStaticConstMacro(MovingImageDimension) > ITKBaseType
 
typedef RegistrationType::ITKBaseType ITKRegistrationType
 
typedef ElastixType::MovingImageType MovingImageType
 
typedef itk::Object ObjectType
 
typedef ITKRegistrationType::OptimizerType OptimizerType
 
typedef ITKBaseType::OutputPointType OutputPointType
 
typedef ElastixType::ParameterMapType ParameterMapType
 
typedef ITKBaseType::ParametersType ParametersType
 
typedef elx::ProgressCommand ProgressCommandType
 
typedef ComponentDatabase::PtrToCreator PtrToCreator
 
typedef RegistrationTypeRegistrationPointer
 
typedef ElastixType::RegistrationBaseType RegistrationType
 
typedef OptimizerType::ScalesType ScalesType
 
typedef TransformBase Self
 
typedef BaseComponentSE< TElastix > Superclass
 
typedef ParametersType::ValueType ValueType
 
typedef itk::Vector< float, FixedImageDimension > VectorPixelType
 
- Public Types inherited from elastix::BaseComponentSE< TElastix >
typedef Configuration::Pointer ConfigurationPointer
 
typedef Configuration ConfigurationType
 
typedef itk::WeakPointer< ElastixTypeElastixPointer
 
typedef TElastix ElastixType
 
typedef RegistrationTypeRegistrationPointer
 
typedef ElastixType::RegistrationBaseType RegistrationType
 
typedef BaseComponentSE Self
 
typedef BaseComponent Superclass
 

Public Member Functions

int BeforeAll (void) override
 
void BeforeEachResolution (void) override
 
void BeforeRegistration (void) override
 
 elxClassNameMacro ("MultiBSplineTransformWithNormal")
 
virtual const char * GetClassName () const
 
virtual void IncreaseScale (void)
 
virtual void InitializeTransform (void)
 
 itkStaticConstMacro (SpaceDimension, unsigned int, Superclass2::FixedImageDimension)
 
void ReadFromFile (void) override
 
virtual void SetOptimizerScales (const unsigned int edgeWidth)
 
void WriteToFile (const ParametersType &param) const override
 
- Public Member Functions inherited from itk::AdvancedCombinationTransform< elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension >
void EvaluateJacobianWithImageGradientProduct (const InputPointType &ipp, const MovingImageGradientType &movingImageGradient, DerivativeType &imageJacobian, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const override
 
virtual const char * GetClassName () const
 
const FixedParametersTypeGetFixedParameters (void) const override
 
bool GetHasNonZeroSpatialHessian (void) const override
 
virtual bool GetInverse (Self *inverse) const
 
void GetJacobian (const InputPointType &ipp, JacobianType &j, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const override
 
void GetJacobianOfSpatialHessian (const InputPointType &ipp, JacobianOfSpatialHessianType &jsh, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const override
 
void GetJacobianOfSpatialHessian (const InputPointType &ipp, SpatialHessianType &sh, JacobianOfSpatialHessianType &jsh, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const override
 
void GetJacobianOfSpatialJacobian (const InputPointType &ipp, JacobianOfSpatialJacobianType &jsj, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const override
 
void GetJacobianOfSpatialJacobian (const InputPointType &ipp, SpatialJacobianType &sj, JacobianOfSpatialJacobianType &jsj, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const override
 
virtual const TransformTypePointer GetNthTransform (SizeValueType n) const
 
NumberOfParametersType GetNumberOfNonZeroJacobianIndices (void) const override
 
NumberOfParametersType GetNumberOfParameters (void) const override
 
virtual SizeValueType GetNumberOfTransforms (void) const
 
const ParametersTypeGetParameters (void) const override
 
void GetSpatialHessian (const InputPointType &ipp, SpatialHessianType &sh) const override
 
void GetSpatialJacobian (const InputPointType &ipp, SpatialJacobianType &sj) const override
 
TransformCategoryEnum GetTransformCategory () const override
 
virtual bool GetUseAddition () const
 
virtual bool GetUseComposition () const
 
virtual bool HasNonZeroJacobianOfSpatialHessian (void) const
 
bool IsLinear (void) const override
 
 itkGetModifiableObjectMacro (CurrentTransform, CurrentTransformType)
 
 itkGetModifiableObjectMacro (InitialTransform, InitialTransformType)
 
 itkStaticConstMacro (SpaceDimension, unsigned int, NDimensions)
 
virtual void SetCurrentTransform (CurrentTransformType *_arg)
 
void SetFixedParameters (const FixedParametersType &fixedParam) override
 
virtual void SetInitialTransform (InitialTransformType *_arg)
 
void SetParameters (const ParametersType &param) override
 
void SetParametersByValue (const ParametersType &param) override
 
virtual void SetUseAddition (bool _arg)
 
virtual void SetUseComposition (bool _arg)
 
OutputCovariantVectorType TransformCovariantVector (const InputCovariantVectorType &) const override
 
OutputPointType TransformPoint (const InputPointType &point) const override
 
OutputVectorType TransformVector (const InputVectorType &) const override
 
OutputVnlVectorType TransformVector (const InputVnlVectorType &) const override
 
- Public Member Functions inherited from itk::AdvancedTransform< elx::TransformBase< TElastix >::CoordRepType, NDimensions, NDimensions >
void ComputeJacobianWithRespectToParameters (const InputPointType &, JacobianType &) const override
 
virtual void EvaluateJacobianWithImageGradientProduct (const InputPointType &ipp, const MovingImageGradientType &movingImageGradient, DerivativeType &imageJacobian, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const
 
virtual const char * GetClassName () const
 
virtual bool GetHasNonZeroJacobianOfSpatialHessian () const
 
virtual bool GetHasNonZeroSpatialHessian () const
 
virtual void GetJacobian (const InputPointType &ipp, JacobianType &j, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const=0
 
virtual void GetJacobianOfSpatialHessian (const InputPointType &ipp, JacobianOfSpatialHessianType &jsh, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const=0
 
virtual void GetJacobianOfSpatialHessian (const InputPointType &ipp, SpatialHessianType &sh, JacobianOfSpatialHessianType &jsh, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const=0
 
virtual void GetJacobianOfSpatialJacobian (const InputPointType &ipp, JacobianOfSpatialJacobianType &jsj, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const=0
 
virtual void GetJacobianOfSpatialJacobian (const InputPointType &ipp, SpatialJacobianType &sj, JacobianOfSpatialJacobianType &jsj, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const=0
 
virtual NumberOfParametersType GetNumberOfNonZeroJacobianIndices (void) const
 
virtual void GetSpatialHessian (const InputPointType &ipp, SpatialHessianType &sh) const=0
 
virtual void GetSpatialJacobian (const InputPointType &ipp, SpatialJacobianType &sj) const=0
 
 itkStaticConstMacro (InputSpaceDimension, unsigned int, NInputDimensions)
 
 itkStaticConstMacro (OutputSpaceDimension, unsigned int, NOutputDimensions)
 
- Public Member Functions inherited from elastix::TransformBase< TElastix >
void AfterRegistrationBase (void) override
 
int BeforeAllBase (void) override
 
virtual int BeforeAllTransformix (void)
 
void BeforeRegistrationBase (void) override
 
virtual void ComputeDeterminantOfSpatialJacobian (void) const
 
virtual void ComputeSpatialJacobian (void) const
 
virtual void CreateTransformParametersMap (const ParametersType &param, ParameterMapType *paramsMap) const
 
DeformationFieldImageType::Pointer GenerateDeformationFieldImage (void) const
 
virtual CombinationTransformTypeGetAsCombinationTransform (void)
 
virtual const CombinationTransformTypeGetAsCombinationTransform (void) const
 
virtual ITKBaseTypeGetAsITKBaseType (void)
 
virtual const ITKBaseTypeGetAsITKBaseType (void) const
 
virtual const char * GetClassName () const
 
virtual const InitialTransformTypeGetInitialTransform (void) const
 
virtual const char * GetTransformParametersFileName () const
 
 ITK_DISALLOW_COPY_AND_ASSIGN (TransformBase)
 
 itkStaticConstMacro (FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
 
 itkStaticConstMacro (MovingImageDimension, unsigned int, MovingImageType::ImageDimension)
 
virtual void ReadFromFile (void)
 
virtual void ReadInitialTransformFromFile (const char *transformParameterFileName)
 
virtual void ReadInitialTransformFromVector (const vcl_size_t index)
 
virtual void SetFinalParameters (void)
 
virtual void SetInitialTransform (InitialTransformType *_arg)
 
virtual void SetReadWriteTransformParameters (const bool _arg)
 
virtual void SetTransformParametersFileName (const char *filename)
 
virtual void TransformPoints (void) const
 
virtual void TransformPointsAllPoints (void) const
 
virtual void TransformPointsSomePoints (const std::string filename) const
 
virtual void TransformPointsSomePointsVTK (const std::string filename) const
 
void WriteDeformationFieldImage (typename DeformationFieldImageType::Pointer) const
 
virtual void WriteToFile (const ParametersType &param) const
 
virtual void WriteToFile (void) const
 
- Public Member Functions inherited from elastix::BaseComponentSE< TElastix >
ConfigurationTypeGetConfiguration (void) const
 
ElastixTypeGetElastix (void) const
 
RegistrationPointer GetRegistration (void) const
 
 ITK_DISALLOW_COPY_AND_ASSIGN (BaseComponentSE)
 
void SetConfiguration (ConfigurationType *_arg)
 
void SetElastix (ElastixType *_arg)
 
- Public Member Functions inherited from elastix::BaseComponent
virtual void AfterEachIteration (void)
 
virtual void AfterEachIterationBase (void)
 
virtual void AfterEachResolution (void)
 
virtual void AfterEachResolutionBase (void)
 
virtual void AfterRegistration (void)
 
virtual void AfterRegistrationBase (void)
 
virtual int BeforeAll (void)
 
virtual int BeforeAllBase (void)
 
virtual void BeforeEachResolution (void)
 
virtual void BeforeEachResolutionBase (void)
 
virtual void BeforeRegistration (void)
 
virtual void BeforeRegistrationBase (void)
 
virtual const char * elxGetClassName (void) const
 
const char * GetComponentLabel (void) const
 
 ITK_DISALLOW_COPY_AND_ASSIGN (BaseComponent)
 
 itkTypeMacroNoParent (BaseComponent)
 
void SetComponentLabel (const char *label, unsigned int idx)
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::AdvancedCombinationTransform< elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension >
static Pointer New ()
 
- Static Public Member Functions inherited from elastix::BaseComponent
static std::string ConvertSecondsToDHMS (const double totalSeconds, const unsigned int precision)
 
static void InitializeElastixExecutable ()
 
static bool IsElastixLibrary ()
 

Protected Member Functions

 MultiBSplineTransformWithNormal ()
 
virtual void PreComputeGridInformation (void)
 
 ~MultiBSplineTransformWithNormal () override
 
- Protected Member Functions inherited from itk::AdvancedCombinationTransform< elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension >
 AdvancedCombinationTransform ()
 
void EvaluateJacobianWithImageGradientProductNoCurrentTransform (const InputPointType &, const MovingImageGradientType &, DerivativeType &, NonZeroJacobianIndicesType &) const
 
void EvaluateJacobianWithImageGradientProductNoInitialTransform (const InputPointType &, const MovingImageGradientType &, DerivativeType &, NonZeroJacobianIndicesType &) const
 
void EvaluateJacobianWithImageGradientProductUseAddition (const InputPointType &, const MovingImageGradientType &, DerivativeType &, NonZeroJacobianIndicesType &) const
 
void EvaluateJacobianWithImageGradientProductUseComposition (const InputPointType &, const MovingImageGradientType &, DerivativeType &, NonZeroJacobianIndicesType &) const
 
void GetJacobianNoCurrentTransform (const InputPointType &, JacobianType &, NonZeroJacobianIndicesType &) const
 
void GetJacobianNoInitialTransform (const InputPointType &, JacobianType &, NonZeroJacobianIndicesType &) const
 
void GetJacobianOfSpatialHessianNoCurrentTransform (const InputPointType &ipp, JacobianOfSpatialHessianType &jsh, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const
 
void GetJacobianOfSpatialHessianNoCurrentTransform (const InputPointType &ipp, SpatialHessianType &sh, JacobianOfSpatialHessianType &jsh, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const
 
void GetJacobianOfSpatialHessianNoInitialTransform (const InputPointType &ipp, JacobianOfSpatialHessianType &jsh, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const
 
void GetJacobianOfSpatialHessianNoInitialTransform (const InputPointType &ipp, SpatialHessianType &sh, JacobianOfSpatialHessianType &jsh, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const
 
void GetJacobianOfSpatialHessianUseAddition (const InputPointType &ipp, JacobianOfSpatialHessianType &jsh, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const
 
void GetJacobianOfSpatialHessianUseAddition (const InputPointType &ipp, SpatialHessianType &sh, JacobianOfSpatialHessianType &jsh, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const
 
void GetJacobianOfSpatialHessianUseComposition (const InputPointType &ipp, JacobianOfSpatialHessianType &jsh, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const
 
virtual void GetJacobianOfSpatialHessianUseComposition (const InputPointType &ipp, SpatialHessianType &sh, JacobianOfSpatialHessianType &jsh, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const
 
void GetJacobianOfSpatialJacobianNoCurrentTransform (const InputPointType &ipp, JacobianOfSpatialJacobianType &jsj, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const
 
void GetJacobianOfSpatialJacobianNoCurrentTransform (const InputPointType &ipp, SpatialJacobianType &sj, JacobianOfSpatialJacobianType &jsj, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const
 
void GetJacobianOfSpatialJacobianNoInitialTransform (const InputPointType &ipp, JacobianOfSpatialJacobianType &jsj, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const
 
void GetJacobianOfSpatialJacobianNoInitialTransform (const InputPointType &ipp, SpatialJacobianType &sj, JacobianOfSpatialJacobianType &jsj, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const
 
void GetJacobianOfSpatialJacobianUseAddition (const InputPointType &ipp, JacobianOfSpatialJacobianType &jsj, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const
 
void GetJacobianOfSpatialJacobianUseAddition (const InputPointType &ipp, SpatialJacobianType &sj, JacobianOfSpatialJacobianType &jsj, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const
 
void GetJacobianOfSpatialJacobianUseComposition (const InputPointType &ipp, JacobianOfSpatialJacobianType &jsj, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const
 
void GetJacobianOfSpatialJacobianUseComposition (const InputPointType &ipp, SpatialJacobianType &sj, JacobianOfSpatialJacobianType &jsj, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const
 
void GetJacobianUseAddition (const InputPointType &, JacobianType &, NonZeroJacobianIndicesType &) const
 
void GetJacobianUseComposition (const InputPointType &, JacobianType &, NonZeroJacobianIndicesType &) const
 
void GetSpatialHessianNoCurrentTransform (const InputPointType &ipp, SpatialHessianType &sh) const
 
void GetSpatialHessianNoInitialTransform (const InputPointType &ipp, SpatialHessianType &sh) const
 
void GetSpatialHessianUseAddition (const InputPointType &ipp, SpatialHessianType &sh) const
 
void GetSpatialHessianUseComposition (const InputPointType &ipp, SpatialHessianType &sh) const
 
void GetSpatialJacobianNoCurrentTransform (const InputPointType &ipp, SpatialJacobianType &sj) const
 
void GetSpatialJacobianNoInitialTransform (const InputPointType &ipp, SpatialJacobianType &sj) const
 
void GetSpatialJacobianUseAddition (const InputPointType &ipp, SpatialJacobianType &sj) const
 
void GetSpatialJacobianUseComposition (const InputPointType &ipp, SpatialJacobianType &sj) const
 
virtual void NoCurrentTransformSet (void) const
 
OutputPointType TransformPointNoCurrentTransform (const InputPointType &point) const
 
OutputPointType TransformPointNoInitialTransform (const InputPointType &point) const
 
OutputPointType TransformPointUseAddition (const InputPointType &point) const
 
OutputPointType TransformPointUseComposition (const InputPointType &point) const
 
virtual void UpdateCombinationMethod (void)
 
 ~AdvancedCombinationTransform () override
 
- Protected Member Functions inherited from itk::AdvancedTransform< elx::TransformBase< TElastix >::CoordRepType, NDimensions, NDimensions >
 AdvancedTransform ()
 
 AdvancedTransform (NumberOfParametersType numberOfParameters)
 
 ~AdvancedTransform () override
 
- Protected Member Functions inherited from elastix::TransformBase< TElastix >
void AutomaticScalesEstimation (ScalesType &scales) const
 
void AutomaticScalesEstimationStackTransform (const unsigned int &numSubTransforms, ScalesType &scales) const
 
 TransformBase ()=default
 
 ~TransformBase () override=default
 
- Protected Member Functions inherited from elastix::BaseComponentSE< TElastix >
 BaseComponentSE ()=default
 
 ~BaseComponentSE () override=default
 
- Protected Member Functions inherited from elastix::BaseComponent
 BaseComponent ()=default
 
virtual ~BaseComponent ()=default
 

Private Member Functions

unsigned int InitializeBSplineTransform ()
 
 MultiBSplineTransformWithNormal (const Self &)
 
void operator= (const Self &)
 

Private Attributes

GridScheduleComputerPointer m_GridScheduleComputer
 
GridUpsamplerPointer m_GridUpsampler
 
ImageLabelPointer m_Labels
 
std::string m_LabelsPath
 
MultiBSplineTransformWithNormalCubicType::Pointer m_MultiBSplineTransformWithNormal
 
unsigned int m_SplineOrder
 

Additional Inherited Members

- Protected Attributes inherited from itk::AdvancedCombinationTransform< elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension >
CurrentTransformPointer m_CurrentTransform
 
InitialTransformPointer m_InitialTransform
 
EvaluateJacobianWithImageGradientProductFunctionPointer m_SelectedEvaluateJacobianWithImageGradientProductFunction
 
GetJacobianOfSpatialHessianFunctionPointer m_SelectedGetJacobianOfSpatialHessianFunction
 
GetJacobianOfSpatialHessianFunctionPointer2 m_SelectedGetJacobianOfSpatialHessianFunction2
 
GetJacobianOfSpatialJacobianFunctionPointer m_SelectedGetJacobianOfSpatialJacobianFunction
 
GetJacobianOfSpatialJacobianFunctionPointer2 m_SelectedGetJacobianOfSpatialJacobianFunction2
 
GetSparseJacobianFunctionPointer m_SelectedGetSparseJacobianFunction
 
GetSpatialHessianFunctionPointer m_SelectedGetSpatialHessianFunction
 
GetSpatialJacobianFunctionPointer m_SelectedGetSpatialJacobianFunction
 
TransformPointFunctionPointer m_SelectedTransformPointFunction
 
bool m_UseAddition
 
bool m_UseComposition
 
- Protected Attributes inherited from itk::AdvancedTransform< elx::TransformBase< TElastix >::CoordRepType, NDimensions, NDimensions >
bool m_HasNonZeroJacobianOfSpatialHessian
 
bool m_HasNonZeroSpatialHessian
 
- Protected Attributes inherited from elastix::BaseComponentSE< TElastix >
ConfigurationPointer m_Configuration {}
 
ElastixPointer m_Elastix {}
 
RegistrationPointer m_Registration {}
 

Member Typedef Documentation

◆ BSplineTransformBasePointer

template<class TElastix >
typedef BSplineTransformBaseType::Pointer elastix::MultiBSplineTransformWithNormal< TElastix >::BSplineTransformBasePointer

Definition at line 130 of file elxMultiBSplineTransformWithNormal.h.

◆ BSplineTransformBaseType

template<class TElastix >
typedef itk::AdvancedBSplineDeformableTransformBase< typename elx::TransformBase< TElastix >::CoordRepType, itkGetStaticConstMacro( SpaceDimension ) > elastix::MultiBSplineTransformWithNormal< TElastix >::BSplineTransformBaseType

The ITK-class that provides most of the functionality, and that is set as the "CurrentTransform" in the CombinationTransform.

Definition at line 129 of file elxMultiBSplineTransformWithNormal.h.

◆ CombinationTransformType

template<class TElastix >
typedef Superclass2::CombinationTransformType elastix::MultiBSplineTransformWithNormal< TElastix >::CombinationTransformType

Definition at line 186 of file elxMultiBSplineTransformWithNormal.h.

◆ ConfigurationPointer

template<class TElastix >
typedef Superclass2::ConfigurationPointer elastix::MultiBSplineTransformWithNormal< TElastix >::ConfigurationPointer

Definition at line 179 of file elxMultiBSplineTransformWithNormal.h.

◆ ConfigurationType

template<class TElastix >
typedef Superclass2::ConfigurationType elastix::MultiBSplineTransformWithNormal< TElastix >::ConfigurationType

Definition at line 178 of file elxMultiBSplineTransformWithNormal.h.

◆ ConstPointer

template<class TElastix >
typedef itk::SmartPointer< const Self > elastix::MultiBSplineTransformWithNormal< TElastix >::ConstPointer

Definition at line 107 of file elxMultiBSplineTransformWithNormal.h.

◆ ContinuousIndexType

template<class TElastix >
typedef BSplineTransformBaseType::ContinuousIndexType elastix::MultiBSplineTransformWithNormal< TElastix >::ContinuousIndexType

Definition at line 171 of file elxMultiBSplineTransformWithNormal.h.

◆ CoordRepType

template<class TElastix >
typedef Superclass2::CoordRepType elastix::MultiBSplineTransformWithNormal< TElastix >::CoordRepType

Definition at line 182 of file elxMultiBSplineTransformWithNormal.h.

◆ DirectionType

template<class TElastix >
typedef BSplineTransformBaseType::DirectionType elastix::MultiBSplineTransformWithNormal< TElastix >::DirectionType

Definition at line 169 of file elxMultiBSplineTransformWithNormal.h.

◆ ElastixPointer

template<class TElastix >
typedef Superclass2::ElastixPointer elastix::MultiBSplineTransformWithNormal< TElastix >::ElastixPointer

Definition at line 177 of file elxMultiBSplineTransformWithNormal.h.

◆ ElastixType

template<class TElastix >
typedef Superclass2::ElastixType elastix::MultiBSplineTransformWithNormal< TElastix >::ElastixType

Typedef's from TransformBase.

Definition at line 176 of file elxMultiBSplineTransformWithNormal.h.

◆ FixedImageType

template<class TElastix >
typedef Superclass2::FixedImageType elastix::MultiBSplineTransformWithNormal< TElastix >::FixedImageType

Definition at line 183 of file elxMultiBSplineTransformWithNormal.h.

◆ GridScheduleComputerPointer

template<class TElastix >
typedef GridScheduleComputerType::Pointer elastix::MultiBSplineTransformWithNormal< TElastix >::GridScheduleComputerPointer

Definition at line 191 of file elxMultiBSplineTransformWithNormal.h.

◆ GridScheduleComputerType

template<class TElastix >
typedef itk::GridScheduleComputer< CoordRepType, SpaceDimension > elastix::MultiBSplineTransformWithNormal< TElastix >::GridScheduleComputerType

Typedef's for the GridScheduleComputer and the UpsampleBSplineParametersFilter.

Definition at line 190 of file elxMultiBSplineTransformWithNormal.h.

◆ GridScheduleType

template<class TElastix >
typedef GridScheduleComputerType::VectorGridSpacingFactorType elastix::MultiBSplineTransformWithNormal< TElastix >::GridScheduleType

Definition at line 193 of file elxMultiBSplineTransformWithNormal.h.

◆ GridUpsamplerPointer

template<class TElastix >
typedef GridUpsamplerType::Pointer elastix::MultiBSplineTransformWithNormal< TElastix >::GridUpsamplerPointer

Definition at line 196 of file elxMultiBSplineTransformWithNormal.h.

◆ GridUpsamplerType

template<class TElastix >
typedef itk::UpsampleBSplineParametersFilter< ParametersType, ImageType > elastix::MultiBSplineTransformWithNormal< TElastix >::GridUpsamplerType

Definition at line 195 of file elxMultiBSplineTransformWithNormal.h.

◆ ImageLabelPointer

template<class TElastix >
typedef ImageLabelType::Pointer elastix::MultiBSplineTransformWithNormal< TElastix >::ImageLabelPointer

Definition at line 201 of file elxMultiBSplineTransformWithNormal.h.

◆ ImageLabelType

template<class TElastix >
typedef itk::Image< unsigned char, itkGetStaticConstMacro( SpaceDimension ) > elastix::MultiBSplineTransformWithNormal< TElastix >::ImageLabelType

Typdef's for the Image of Labels

Definition at line 200 of file elxMultiBSplineTransformWithNormal.h.

◆ ImagePointer

template<class TElastix >
typedef BSplineTransformBaseType::ImagePointer elastix::MultiBSplineTransformWithNormal< TElastix >::ImagePointer

Definition at line 163 of file elxMultiBSplineTransformWithNormal.h.

◆ ImageType

template<class TElastix >
typedef BSplineTransformBaseType::ImageType elastix::MultiBSplineTransformWithNormal< TElastix >::ImageType

Definition at line 162 of file elxMultiBSplineTransformWithNormal.h.

◆ IndexType

template<class TElastix >
typedef BSplineTransformBaseType::IndexType elastix::MultiBSplineTransformWithNormal< TElastix >::IndexType

Definition at line 165 of file elxMultiBSplineTransformWithNormal.h.

◆ InputCovariantVectorType

template<class TElastix >
typedef Superclass1::InputCovariantVectorType elastix::MultiBSplineTransformWithNormal< TElastix >::InputCovariantVectorType

Definition at line 153 of file elxMultiBSplineTransformWithNormal.h.

◆ InputPointType

template<class TElastix >
typedef Superclass1::InputPointType elastix::MultiBSplineTransformWithNormal< TElastix >::InputPointType

Definition at line 157 of file elxMultiBSplineTransformWithNormal.h.

◆ InputVectorType

template<class TElastix >
typedef Superclass1::InputVectorType elastix::MultiBSplineTransformWithNormal< TElastix >::InputVectorType

Definition at line 151 of file elxMultiBSplineTransformWithNormal.h.

◆ InputVnlVectorType

template<class TElastix >
typedef Superclass1::InputVnlVectorType elastix::MultiBSplineTransformWithNormal< TElastix >::InputVnlVectorType

Definition at line 155 of file elxMultiBSplineTransformWithNormal.h.

◆ ITKBaseType

template<class TElastix >
typedef Superclass2::ITKBaseType elastix::MultiBSplineTransformWithNormal< TElastix >::ITKBaseType

Definition at line 185 of file elxMultiBSplineTransformWithNormal.h.

◆ JacobianType

template<class TElastix >
typedef Superclass1::JacobianType elastix::MultiBSplineTransformWithNormal< TElastix >::JacobianType

Definition at line 150 of file elxMultiBSplineTransformWithNormal.h.

◆ MovingImageType

template<class TElastix >
typedef Superclass2::MovingImageType elastix::MultiBSplineTransformWithNormal< TElastix >::MovingImageType

Definition at line 184 of file elxMultiBSplineTransformWithNormal.h.

◆ MultiBSplineTransformWithNormalCubicType

template<class TElastix >
typedef itk::MultiBSplineDeformableTransformWithNormal< typename elx::TransformBase< TElastix >::CoordRepType, itkGetStaticConstMacro( SpaceDimension ), 3 > elastix::MultiBSplineTransformWithNormal< TElastix >::MultiBSplineTransformWithNormalCubicType

Definition at line 144 of file elxMultiBSplineTransformWithNormal.h.

◆ MultiBSplineTransformWithNormalLinearType

template<class TElastix >
typedef itk::MultiBSplineDeformableTransformWithNormal< typename elx::TransformBase< TElastix >::CoordRepType, itkGetStaticConstMacro( SpaceDimension ), 1 > elastix::MultiBSplineTransformWithNormal< TElastix >::MultiBSplineTransformWithNormalLinearType

Typedef for supported BSplineTransform types.

Definition at line 136 of file elxMultiBSplineTransformWithNormal.h.

◆ MultiBSplineTransformWithNormalQuadraticType

template<class TElastix >
typedef itk::MultiBSplineDeformableTransformWithNormal< typename elx::TransformBase< TElastix >::CoordRepType, itkGetStaticConstMacro( SpaceDimension ), 2 > elastix::MultiBSplineTransformWithNormal< TElastix >::MultiBSplineTransformWithNormalQuadraticType

Definition at line 140 of file elxMultiBSplineTransformWithNormal.h.

◆ NumberOfParametersType

template<class TElastix >
typedef Superclass1::NumberOfParametersType elastix::MultiBSplineTransformWithNormal< TElastix >::NumberOfParametersType

Definition at line 149 of file elxMultiBSplineTransformWithNormal.h.

◆ OriginType

template<class TElastix >
typedef BSplineTransformBaseType::OriginType elastix::MultiBSplineTransformWithNormal< TElastix >::OriginType

Definition at line 168 of file elxMultiBSplineTransformWithNormal.h.

◆ OutputCovariantVectorType

template<class TElastix >
typedef Superclass1::OutputCovariantVectorType elastix::MultiBSplineTransformWithNormal< TElastix >::OutputCovariantVectorType

Definition at line 154 of file elxMultiBSplineTransformWithNormal.h.

◆ OutputPointType

template<class TElastix >
typedef Superclass1::OutputPointType elastix::MultiBSplineTransformWithNormal< TElastix >::OutputPointType

Definition at line 158 of file elxMultiBSplineTransformWithNormal.h.

◆ OutputVectorType

template<class TElastix >
typedef Superclass1::OutputVectorType elastix::MultiBSplineTransformWithNormal< TElastix >::OutputVectorType

Definition at line 152 of file elxMultiBSplineTransformWithNormal.h.

◆ OutputVnlVectorType

template<class TElastix >
typedef Superclass1::OutputVnlVectorType elastix::MultiBSplineTransformWithNormal< TElastix >::OutputVnlVectorType

Definition at line 156 of file elxMultiBSplineTransformWithNormal.h.

◆ ParameterIndexArrayType

template<class TElastix >
typedef BSplineTransformBaseType::ParameterIndexArrayType elastix::MultiBSplineTransformWithNormal< TElastix >::ParameterIndexArrayType

Definition at line 173 of file elxMultiBSplineTransformWithNormal.h.

◆ ParametersType

template<class TElastix >
typedef Superclass1::ParametersType elastix::MultiBSplineTransformWithNormal< TElastix >::ParametersType

Definition at line 148 of file elxMultiBSplineTransformWithNormal.h.

◆ Pointer

template<class TElastix >
typedef itk::SmartPointer< Self > elastix::MultiBSplineTransformWithNormal< TElastix >::Pointer

Definition at line 106 of file elxMultiBSplineTransformWithNormal.h.

◆ RegionType

template<class TElastix >
typedef BSplineTransformBaseType::RegionType elastix::MultiBSplineTransformWithNormal< TElastix >::RegionType

Definition at line 164 of file elxMultiBSplineTransformWithNormal.h.

◆ RegistrationPointer

template<class TElastix >
typedef Superclass2::RegistrationPointer elastix::MultiBSplineTransformWithNormal< TElastix >::RegistrationPointer

Definition at line 181 of file elxMultiBSplineTransformWithNormal.h.

◆ RegistrationType

template<class TElastix >
typedef Superclass2::RegistrationType elastix::MultiBSplineTransformWithNormal< TElastix >::RegistrationType

Definition at line 180 of file elxMultiBSplineTransformWithNormal.h.

◆ ScalarType

template<class TElastix >
typedef Superclass1::ScalarType elastix::MultiBSplineTransformWithNormal< TElastix >::ScalarType

Typedefs inherited from the superclass.

Definition at line 147 of file elxMultiBSplineTransformWithNormal.h.

◆ Self

template<class TElastix >
typedef MultiBSplineTransformWithNormal elastix::MultiBSplineTransformWithNormal< TElastix >::Self

Standard ITK-stuff.

Definition at line 101 of file elxMultiBSplineTransformWithNormal.h.

◆ SizeType

template<class TElastix >
typedef BSplineTransformBaseType::SizeType elastix::MultiBSplineTransformWithNormal< TElastix >::SizeType

Definition at line 166 of file elxMultiBSplineTransformWithNormal.h.

◆ SpacingType

template<class TElastix >
typedef BSplineTransformBaseType::SpacingType elastix::MultiBSplineTransformWithNormal< TElastix >::SpacingType

Definition at line 167 of file elxMultiBSplineTransformWithNormal.h.

◆ Superclass1

template<class TElastix >
typedef itk::AdvancedCombinationTransform< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension > elastix::MultiBSplineTransformWithNormal< TElastix >::Superclass1

Definition at line 104 of file elxMultiBSplineTransformWithNormal.h.

◆ Superclass2

template<class TElastix >
typedef elx::TransformBase< TElastix > elastix::MultiBSplineTransformWithNormal< TElastix >::Superclass2

Definition at line 105 of file elxMultiBSplineTransformWithNormal.h.

Constructor & Destructor Documentation

◆ MultiBSplineTransformWithNormal() [1/2]

template<class TElastix >
elastix::MultiBSplineTransformWithNormal< TElastix >::MultiBSplineTransformWithNormal ( )
protected

The constructor.

◆ ~MultiBSplineTransformWithNormal()

template<class TElastix >
elastix::MultiBSplineTransformWithNormal< TElastix >::~MultiBSplineTransformWithNormal ( )
inlineoverrideprotected

The destructor.

Definition at line 257 of file elxMultiBSplineTransformWithNormal.h.

◆ MultiBSplineTransformWithNormal() [2/2]

template<class TElastix >
elastix::MultiBSplineTransformWithNormal< TElastix >::MultiBSplineTransformWithNormal ( const Self )
private

The private constructor.

Member Function Documentation

◆ BeforeAll()

template<class TElastix >
int elastix::MultiBSplineTransformWithNormal< TElastix >::BeforeAll ( void  )
overridevirtual

Execute stuff before anything else is done:

  • Initialize the right BSplineTransform.
  • Initialize the right grid schedule computer.

Reimplemented from elastix::BaseComponent.

◆ BeforeEachResolution()

template<class TElastix >
void elastix::MultiBSplineTransformWithNormal< TElastix >::BeforeEachResolution ( void  )
overridevirtual

Execute stuff before each new pyramid resolution:

Reimplemented from elastix::BaseComponent.

◆ BeforeRegistration()

template<class TElastix >
void elastix::MultiBSplineTransformWithNormal< TElastix >::BeforeRegistration ( void  )
overridevirtual

Execute stuff before the actual registration:

  • Create an initial B-spline grid.
  • Create initial registration parameters.
  • PrecomputeGridInformation Initially, the transform is set to use a 1x1x1 grid, with deformation (0,0,0). In the method BeforeEachResolution() this will be replaced by the right grid size. This seems not logical, but it is required, since the registration class checks if the number of parameters in the transform is equal to the number of parameters in the registration class. This check is done before calling the BeforeEachResolution() methods.

Reimplemented from elastix::BaseComponent.

◆ elxClassNameMacro()

template<class TElastix >
elastix::MultiBSplineTransformWithNormal< TElastix >::elxClassNameMacro ( "MultiBSplineTransformWithNormal< TElastix >"  )

Name of this class. Use this name in the parameter file to select this specific transform.
example: (Transform "BSplineTransform")

◆ GetClassName()

template<class TElastix >
virtual const char * elastix::MultiBSplineTransformWithNormal< TElastix >::GetClassName ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from elastix::TransformBase< TElastix >.

◆ IncreaseScale()

template<class TElastix >
virtual void elastix::MultiBSplineTransformWithNormal< TElastix >::IncreaseScale ( void  )
virtual

Method to increase the density of the BSpline grid.

  • Determine the new B-spline coefficients that describe the current deformation field.
  • Set these coefficients as InitialParametersOfNextLevel in the registration object. Called by BeforeEachResolution().

◆ InitializeBSplineTransform()

template<class TElastix >
unsigned int elastix::MultiBSplineTransformWithNormal< TElastix >::InitializeBSplineTransform ( )
private

Initialize the right BSplineTransfrom based on the spline order and periodicity.

◆ InitializeTransform()

template<class TElastix >
virtual void elastix::MultiBSplineTransformWithNormal< TElastix >::InitializeTransform ( void  )
virtual

Method to set the initial BSpline grid and initialize the parameters (to 0).

  • Define the initial grid region, origin and spacing, using the precomputed grid information.
  • Set the initial parameters to zero and set then as InitialParametersOfNextLevel in the registration object. Called by BeforeEachResolution().

◆ itkStaticConstMacro()

template<class TElastix >
elastix::MultiBSplineTransformWithNormal< TElastix >::itkStaticConstMacro ( SpaceDimension  ,
unsigned int  ,
Superclass2::FixedImageDimension   
)

Dimension of the fixed image.

◆ New()

template<class TElastix >
static Pointer elastix::MultiBSplineTransformWithNormal< TElastix >::New ( )
static

Method for creation through the object factory.

◆ operator=()

template<class TElastix >
void elastix::MultiBSplineTransformWithNormal< TElastix >::operator= ( const Self )
private

The private copy constructor.

◆ PreComputeGridInformation()

template<class TElastix >
virtual void elastix::MultiBSplineTransformWithNormal< TElastix >::PreComputeGridInformation ( void  )
protectedvirtual

Read user-specified gridspacing and call the itkGridScheduleComputer.

◆ ReadFromFile()

template<class TElastix >
void elastix::MultiBSplineTransformWithNormal< TElastix >::ReadFromFile ( void  )
overridevirtual

Function to read transform-parameters from a file.

Reimplemented from elastix::TransformBase< TElastix >.

◆ SetOptimizerScales()

template<class TElastix >
virtual void elastix::MultiBSplineTransformWithNormal< TElastix >::SetOptimizerScales ( const unsigned int  edgeWidth)
virtual

Set the scales of the edge B-spline coefficients to zero.

◆ WriteToFile()

template<class TElastix >
void elastix::MultiBSplineTransformWithNormal< TElastix >::WriteToFile ( const ParametersType param) const
overridevirtual

Function to write transform-parameters to a file.

Reimplemented from elastix::TransformBase< TElastix >.

Field Documentation

◆ m_GridScheduleComputer

template<class TElastix >
GridScheduleComputerPointer elastix::MultiBSplineTransformWithNormal< TElastix >::m_GridScheduleComputer
private

Definition at line 271 of file elxMultiBSplineTransformWithNormal.h.

◆ m_GridUpsampler

template<class TElastix >
GridUpsamplerPointer elastix::MultiBSplineTransformWithNormal< TElastix >::m_GridUpsampler
private

Definition at line 272 of file elxMultiBSplineTransformWithNormal.h.

◆ m_Labels

template<class TElastix >
ImageLabelPointer elastix::MultiBSplineTransformWithNormal< TElastix >::m_Labels
private

Definition at line 273 of file elxMultiBSplineTransformWithNormal.h.

◆ m_LabelsPath

template<class TElastix >
std::string elastix::MultiBSplineTransformWithNormal< TElastix >::m_LabelsPath
private

Definition at line 274 of file elxMultiBSplineTransformWithNormal.h.

◆ m_MultiBSplineTransformWithNormal

template<class TElastix >
MultiBSplineTransformWithNormalCubicType::Pointer elastix::MultiBSplineTransformWithNormal< TElastix >::m_MultiBSplineTransformWithNormal
private

Private variables.

Definition at line 270 of file elxMultiBSplineTransformWithNormal.h.

◆ m_SplineOrder

template<class TElastix >
unsigned int elastix::MultiBSplineTransformWithNormal< TElastix >::m_SplineOrder
private

Variable to remember order of MultiBSplineTransformWithNormal.

Definition at line 277 of file elxMultiBSplineTransformWithNormal.h.



Generated on 1667476801 for elastix by doxygen 1.9.4 elastix logo