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 
102  typename elx::TransformBase< TElastix >::CoordRepType,
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  virtual void BeforeRegistration( void );
170 
178  virtual void InitializeTransform( void );
179 
187  virtual void SetScales( void );
188 
194  virtual void ReadFromFile( void );
195 
200  virtual void WriteToFile( const ParametersType & param ) const;
201 
204  virtual void LoadSubTransforms( void );
205 
206 protected:
207 
212 
213  WeightedCombinationTransformPointer m_WeightedCombinationTransform;
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_
This class combines two transforms: an 'initial transform' with a 'current transform'.
Superclass::InputCovariantVectorType InputCovariantVectorType
Superclass::RegistrationPointer RegistrationPointer
Superclass::OutputCovariantVectorType OutputCovariantVectorType
WeightedCombinationTransformType::TransformPointer SubTransformPointer
WeightedCombinationTransformPointer m_WeightedCombinationTransform
itk::AdvancedCombinationTransform< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension > Superclass1
ConfigurationType::CommandLineArgumentMapType CommandLineArgumentMapType
std::vector< TransformPointer > TransformContainerType
OptimizerType::ScalesType ScalesType
Superclass1::NumberOfParametersType NumberOfParametersType
itkStaticConstMacro(SpaceDimension, unsigned int, Superclass2::FixedImageDimension)
Superclass2::CommandLineArgumentMapType CommandLineArgumentMapType
Superclass1::OutputCovariantVectorType OutputCovariantVectorType
Superclass2::CombinationTransformType CombinationTransformType
WeightedCombinationTransformType::Pointer WeightedCombinationTransformPointer
WeightedCombinationTransformType::TransformContainerType TransformContainerType
ElastixType::FixedImageType FixedImageType
virtual void WriteToFile(void) const
Superclass::ElastixType ElastixType
Transform maps points, vectors and covariant vectors from an input space to an output space...
A transform based on the itk::WeightedCombinationTransform.
itk::WeightedCombinationTransform< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension, elx::TransformBase< TElastix >::MovingImageDimension > WeightedCombinationTransformType
ElastixType::MovingImageType MovingImageType
Superclass::ElastixPointer ElastixPointer
ElastixType::CoordRepType CoordRepType
Superclass::RegistrationType RegistrationType
Implements a weighted linear combination of multiple transforms.
Superclass::NumberOfParametersType NumberOfParametersType
elxClassNameMacro("WeightedCombinationTransform")
WeightedCombinationTransformType::TransformType SubTransformType
This class is the elastix base class for all Transforms.
ConfigurationType::CommandLineEntryType CommandLineEntryType
Transform< TScalarType, NInputDimensions, NOutputDimensions > TransformType
Superclass::ConfigurationType ConfigurationType
Superclass1::InputCovariantVectorType InputCovariantVectorType
Superclass::OutputVnlVectorType OutputVnlVectorType
Superclass::ConfigurationPointer ConfigurationPointer
Superclass::InputVnlVectorType InputVnlVectorType


Generated on 04-09-2015 for elastix by doxygen 1.8.9.1 elastix logo