go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxWeightedCombinationTransform.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 __elxWeightedCombinationTransform_H_
19 #define __elxWeightedCombinationTransform_H_
20 
21 #include "elxIncludes.h" // include first to avoid MSVS warning
24 
25 namespace elastix
26 {
27 
81 template< class TElastix >
84  typename elx::TransformBase< TElastix >::CoordRepType,
85  elx::TransformBase< TElastix >::FixedImageDimension >,
86  public elx::TransformBase< TElastix >
87 {
88 public:
89 
92 
96 
98 
105 
106  typedef itk::SmartPointer< Self > Pointer;
107  typedef itk::SmartPointer< const Self > ConstPointer;
108 
110  itkNewMacro( Self );
111 
114 
119  elxClassNameMacro( "WeightedCombinationTransform" );
120 
122  itkStaticConstMacro( SpaceDimension, unsigned int, Superclass2::FixedImageDimension );
123 
137 
152 
155  typedef typename
157  typedef typename
159  typedef typename
161 
164 
169  void BeforeRegistration( void ) override;
170 
178  virtual void InitializeTransform( void );
179 
187  virtual void SetScales( void );
188 
194  void ReadFromFile( void ) override;
195 
200  void WriteToFile( const ParametersType & param ) const override;
201 
204  virtual void LoadSubTransforms( void );
205 
206 protected:
207 
212 
214  std::vector< std::string > m_SubTransformFileNames;
215 
216 private:
217 
219  WeightedCombinationTransformElastix( const Self & ); // purposely not implemented
221  void operator=( const Self & ); // purposely not implemented
222 
223 };
224 
225 } // end namespace elastix
226 
227 #ifndef ITK_MANUAL_INSTANTIATION
228 #include "elxWeightedCombinationTransform.hxx"
229 #endif
230 
231 #endif // end #ifndef __elxWeightedCombinationTransform_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
ConfigurationType ::CommandLineArgumentMapType CommandLineArgumentMapType
itk::WeakPointer< ElastixType > ElastixPointer
OptimizerType::ScalesType ScalesType
RegistrationType * RegistrationPointer
ElastixType::MovingImageType MovingImageType
ConfigurationType ::CommandLineEntryType CommandLineEntryType
ElastixType::CoordRepType CoordRepType
ElastixType::RegistrationBaseType RegistrationType
A transform based on the itk::WeightedCombinationTransform.
WeightedCombinationTransformType::TransformPointer SubTransformPointer
void WriteToFile(const ParametersType &param) const override
elxClassNameMacro("WeightedCombinationTransform")
Superclass1::NumberOfParametersType NumberOfParametersType
WeightedCombinationTransformType::TransformContainerType TransformContainerType
WeightedCombinationTransformPointer m_WeightedCombinationTransform
Superclass2::CommandLineArgumentMapType CommandLineArgumentMapType
itk::AdvancedCombinationTransform< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension > Superclass1
Superclass2::CombinationTransformType CombinationTransformType
itk::WeightedCombinationTransform< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension, elx::TransformBase< TElastix >::MovingImageDimension > WeightedCombinationTransformType
itkStaticConstMacro(SpaceDimension, unsigned int, Superclass2::FixedImageDimension)
Superclass1::OutputCovariantVectorType OutputCovariantVectorType
WeightedCombinationTransformType::Pointer WeightedCombinationTransformPointer
WeightedCombinationTransformType::TransformType SubTransformType
Superclass1::InputCovariantVectorType InputCovariantVectorType
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.
Superclass::ParametersType ParametersType
Implements a weighted linear combination of multiple transforms.
Transform< TScalarType, NInputDimensions, NOutputDimensions > TransformType
std::vector< TransformPointer > TransformContainerType


Generated on OURCE_DATE_EPOCH for elastix by doxygen 1.9.1 elastix logo