go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxEulerTransform.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 __elxEulerTransform_H__
19#define __elxEulerTransform_H__
20
21#include "elxIncludes.h" // include first to avoid MSVS warning
23#include "itkEulerTransform.h"
24#include "itkCenteredTransformInitializer.h"
25
26namespace elastix
27{
28
73template< class TElastix >
76 typename elx::TransformBase< TElastix >::CoordRepType,
77 elx::TransformBase< TElastix >::FixedImageDimension >,
78 public elx::TransformBase< TElastix >
79{
80public:
81
84
88
90
93 typedef itk::EulerTransform<
96
97 typedef itk::SmartPointer< Self > Pointer;
98 typedef itk::SmartPointer< const Self > ConstPointer;
99
101 itkNewMacro( Self );
102
104 //itkTypeMacro( EulerTransformElastix, EulerTransform );
106
111 elxClassNameMacro( "EulerTransform" );
112
114 itkStaticConstMacro( SpaceDimension, unsigned int, Superclass2::FixedImageDimension );
115
123
132
135
149
151 typedef typename FixedImageType::IndexType IndexType;
152 typedef typename IndexType::IndexValueType IndexValueType;
153 typedef typename FixedImageType::SizeType SizeType;
154 typedef typename FixedImageType::PointType PointType;
155 typedef typename FixedImageType::SpacingType SpacingType;
156 typedef typename FixedImageType::RegionType RegionType;
157 typedef typename FixedImageType::DirectionType DirectionType;
158
159 typedef itk::CenteredTransformInitializer<
161 typedef typename TransformInitializerType::Pointer TransformInitializerPointer;
162
165
170 void BeforeRegistration( void ) override;
171
187 virtual void InitializeTransform( void );
188
196 virtual void SetScales( void );
197
202 void ReadFromFile( void ) override;
203
207 void WriteToFile( const ParametersType & param ) const override;
208
213 const ParametersType & param, ParameterMapType * paramsMap ) const override;
214
215protected:
216
221
227 virtual bool ReadCenterOfRotationPoint( InputPointType & rotationPoint ) const;
228
229private:
230
232 EulerTransformElastix( const Self & ); // purposely not implemented
234 void operator=( const Self & ); // purposely not implemented
235
237
238};
239
240} // end namespace elastix
241
242#ifndef ITK_MANUAL_INSTANTIATION
243#include "elxEulerTransform.hxx"
244#endif
245
246#endif // end #ifndef __elxEulerTransform_H__
A class that deals with user given parameters and command line arguments.
A transform based on the itk EulerTransforms.
void WriteToFile(const ParametersType &param) const override
IndexType::IndexValueType IndexValueType
EulerTransformType::Pointer EulerTransformPointer
Superclass1::OutputVectorType OutputVectorType
Superclass1::JacobianType JacobianType
Superclass2::ElastixType ElastixType
FixedImageType::PointType PointType
Superclass2::ITKBaseType ITKBaseType
Superclass2::FixedImageType FixedImageType
void ReadFromFile(void) override
EulerTransformPointer m_EulerTransform
FixedImageType::RegionType RegionType
Superclass1::ScalarType ScalarType
Superclass2::ScalesType ScalesType
Superclass1::InputVnlVectorType InputVnlVectorType
Superclass1::NumberOfParametersType NumberOfParametersType
Superclass1::ParametersType ParametersType
elxClassNameMacro("EulerTransform")
EulerTransformType::OffsetType OffsetType
Superclass1::InputVectorType InputVectorType
FixedImageType::DirectionType DirectionType
Superclass1::OutputVnlVectorType OutputVnlVectorType
virtual void SetScales(void)
Superclass2::ConfigurationType ConfigurationType
void CreateTransformParametersMap(const ParametersType &param, ParameterMapType *paramsMap) const override
Superclass2::ElastixPointer ElastixPointer
Superclass2::ParameterMapType ParameterMapType
FixedImageType::SpacingType SpacingType
itk::EulerTransform< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension > EulerTransformType
FixedImageType::SizeType SizeType
Superclass2::MovingImageType MovingImageType
Superclass1::OutputCovariantVectorType OutputCovariantVectorType
itk::AdvancedCombinationTransform< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension > Superclass1
itk::CenteredTransformInitializer< EulerTransformType, FixedImageType, MovingImageType > TransformInitializerType
itk::SmartPointer< Self > Pointer
virtual bool ReadCenterOfRotationPoint(InputPointType &rotationPoint) const
Superclass1::OutputPointType OutputPointType
Superclass1::InputPointType InputPointType
void operator=(const Self &)
Superclass2::ConfigurationPointer ConfigurationPointer
Superclass1::InputCovariantVectorType InputCovariantVectorType
Superclass2::CombinationTransformType CombinationTransformType
elx::TransformBase< TElastix > Superclass2
void BeforeRegistration(void) override
itkStaticConstMacro(SpaceDimension, unsigned int, Superclass2::FixedImageDimension)
Superclass2::RegistrationPointer RegistrationPointer
TransformInitializerType::Pointer TransformInitializerPointer
Superclass2::CoordRepType CoordRepType
virtual void InitializeTransform(void)
Superclass2::RegistrationType RegistrationType
itk::SmartPointer< const Self > ConstPointer
FixedImageType::IndexType IndexType
This class is the elastix base class for all Transforms.
Configuration::Pointer ConfigurationPointer
ElastixType::FixedImageType FixedImageType
ElastixType::ParameterMapType ParameterMapType
itk::WeakPointer< ElastixType > ElastixPointer
OptimizerType::ScalesType ScalesType
RegistrationType * RegistrationPointer
ElastixType::MovingImageType MovingImageType
ElastixType::CoordRepType CoordRepType
ElastixType::RegistrationBaseType RegistrationType
This class combines two transforms: an 'initial transform' with a 'current transform'.
Superclass::InputCovariantVectorType InputCovariantVectorType
Superclass::OutputVnlVectorType OutputVnlVectorType
Superclass::OutputCovariantVectorType OutputCovariantVectorType
Superclass::NumberOfParametersType NumberOfParametersType
Superclass::InputVnlVectorType InputVnlVectorType
Transform maps points, vectors and covariant vectors from an input space to an output space.
This class combines the Euler2DTransform with the Euler3DTransform.
Superclass::OffsetType OffsetType


Generated on 1667476801 for elastix by doxygen 1.9.4 elastix logo