![]() |
Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
#include <elxWeightedCombinationTransform.h>
Public Member Functions | |
virtual void | BeforeRegistration (void) |
elxClassNameMacro ("WeightedCombinationTransform") | |
virtual const char * | GetClassName () const |
virtual void | InitializeTransform (void) |
itkStaticConstMacro (SpaceDimension, unsigned int, Superclass2::FixedImageDimension) | |
virtual void | LoadSubTransforms (void) |
virtual void | ReadFromFile (void) |
virtual void | SetScales (void) |
virtual void | WriteToFile (const ParametersType ¶m) const |
![]() | |
virtual CurrentTransformType * | GetCurrentTransform () |
virtual const ParametersType & | GetFixedParameters (void) const |
virtual bool | GetHasNonZeroSpatialHessian (void) const |
virtual const InitialTransformType * | GetInitialTransform () |
virtual bool | GetInverse (Self *inverse) const |
virtual const JacobianType & | GetJacobian (const InputPointType &point) const |
virtual void | GetJacobian (const InputPointType &ipp, JacobianType &j, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const |
virtual void | GetJacobianOfSpatialHessian (const InputPointType &ipp, JacobianOfSpatialHessianType &jsh, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const |
virtual void | GetJacobianOfSpatialHessian (const InputPointType &ipp, SpatialHessianType &sh, JacobianOfSpatialHessianType &jsh, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const |
virtual void | GetJacobianOfSpatialJacobian (const InputPointType &ipp, JacobianOfSpatialJacobianType &jsj, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const |
virtual void | GetJacobianOfSpatialJacobian (const InputPointType &ipp, SpatialJacobianType &sj, JacobianOfSpatialJacobianType &jsj, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const |
virtual unsigned long | GetNumberOfNonZeroJacobianIndices (void) const |
virtual unsigned int | GetNumberOfParameters (void) const |
virtual const ParametersType & | GetParameters (void) const |
virtual void | GetSpatialHessian (const InputPointType &ipp, SpatialHessianType &sh) const |
virtual void | GetSpatialJacobian (const InputPointType &ipp, SpatialJacobianType &sj) const |
virtual bool | GetUseAddition () const |
virtual bool | GetUseComposition () const |
virtual bool | HasNonZeroJacobianOfSpatialHessian (void) const |
virtual bool | IsLinear (void) const |
itkStaticConstMacro (SpaceDimension, unsigned int, NDimensions) | |
virtual void | SetCurrentTransform (CurrentTransformType *_arg) |
virtual void | SetFixedParameters (const ParametersType &fixedParam) |
virtual void | SetInitialTransform (const InitialTransformType *_arg) |
virtual void | SetParameters (const ParametersType ¶m) |
virtual void | SetParametersByValue (const ParametersType ¶m) |
virtual void | SetUseAddition (bool _arg) |
virtual void | SetUseComposition (bool _arg) |
virtual OutputPointType | TransformPoint (const InputPointType &point) const |
![]() | |
virtual bool | GetHasNonZeroJacobianOfSpatialHessian () const |
virtual void | GetJacobian (const InputPointType &ipp, JacobianType &j, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const |
virtual void | GetJacobianOfSpatialHessian (const InputPointType &ipp, JacobianOfSpatialHessianType &jsh, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const |
virtual void | GetJacobianOfSpatialHessian (const InputPointType &ipp, SpatialHessianType &sh, JacobianOfSpatialHessianType &jsh, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const |
virtual void | GetJacobianOfSpatialJacobian (const InputPointType &ipp, JacobianOfSpatialJacobianType &jsj, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const |
virtual void | GetJacobianOfSpatialJacobian (const InputPointType &ipp, SpatialJacobianType &sj, JacobianOfSpatialJacobianType &jsj, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const |
virtual void | GetSpatialHessian (const InputPointType &ipp, SpatialHessianType &sh) const |
virtual void | GetSpatialJacobian (const InputPointType &ipp, SpatialJacobianType &sj) const |
itkStaticConstMacro (InputSpaceDimension, unsigned int, NInputDimensions) | |
itkStaticConstMacro (OutputSpaceDimension, unsigned int, NOutputDimensions) | |
![]() | |
virtual void | AfterRegistrationBase (void) |
virtual int | BeforeAllBase (void) |
virtual int | BeforeAllTransformix (void) |
virtual void | BeforeRegistrationBase (void) |
virtual void | ComputeDeterminantOfSpatialJacobian (void) const |
virtual void | ComputeSpatialJacobian (void) const |
virtual const CombinationTransformType * | GetAsCombinationTransform (void) const |
virtual CombinationTransformType * | GetAsCombinationTransform (void) |
virtual ITKBaseType * | GetAsITKBaseType (void) |
virtual const ITKBaseType * | GetAsITKBaseType (void) const |
virtual const InitialTransformType * | GetInitialTransform (void) const |
virtual const char * | GetTransformParametersFileName () const |
itkStaticConstMacro (FixedImageDimension, unsigned int, FixedImageType::ImageDimension) | |
itkStaticConstMacro (MovingImageDimension, unsigned int, MovingImageType::ImageDimension) | |
virtual void | ReadInitialTransformFromFile (const char *transformParameterFileName) |
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 |
virtual void | WriteToFile (void) const |
![]() | |
virtual ConfigurationType * | GetConfiguration (void) const |
virtual ElastixType * | GetElastix (void) const |
virtual RegistrationPointer | GetRegistration (void) const |
virtual void | SetConfiguration (ConfigurationType *_arg) |
virtual void | SetElastix (ElastixType *_arg) |
![]() | |
virtual void | AfterEachIteration (void) |
virtual void | AfterEachIterationBase (void) |
virtual void | AfterEachResolution (void) |
virtual void | AfterEachResolutionBase (void) |
virtual void | AfterRegistration (void) |
virtual int | BeforeAll (void) |
virtual void | BeforeEachResolution (void) |
virtual void | BeforeEachResolutionBase (void) |
virtual const char * | elxGetClassName (void) const |
virtual const char * | GetComponentLabel (void) const |
virtual void | SetComponentLabel (const char *label, unsigned int idx) |
Static Public Member Functions | |
static Pointer | New () |
![]() | |
static Pointer | New () |
![]() | |
static Pointer | New () |
Protected Member Functions | |
WeightedCombinationTransformElastix () | |
virtual | ~WeightedCombinationTransformElastix () |
![]() | |
AdvancedCombinationTransform () | |
const JacobianType & | GetJacobianNoCurrentTransform (const InputPointType &point) const |
void | GetJacobianNoCurrentTransform (const InputPointType &, JacobianType &, NonZeroJacobianIndicesType &) const |
const JacobianType & | GetJacobianNoInitialTransform (const InputPointType &point) 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 |
const JacobianType & | GetJacobianUseAddition (const InputPointType &point) const |
void | GetJacobianUseAddition (const InputPointType &, JacobianType &, NonZeroJacobianIndicesType &) const |
const JacobianType & | GetJacobianUseComposition (const InputPointType &point) 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 throw (ExceptionObject) |
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) |
virtual | ~AdvancedCombinationTransform () |
![]() | |
AdvancedTransform () | |
AdvancedTransform (unsigned int Dimension, unsigned int NumberOfParameters) | |
virtual | ~AdvancedTransform () |
![]() | |
void | AutomaticScalesEstimation (ScalesType &scales) const |
TransformBase () | |
virtual | ~TransformBase () |
![]() | |
BaseComponentSE () | |
virtual | ~BaseComponentSE () |
![]() | |
BaseComponent () | |
virtual | ~BaseComponent () |
Private Member Functions | |
void | operator= (const Self &) |
WeightedCombinationTransformElastix (const Self &) | |
A transform based on the itk::WeightedCombinationTransform.
This transform is a weighted combination transformation. It implements .
The transformparameters are the weighting factors for each subtransform
. You could use this to implement registration using a statistical deformation model. Each subtransform would then be a principal component that follows from your statistical model for example.
A normalization factor can optionally be used:
You can also use this class to average transformations found by previous elastix runs.
The parameters used in this class are:
Transform: Select this transform as follows:
(Transform "WeightedCombinationTransform")
NormalizeCombinationWeights: use the normalized expression .
(NormalizeCombinationWeights "true" )
Default value: "false". Different values in each resolution are not supported.
SubTransforms: a list of transform parameter filenames that will serve as subtransforms .
(SubTransforms "tp0.txt" "TransformParameters.1.txt" "tpbspline.txt" )
AutomaticScalesEstimation: if this parameter is set to "true" the Scales parameter is ignored and the scales are determined automatically.
example: (AutomaticScalesEstimation "true")
Default: "false".
Scales: The scale factor for each transform parameter, during optimization.
If your input subtransforms have very different magnitudes, you may compensate for that by supplying scales, which will make the optimization CostFunction better behaving. For subtransforms with a high magnitude, provide a large scale then. NB: not in all cases you may want this. example: (Scales 1.0 1.0 10.0)
Default: 1 for each parameter. See also AutomaticScalesEstimation, which is more convenient.
The transform parameters necessary for transformix, additionally defined by this class, are:
NormalizeCombinationWeights: use the normalized expression .
(NormalizeCombinationWeights "true" )
Default value: "false". Different values in each resolution are not supported.
SubTransforms: a list of transform parameter filenames that will serve as subtransforms .
(SubTransforms "tp0.txt" "TransformParameters.1.txt" "tpbspline.txt" )
Definition at line 80 of file elxWeightedCombinationTransform.h.
typedef Superclass2::CombinationTransformType elastix::WeightedCombinationTransformElastix< TElastix >::CombinationTransformType |
Definition at line 146 of file elxWeightedCombinationTransform.h.
typedef Superclass2::CommandLineArgumentMapType elastix::WeightedCombinationTransformElastix< TElastix >::CommandLineArgumentMapType |
Definition at line 147 of file elxWeightedCombinationTransform.h.
typedef Superclass2::CommandLineEntryType elastix::WeightedCombinationTransformElastix< TElastix >::CommandLineEntryType |
Definition at line 148 of file elxWeightedCombinationTransform.h.
typedef Superclass2::ConfigurationPointer elastix::WeightedCombinationTransformElastix< TElastix >::ConfigurationPointer |
Definition at line 139 of file elxWeightedCombinationTransform.h.
typedef Superclass2::ConfigurationType elastix::WeightedCombinationTransformElastix< TElastix >::ConfigurationType |
Definition at line 138 of file elxWeightedCombinationTransform.h.
typedef SmartPointer<const Self> elastix::WeightedCombinationTransformElastix< TElastix >::ConstPointer |
Definition at line 105 of file elxWeightedCombinationTransform.h.
typedef Superclass2::CoordRepType elastix::WeightedCombinationTransformElastix< TElastix >::CoordRepType |
Definition at line 142 of file elxWeightedCombinationTransform.h.
typedef Superclass2::ElastixPointer elastix::WeightedCombinationTransformElastix< TElastix >::ElastixPointer |
Definition at line 137 of file elxWeightedCombinationTransform.h.
typedef Superclass2::ElastixType elastix::WeightedCombinationTransformElastix< TElastix >::ElastixType |
Typedef's from the TransformBase class.
Definition at line 136 of file elxWeightedCombinationTransform.h.
typedef Superclass2::FixedImageType elastix::WeightedCombinationTransformElastix< TElastix >::FixedImageType |
Definition at line 143 of file elxWeightedCombinationTransform.h.
typedef Superclass1::InputCovariantVectorType elastix::WeightedCombinationTransformElastix< TElastix >::InputCovariantVectorType |
Definition at line 128 of file elxWeightedCombinationTransform.h.
typedef Superclass1::InputPointType elastix::WeightedCombinationTransformElastix< TElastix >::InputPointType |
Definition at line 132 of file elxWeightedCombinationTransform.h.
typedef Superclass1::InputVectorType elastix::WeightedCombinationTransformElastix< TElastix >::InputVectorType |
Definition at line 126 of file elxWeightedCombinationTransform.h.
typedef Superclass1::InputVnlVectorType elastix::WeightedCombinationTransformElastix< TElastix >::InputVnlVectorType |
Definition at line 130 of file elxWeightedCombinationTransform.h.
typedef Superclass2::ITKBaseType elastix::WeightedCombinationTransformElastix< TElastix >::ITKBaseType |
Definition at line 145 of file elxWeightedCombinationTransform.h.
typedef Superclass1::JacobianType elastix::WeightedCombinationTransformElastix< TElastix >::JacobianType |
Definition at line 125 of file elxWeightedCombinationTransform.h.
typedef Superclass2::MovingImageType elastix::WeightedCombinationTransformElastix< TElastix >::MovingImageType |
Definition at line 144 of file elxWeightedCombinationTransform.h.
typedef Superclass1::OutputCovariantVectorType elastix::WeightedCombinationTransformElastix< TElastix >::OutputCovariantVectorType |
Definition at line 129 of file elxWeightedCombinationTransform.h.
typedef Superclass1::OutputPointType elastix::WeightedCombinationTransformElastix< TElastix >::OutputPointType |
Definition at line 133 of file elxWeightedCombinationTransform.h.
typedef Superclass1::OutputVectorType elastix::WeightedCombinationTransformElastix< TElastix >::OutputVectorType |
Definition at line 127 of file elxWeightedCombinationTransform.h.
typedef Superclass1::OutputVnlVectorType elastix::WeightedCombinationTransformElastix< TElastix >::OutputVnlVectorType |
Definition at line 131 of file elxWeightedCombinationTransform.h.
typedef Superclass1::ParametersType elastix::WeightedCombinationTransformElastix< TElastix >::ParametersType |
Definition at line 124 of file elxWeightedCombinationTransform.h.
typedef SmartPointer<Self> elastix::WeightedCombinationTransformElastix< TElastix >::Pointer |
Definition at line 104 of file elxWeightedCombinationTransform.h.
typedef Superclass2::RegistrationPointer elastix::WeightedCombinationTransformElastix< TElastix >::RegistrationPointer |
Definition at line 141 of file elxWeightedCombinationTransform.h.
typedef Superclass2::RegistrationType elastix::WeightedCombinationTransformElastix< TElastix >::RegistrationType |
Definition at line 140 of file elxWeightedCombinationTransform.h.
typedef Superclass1::ScalarType elastix::WeightedCombinationTransformElastix< TElastix >::ScalarType |
Typedefs inherited from the superclass.
Definition at line 123 of file elxWeightedCombinationTransform.h.
typedef Superclass2::ScalesType elastix::WeightedCombinationTransformElastix< TElastix >::ScalesType |
For scales setting in the optimizer
Definition at line 160 of file elxWeightedCombinationTransform.h.
typedef WeightedCombinationTransformElastix elastix::WeightedCombinationTransformElastix< TElastix >::Self |
Standard ITK-stuff.
Definition at line 89 of file elxWeightedCombinationTransform.h.
typedef WeightedCombinationTransformType::TransformPointer elastix::WeightedCombinationTransformElastix< TElastix >::SubTransformPointer |
Definition at line 157 of file elxWeightedCombinationTransform.h.
typedef WeightedCombinationTransformType::TransformType elastix::WeightedCombinationTransformElastix< TElastix >::SubTransformType |
Definition at line 155 of file elxWeightedCombinationTransform.h.
typedef AdvancedCombinationTransform< typename elx::TransformBase<TElastix>::CoordRepType, elx::TransformBase<TElastix>::FixedImageDimension > elastix::WeightedCombinationTransformElastix< TElastix >::Superclass1 |
Definition at line 93 of file elxWeightedCombinationTransform.h.
typedef elx::TransformBase<TElastix> elastix::WeightedCombinationTransformElastix< TElastix >::Superclass2 |
Definition at line 95 of file elxWeightedCombinationTransform.h.
typedef WeightedCombinationTransformType::TransformContainerType elastix::WeightedCombinationTransformElastix< TElastix >::TransformContainerType |
Definition at line 153 of file elxWeightedCombinationTransform.h.
typedef WeightedCombinationTransformType::Pointer elastix::WeightedCombinationTransformElastix< TElastix >::WeightedCombinationTransformPointer |
Extra typedefs
Definition at line 151 of file elxWeightedCombinationTransform.h.
typedef WeightedCombinationTransform< typename elx::TransformBase<TElastix>::CoordRepType, elx::TransformBase<TElastix>::FixedImageDimension, elx::TransformBase<TElastix>::MovingImageDimension > elastix::WeightedCombinationTransformElastix< TElastix >::WeightedCombinationTransformType |
The ITK-class that provides most of the functionality, and that is set as the "CurrentTransform" in the CombinationTransform
Definition at line 102 of file elxWeightedCombinationTransform.h.
|
protected |
The constructor.
|
inlineprotectedvirtual |
The destructor.
Definition at line 208 of file elxWeightedCombinationTransform.h.
|
private |
The private constructor.
|
virtual |
Execute stuff before the actual registration:
Reimplemented from elastix::BaseComponent.
elastix::WeightedCombinationTransformElastix< TElastix >::elxClassNameMacro | ( | "WeightedCombinationTransform" | ) |
Name of this class. Use this name in the parameter file to select this specific transform.
example: (Transform "WeightedCombinationTransform")
|
virtual |
Run-time type information (and related methods).
Reimplemented from elastix::TransformBase< TElastix >.
|
virtual |
Initialize Transform.
elastix::WeightedCombinationTransformElastix< TElastix >::itkStaticConstMacro | ( | SpaceDimension | , |
unsigned | int, | ||
Superclass2::FixedImageDimension | |||
) |
Dimension of the domain space.
|
virtual |
Load from the parameter file a list of subtransforms. The filenames are stored in the m_SubTransformFileNames list
|
static |
Method for creation through the object factory.
|
private |
The private copy constructor.
|
virtual |
Function to read transform-parameters from a file.
It loads the subtransforms, the NormalizeWeights option, and calls the superclass' implementation.
Reimplemented from elastix::TransformBase< TElastix >.
|
virtual |
Set the scales
|
virtual |
Function to write transform-parameters to a file. It writes the names of the subTransform parameterFiles. and the NormalizeWeights option, and calls the superclass' implementation.
Reimplemented from elastix::TransformBase< TElastix >.
|
protected |
Definition at line 211 of file elxWeightedCombinationTransform.h.
|
protected |
Definition at line 208 of file elxWeightedCombinationTransform.h.
Generated on 27-06-2013 for elastix by ![]() |
![]() |