go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxTranslationStackTransform.h
Go to the documentation of this file.
1/*=========================================================================
2 *
3 * Copyright UMC Utrecht and contributors
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0.txt
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 *
17 *=========================================================================*/
18#ifndef __elxTranslationStackTransform_h
19#define __elxTranslationStackTransform_h
20
21#include "elxIncludes.h" // include first to avoid MSVS warning
24#include "itkStackTransform.h"
25
26
54namespace elastix
55{
56template< class TElastix >
59 typename elx::TransformBase< TElastix >::CoordRepType,
60 elx::TransformBase< TElastix >::FixedImageDimension >,
61 public elx::TransformBase< TElastix >
62{
63public:
64
71 typedef itk::SmartPointer< Self > Pointer;
72 typedef itk::SmartPointer< const Self > ConstPointer;
73
75 itkNewMacro( Self );
76
79
84 elxClassNameMacro( "TranslationStackTransform" );
85
87 itkStaticConstMacro( SpaceDimension, unsigned int, Superclass2::FixedImageDimension );
88 itkStaticConstMacro( ReducedSpaceDimension, unsigned int, Superclass2::FixedImageDimension - 1 );
89
95 itkGetStaticConstMacro( SpaceDimension ) > TranslationTransformType;
97
101 itkGetStaticConstMacro( ReducedSpaceDimension ) > ReducedDimensionTranslationTransformType;
103
105 typedef itk::StackTransform<
107 itkGetStaticConstMacro( SpaceDimension ),
108 itkGetStaticConstMacro( SpaceDimension ) > TranslationStackTransformType;
110
114
127
129 typedef typename FixedImageType::SizeType SizeType;
130
136 int BeforeAll( void ) override;
137
138 void BeforeRegistration( void ) override;
139
140 virtual void InitializeTransform( void );
141
143 void ReadFromFile( void ) override;
144
146 void WriteToFile( const ParametersType & param ) const override;
147
148protected:
149
152
155
156private:
157
159 TranslationStackTransform( const Self & ); // purposely not implemented
160 void operator=( const Self & ); // purposely not implemented
161
164
167
171
173
174};
175
176
177} // end namespace elastix
178
179#ifndef ITK_MANUAL_INSTANTIATION
180#include "elxTranslationStackTransform.hxx"
181#endif
182
183#endif // end #ifndef __elxTranslationStackTransform_h
A class that deals with user given parameters and command line arguments.
This class is the elastix base class for all Transforms.
Configuration::Pointer ConfigurationPointer
ElastixType::FixedImageType FixedImageType
itk::WeakPointer< ElastixType > ElastixPointer
RegistrationType * RegistrationPointer
ElastixType::MovingImageType MovingImageType
ElastixType::CoordRepType CoordRepType
ElastixType::RegistrationBaseType RegistrationType
Superclass2::ConfigurationType ConfigurationType
itkStaticConstMacro(SpaceDimension, unsigned int, Superclass2::FixedImageDimension)
virtual void InitializeTransform(void)
unsigned int InitializeTranslationTransform()
itk::AdvancedTranslationTransform< typename elx::TransformBase< TElastix >::CoordRepType, itkGetStaticConstMacro(SpaceDimension) > TranslationTransformType
Superclass2::RegistrationType RegistrationType
ReducedDimensionTranslationTransformType::Pointer ReducedDimensionTranslationTransformPointer
itk::AdvancedTranslationTransform< typename elx::TransformBase< TElastix >::CoordRepType, itkGetStaticConstMacro(ReducedSpaceDimension) > ReducedDimensionTranslationTransformType
Superclass2::CombinationTransformType CombinationTransformType
void ReadFromFile(void) override
Superclass1::NumberOfParametersType NumberOfParametersType
itk::SmartPointer< const Self > ConstPointer
void WriteToFile(const ParametersType &param) const override
TranslationStackTransformPointer m_TranslationStackTransform
TranslationStackTransformType::Pointer TranslationStackTransformPointer
Superclass2::ConfigurationPointer ConfigurationPointer
TranslationTransformType::Pointer TranslationTransformPointer
elxClassNameMacro("TranslationStackTransform")
elx::TransformBase< TElastix > Superclass2
ReducedDimensionTranslationTransformPointer m_TranslationDummySubTransform
Superclass2::RegistrationPointer RegistrationPointer
itkStaticConstMacro(ReducedSpaceDimension, unsigned int, Superclass2::FixedImageDimension - 1)
void BeforeRegistration(void) override
itk::StackTransform< typename elx::TransformBase< TElastix >::CoordRepType, itkGetStaticConstMacro(SpaceDimension), itkGetStaticConstMacro(SpaceDimension) > TranslationStackTransformType
itk::AdvancedCombinationTransform< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension > Superclass1
This class combines two transforms: an 'initial transform' with a 'current transform'.
Superclass::NumberOfParametersType NumberOfParametersType
Transform maps points, vectors and covariant vectors from an input space to an output space.
Translation transformation of a vector space (e.g. space coordinates)
Implements stack of transforms: one for every last dimension index.


Generated on 1667476801 for elastix by doxygen 1.9.4 elastix logo