go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxAffineDTITransform.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 __elxAffineDTITransform_H__
19#define __elxAffineDTITransform_H__
20
21#include "elxIncludes.h" // include first to avoid MSVS warning
23#include "itkAffineDTITransform.h"
24#include "itkCenteredTransformInitializer.h"
25
26namespace elastix
27{
28
77template< class TElastix >
80 typename elx::TransformBase< TElastix >::CoordRepType,
81 elx::TransformBase< TElastix >::FixedImageDimension >,
82 public elx::TransformBase< TElastix >
83{
84public:
85
92 typedef itk::SmartPointer< Self > Pointer;
93 typedef itk::SmartPointer< const Self > ConstPointer;
94
97 typedef itk::AffineDTITransform<
100
102 itkNewMacro( Self );
103
106
111 elxClassNameMacro( "AffineDTITransform" );
112
114 itkStaticConstMacro( SpaceDimension, unsigned int, Superclass2::FixedImageDimension );
115
123
132
133 typedef typename AffineDTITransformType::Pointer AffineDTITransformPointer;
134 typedef typename AffineDTITransformType::OffsetType OffsetType;
135
148
150 typedef typename FixedImageType::IndexType IndexType;
151 typedef typename IndexType::IndexValueType IndexValueType;
152 typedef typename FixedImageType::SizeType SizeType;
153 typedef typename FixedImageType::PointType PointType;
154 typedef typename FixedImageType::SpacingType SpacingType;
155 typedef typename FixedImageType::RegionType RegionType;
156 typedef typename FixedImageType::DirectionType DirectionType;
157
158 typedef itk::CenteredTransformInitializer<
160 typedef typename TransformInitializerType::Pointer TransformInitializerPointer;
161
164
169 void BeforeRegistration( void ) override;
170
186 virtual void InitializeTransform( void );
187
195 virtual void SetScales( void );
196
201 void ReadFromFile( void ) override;
202
206 void WriteToFile( const ParametersType & param ) const override;
207
208protected:
209
214
217 virtual bool ReadCenterOfRotationPoint( InputPointType & rotationPoint ) const;
218
219private:
220
222 AffineDTITransformElastix( const Self & ); // purposely not implemented
224 void operator=( const Self & ); // purposely not implemented
225
227
228};
229
230} // end namespace elastix
231
232#ifndef ITK_MANUAL_INSTANTIATION
233#include "elxAffineDTITransform.hxx"
234#endif
235
236#endif // end #ifndef __elxAffineDTITransform_H__
A transform based on the itk AffineDTITransform.
Superclass2::CoordRepType CoordRepType
elx::TransformBase< TElastix > Superclass2
Superclass1::OutputPointType OutputPointType
virtual void InitializeTransform(void)
Superclass1::OutputVectorType OutputVectorType
AffineDTITransformType::Pointer AffineDTITransformPointer
itk::AffineDTITransform< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension > AffineDTITransformType
AffineDTITransformType::OffsetType OffsetType
Superclass1::ParametersType ParametersType
void BeforeRegistration(void) override
itk::AdvancedCombinationTransform< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension > Superclass1
void ReadFromFile(void) override
Superclass1::JacobianType JacobianType
Superclass1::OutputCovariantVectorType OutputCovariantVectorType
Superclass1::InputVectorType InputVectorType
Superclass1::NumberOfParametersType NumberOfParametersType
Superclass1::OutputVnlVectorType OutputVnlVectorType
Superclass1::InputVnlVectorType InputVnlVectorType
FixedImageType::SpacingType SpacingType
itk::CenteredTransformInitializer< AffineDTITransformType, FixedImageType, MovingImageType > TransformInitializerType
Superclass1::InputPointType InputPointType
TransformInitializerType::Pointer TransformInitializerPointer
void WriteToFile(const ParametersType &param) const override
FixedImageType::RegionType RegionType
AffineDTITransformPointer m_AffineDTITransform
Superclass2::RegistrationPointer RegistrationPointer
elxClassNameMacro("AffineDTITransform")
Superclass2::ConfigurationPointer ConfigurationPointer
itkStaticConstMacro(SpaceDimension, unsigned int, Superclass2::FixedImageDimension)
virtual bool ReadCenterOfRotationPoint(InputPointType &rotationPoint) const
Superclass2::RegistrationType RegistrationType
itk::SmartPointer< const Self > ConstPointer
Superclass1::InputCovariantVectorType InputCovariantVectorType
Superclass2::CombinationTransformType CombinationTransformType
Superclass2::ConfigurationType ConfigurationType
FixedImageType::DirectionType DirectionType
Superclass2::FixedImageType FixedImageType
Superclass2::ElastixPointer ElastixPointer
IndexType::IndexValueType IndexValueType
Superclass2::MovingImageType MovingImageType
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
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.


Generated on 1667476801 for elastix by doxygen 1.9.4 elastix logo