Home
|
Main Page
|
Modules
|
Namespace List
|
Class Hierarchy
|
Alphabetical List
|
Data Structures
|
File List
|
Namespace Members
|
Data Fields
|
Globals
|
Related Pages
Components
Transforms
WeightedCombinationTransform
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
22
#include "
itkWeightedCombinationTransform.h
"
23
#include "
itkAdvancedCombinationTransform.h
"
24
25
namespace
elastix
26
{
27
81
template
<
class
TElastix >
82
class
WeightedCombinationTransformElastix
:
83
public
itk::AdvancedCombinationTransform
<
84
typename elx::TransformBase< TElastix >::CoordRepType,
85
elx::TransformBase< TElastix >::FixedImageDimension >,
86
public
elx::TransformBase
< TElastix >
87
{
88
public
:
89
91
typedef
WeightedCombinationTransformElastix
Self
;
92
93
typedef
itk::AdvancedCombinationTransform
<
94
typename
elx::TransformBase< TElastix >::CoordRepType
,
95
elx::TransformBase< TElastix >::FixedImageDimension
>
Superclass1
;
96
97
typedef
elx::TransformBase< TElastix >
Superclass2
;
98
101
typedef
itk::WeightedCombinationTransform
<
102
typename
elx::TransformBase< TElastix >::CoordRepType
,
103
elx::TransformBase< TElastix >::FixedImageDimension
,
104
elx::TransformBase< TElastix >::MovingImageDimension
>
WeightedCombinationTransformType
;
105
106
typedef
itk::SmartPointer< Self >
Pointer
;
107
typedef
itk::SmartPointer< const Self >
ConstPointer
;
108
110
itkNewMacro(
Self
);
111
113
itkTypeMacro(
WeightedCombinationTransformElastix
,
itk::AdvancedCombinationTransform
);
114
119
elxClassNameMacro
(
"WeightedCombinationTransform"
);
120
122
itkStaticConstMacro
( SpaceDimension,
unsigned
int
, Superclass2::FixedImageDimension );
123
125
typedef
typename
Superclass1::ScalarType
ScalarType
;
126
typedef
typename
Superclass1::ParametersType
ParametersType
;
127
typedef
typename
Superclass1::NumberOfParametersType
NumberOfParametersType
;
128
typedef
typename
Superclass1::JacobianType
JacobianType
;
129
typedef
typename
Superclass1::InputVectorType
InputVectorType
;
130
typedef
typename
Superclass1::OutputVectorType
OutputVectorType
;
131
typedef
typename
Superclass1::InputCovariantVectorType
InputCovariantVectorType
;
132
typedef
typename
Superclass1::OutputCovariantVectorType
OutputCovariantVectorType
;
133
typedef
typename
Superclass1::InputVnlVectorType
InputVnlVectorType
;
134
typedef
typename
Superclass1::OutputVnlVectorType
OutputVnlVectorType
;
135
typedef
typename
Superclass1::InputPointType
InputPointType
;
136
typedef
typename
Superclass1::OutputPointType
OutputPointType
;
137
139
typedef
typename
Superclass2::ElastixType
ElastixType
;
140
typedef
typename
Superclass2::ElastixPointer
ElastixPointer
;
141
typedef
typename
Superclass2::ConfigurationType
ConfigurationType
;
142
typedef
typename
Superclass2::ConfigurationPointer
ConfigurationPointer
;
143
typedef
typename
Superclass2::RegistrationType
RegistrationType
;
144
typedef
typename
Superclass2::RegistrationPointer
RegistrationPointer
;
145
typedef
typename
Superclass2::CoordRepType
CoordRepType
;
146
typedef
typename
Superclass2::FixedImageType
FixedImageType
;
147
typedef
typename
Superclass2::MovingImageType
MovingImageType
;
148
typedef
typename
Superclass2::ITKBaseType
ITKBaseType
;
149
typedef
typename
Superclass2::CombinationTransformType
CombinationTransformType
;
150
typedef
typename
Superclass2::CommandLineArgumentMapType
CommandLineArgumentMapType
;
151
typedef
typename
Superclass2::CommandLineEntryType
CommandLineEntryType
;
152
154
typedef
typename
WeightedCombinationTransformType::Pointer
WeightedCombinationTransformPointer
;
155
typedef
typename
156
WeightedCombinationTransformType::TransformContainerType
TransformContainerType
;
157
typedef
typename
158
WeightedCombinationTransformType::TransformType
SubTransformType
;
159
typedef
typename
160
WeightedCombinationTransformType::TransformPointer
SubTransformPointer
;
161
163
typedef
typename
Superclass2::ScalesType
ScalesType
;
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
209
WeightedCombinationTransformElastix
();
211
~WeightedCombinationTransformElastix
()
override
{}
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_
SmartPointer< Self >
elastix::Configuration
A class that deals with user given parameters and command line arguments.
Definition:
elxConfiguration.h:51
elastix::TransformBase
This class is the elastix base class for all Transforms.
Definition:
elxTransformBase.h:130
elastix::TransformBase::ConfigurationPointer
Configuration::Pointer ConfigurationPointer
Definition:
elxBaseComponentSE.h:59
elastix::TransformBase::FixedImageType
ElastixType::FixedImageType FixedImageType
Definition:
elxTransformBase.h:156
elastix::TransformBase::ElastixType
TElastix ElastixType
Definition:
elxBaseComponentSE.h:54
elastix::TransformBase::ElastixPointer
itk::WeakPointer< ElastixType > ElastixPointer
Definition:
elxBaseComponentSE.h:55
elastix::TransformBase::ScalesType
OptimizerType::ScalesType ScalesType
Definition:
elxTransformBase.h:203
elastix::TransformBase::RegistrationPointer
RegistrationType * RegistrationPointer
Definition:
elxBaseComponentSE.h:65
elastix::TransformBase::MovingImageType
ElastixType::MovingImageType MovingImageType
Definition:
elxTransformBase.h:157
elastix::TransformBase::CommandLineArgumentMapType
ConfigurationType::CommandLineArgumentMapType CommandLineArgumentMapType
Definition:
elxTransformBase.h:150
elastix::TransformBase::CoordRepType
ElastixType::CoordRepType CoordRepType
Definition:
elxTransformBase.h:155
elastix::TransformBase::CommandLineEntryType
ConfigurationType::CommandLineEntryType CommandLineEntryType
Definition:
elxTransformBase.h:152
elastix::TransformBase::RegistrationType
ElastixType::RegistrationBaseType RegistrationType
Definition:
elxBaseComponentSE.h:64
elastix::WeightedCombinationTransformElastix
A transform based on the itk::WeightedCombinationTransform.
Definition:
elxWeightedCombinationTransform.h:87
elastix::WeightedCombinationTransformElastix::SubTransformPointer
WeightedCombinationTransformType::TransformPointer SubTransformPointer
Definition:
elxWeightedCombinationTransform.h:160
elastix::WeightedCombinationTransformElastix::WriteToFile
void WriteToFile(const ParametersType ¶m) const override
elastix::WeightedCombinationTransformElastix::ElastixPointer
Superclass2::ElastixPointer ElastixPointer
Definition:
elxWeightedCombinationTransform.h:140
elastix::WeightedCombinationTransformElastix::SetScales
virtual void SetScales(void)
elastix::WeightedCombinationTransformElastix::CommandLineEntryType
Superclass2::CommandLineEntryType CommandLineEntryType
Definition:
elxWeightedCombinationTransform.h:151
elastix::WeightedCombinationTransformElastix::ElastixType
Superclass2::ElastixType ElastixType
Definition:
elxWeightedCombinationTransform.h:139
elastix::WeightedCombinationTransformElastix::ITKBaseType
Superclass2::ITKBaseType ITKBaseType
Definition:
elxWeightedCombinationTransform.h:148
elastix::WeightedCombinationTransformElastix::elxClassNameMacro
elxClassNameMacro("WeightedCombinationTransform")
elastix::WeightedCombinationTransformElastix::NumberOfParametersType
Superclass1::NumberOfParametersType NumberOfParametersType
Definition:
elxWeightedCombinationTransform.h:127
elastix::WeightedCombinationTransformElastix::TransformContainerType
WeightedCombinationTransformType::TransformContainerType TransformContainerType
Definition:
elxWeightedCombinationTransform.h:156
elastix::WeightedCombinationTransformElastix::ConstPointer
itk::SmartPointer< const Self > ConstPointer
Definition:
elxWeightedCombinationTransform.h:107
elastix::WeightedCombinationTransformElastix::m_SubTransformFileNames
std::vector< std::string > m_SubTransformFileNames
Definition:
elxWeightedCombinationTransform.h:214
elastix::WeightedCombinationTransformElastix::LoadSubTransforms
virtual void LoadSubTransforms(void)
elastix::WeightedCombinationTransformElastix::Self
WeightedCombinationTransformElastix Self
Definition:
elxWeightedCombinationTransform.h:91
elastix::WeightedCombinationTransformElastix::m_WeightedCombinationTransform
WeightedCombinationTransformPointer m_WeightedCombinationTransform
Definition:
elxWeightedCombinationTransform.h:213
elastix::WeightedCombinationTransformElastix::CommandLineArgumentMapType
Superclass2::CommandLineArgumentMapType CommandLineArgumentMapType
Definition:
elxWeightedCombinationTransform.h:150
elastix::WeightedCombinationTransformElastix::Superclass1
itk::AdvancedCombinationTransform< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension > Superclass1
Definition:
elxWeightedCombinationTransform.h:95
elastix::WeightedCombinationTransformElastix::CombinationTransformType
Superclass2::CombinationTransformType CombinationTransformType
Definition:
elxWeightedCombinationTransform.h:149
elastix::WeightedCombinationTransformElastix::ParametersType
Superclass1::ParametersType ParametersType
Definition:
elxWeightedCombinationTransform.h:126
elastix::WeightedCombinationTransformElastix::WeightedCombinationTransformElastix
WeightedCombinationTransformElastix()
elastix::WeightedCombinationTransformElastix::ScalarType
Superclass1::ScalarType ScalarType
Definition:
elxWeightedCombinationTransform.h:125
elastix::WeightedCombinationTransformElastix::InputPointType
Superclass1::InputPointType InputPointType
Definition:
elxWeightedCombinationTransform.h:135
elastix::WeightedCombinationTransformElastix::BeforeRegistration
void BeforeRegistration(void) override
elastix::WeightedCombinationTransformElastix::Pointer
itk::SmartPointer< Self > Pointer
Definition:
elxWeightedCombinationTransform.h:106
elastix::WeightedCombinationTransformElastix::RegistrationPointer
Superclass2::RegistrationPointer RegistrationPointer
Definition:
elxWeightedCombinationTransform.h:144
elastix::WeightedCombinationTransformElastix::OutputVnlVectorType
Superclass1::OutputVnlVectorType OutputVnlVectorType
Definition:
elxWeightedCombinationTransform.h:134
elastix::WeightedCombinationTransformElastix::CoordRepType
Superclass2::CoordRepType CoordRepType
Definition:
elxWeightedCombinationTransform.h:145
elastix::WeightedCombinationTransformElastix::RegistrationType
Superclass2::RegistrationType RegistrationType
Definition:
elxWeightedCombinationTransform.h:143
elastix::WeightedCombinationTransformElastix::WeightedCombinationTransformType
itk::WeightedCombinationTransform< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension, elx::TransformBase< TElastix >::MovingImageDimension > WeightedCombinationTransformType
Definition:
elxWeightedCombinationTransform.h:104
elastix::WeightedCombinationTransformElastix::itkStaticConstMacro
itkStaticConstMacro(SpaceDimension, unsigned int, Superclass2::FixedImageDimension)
elastix::WeightedCombinationTransformElastix::ReadFromFile
void ReadFromFile(void) override
elastix::WeightedCombinationTransformElastix::OutputCovariantVectorType
Superclass1::OutputCovariantVectorType OutputCovariantVectorType
Definition:
elxWeightedCombinationTransform.h:132
elastix::WeightedCombinationTransformElastix::WeightedCombinationTransformPointer
WeightedCombinationTransformType::Pointer WeightedCombinationTransformPointer
Definition:
elxWeightedCombinationTransform.h:154
elastix::WeightedCombinationTransformElastix::WeightedCombinationTransformElastix
WeightedCombinationTransformElastix(const Self &)
elastix::WeightedCombinationTransformElastix::InitializeTransform
virtual void InitializeTransform(void)
elastix::WeightedCombinationTransformElastix::OutputPointType
Superclass1::OutputPointType OutputPointType
Definition:
elxWeightedCombinationTransform.h:136
elastix::WeightedCombinationTransformElastix::ConfigurationType
Superclass2::ConfigurationType ConfigurationType
Definition:
elxWeightedCombinationTransform.h:141
elastix::WeightedCombinationTransformElastix::SubTransformType
WeightedCombinationTransformType::TransformType SubTransformType
Definition:
elxWeightedCombinationTransform.h:158
elastix::WeightedCombinationTransformElastix::InputVectorType
Superclass1::InputVectorType InputVectorType
Definition:
elxWeightedCombinationTransform.h:129
elastix::WeightedCombinationTransformElastix::InputCovariantVectorType
Superclass1::InputCovariantVectorType InputCovariantVectorType
Definition:
elxWeightedCombinationTransform.h:131
elastix::WeightedCombinationTransformElastix::JacobianType
Superclass1::JacobianType JacobianType
Definition:
elxWeightedCombinationTransform.h:128
elastix::WeightedCombinationTransformElastix::FixedImageType
Superclass2::FixedImageType FixedImageType
Definition:
elxWeightedCombinationTransform.h:146
elastix::WeightedCombinationTransformElastix::ConfigurationPointer
Superclass2::ConfigurationPointer ConfigurationPointer
Definition:
elxWeightedCombinationTransform.h:142
elastix::WeightedCombinationTransformElastix::OutputVectorType
Superclass1::OutputVectorType OutputVectorType
Definition:
elxWeightedCombinationTransform.h:130
elastix::WeightedCombinationTransformElastix::Superclass2
elx::TransformBase< TElastix > Superclass2
Definition:
elxWeightedCombinationTransform.h:97
elastix::WeightedCombinationTransformElastix::ScalesType
Superclass2::ScalesType ScalesType
Definition:
elxWeightedCombinationTransform.h:163
elastix::WeightedCombinationTransformElastix::operator=
void operator=(const Self &)
elastix::WeightedCombinationTransformElastix::~WeightedCombinationTransformElastix
~WeightedCombinationTransformElastix() override
Definition:
elxWeightedCombinationTransform.h:211
elastix::WeightedCombinationTransformElastix::InputVnlVectorType
Superclass1::InputVnlVectorType InputVnlVectorType
Definition:
elxWeightedCombinationTransform.h:133
elastix::WeightedCombinationTransformElastix::MovingImageType
Superclass2::MovingImageType MovingImageType
Definition:
elxWeightedCombinationTransform.h:147
itk::AdvancedCombinationTransform
This class combines two transforms: an 'initial transform' with a 'current transform'.
Definition:
itkAdvancedCombinationTransform.h:58
itk::AdvancedCombinationTransform::InputCovariantVectorType
Superclass::InputCovariantVectorType InputCovariantVectorType
Definition:
itkAdvancedCombinationTransform.h:87
itk::AdvancedCombinationTransform::ParametersType
Superclass::ParametersType ParametersType
Definition:
itkAdvancedCombinationTransform.h:79
itk::AdvancedCombinationTransform::OutputVnlVectorType
Superclass::OutputVnlVectorType OutputVnlVectorType
Definition:
itkAdvancedCombinationTransform.h:90
itk::AdvancedCombinationTransform::InputPointType
Superclass::InputPointType InputPointType
Definition:
itkAdvancedCombinationTransform.h:91
itk::AdvancedCombinationTransform::OutputPointType
Superclass::OutputPointType OutputPointType
Definition:
itkAdvancedCombinationTransform.h:92
itk::AdvancedCombinationTransform::ScalarType
Superclass::ScalarType ScalarType
Definition:
itkAdvancedCombinationTransform.h:78
itk::AdvancedCombinationTransform::OutputCovariantVectorType
Superclass::OutputCovariantVectorType OutputCovariantVectorType
Definition:
itkAdvancedCombinationTransform.h:88
itk::AdvancedCombinationTransform::NumberOfParametersType
Superclass::NumberOfParametersType NumberOfParametersType
Definition:
itkAdvancedCombinationTransform.h:82
itk::AdvancedCombinationTransform::JacobianType
Superclass::JacobianType JacobianType
Definition:
itkAdvancedCombinationTransform.h:84
itk::AdvancedCombinationTransform::InputVnlVectorType
Superclass::InputVnlVectorType InputVnlVectorType
Definition:
itkAdvancedCombinationTransform.h:89
itk::AdvancedCombinationTransform::OutputVectorType
Superclass::OutputVectorType OutputVectorType
Definition:
itkAdvancedCombinationTransform.h:86
itk::AdvancedCombinationTransform::InputVectorType
Superclass::InputVectorType InputVectorType
Definition:
itkAdvancedCombinationTransform.h:85
itk::AdvancedTransform
Transform maps points, vectors and covariant vectors from an input space to an output space.
Definition:
itkAdvancedTransform.h:87
itk::WeightedCombinationTransform
Implements a weighted linear combination of multiple transforms.
Definition:
itkWeightedCombinationTransform.h:46
itk::WeightedCombinationTransform::TransformPointer
TransformType::Pointer TransformPointer
Definition:
itkWeightedCombinationTransform.h:96
itk::WeightedCombinationTransform::TransformType
Transform< TScalarType, NInputDimensions, NOutputDimensions > TransformType
Definition:
itkWeightedCombinationTransform.h:94
itk::WeightedCombinationTransform::TransformContainerType
std::vector< TransformPointer > TransformContainerType
Definition:
itkWeightedCombinationTransform.h:97
elxIncludes.h
itkAdvancedCombinationTransform.h
itkWeightedCombinationTransform.h
elastix
Definition:
elxFixedGenericPyramid.h:25
Generated on 1667476801 for elastix by
1.9.4