Home
|
Main Page
|
Modules
|
Namespace List
|
Class Hierarchy
|
Alphabetical List
|
Data Structures
|
File List
|
Namespace Members
|
Data Fields
|
Globals
|
Related Pages
src
Components
Metrics
BendingEnergyPenalty
elxTransformBendingEnergyPenaltyTerm.h
Go to the documentation of this file.
1
/*======================================================================
2
3
This file is part of the elastix software.
4
5
Copyright (c) University Medical Center Utrecht. All rights reserved.
6
See src/CopyrightElastix.txt or http://elastix.isi.uu.nl/legal.php for
7
details.
8
9
This software is distributed WITHOUT ANY WARRANTY; without even
10
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11
PURPOSE. See the above copyright notices for more information.
12
13
======================================================================*/
14
#ifndef __elxTransformBendingEnergyPenaltyTerm_H__
15
#define __elxTransformBendingEnergyPenaltyTerm_H__
16
17
#include "
elxIncludes.h
"
18
#include "
itkTransformBendingEnergyPenaltyTerm.h
"
19
20
#include "
elxTimer.h
"
21
22
namespace
elastix
23
{
24
using namespace
itk;
25
46
template
<
class
TElastix >
47
class
TransformBendingEnergyPenalty
:
48
public
49
TransformBendingEnergyPenaltyTerm
<
50
ITK_TYPENAME MetricBase<TElastix>::FixedImageType,
51
double >,
52
public
MetricBase
<TElastix>
53
{
54
public
:
55
57
typedef
TransformBendingEnergyPenalty
Self
;
58
typedef
TransformBendingEnergyPenaltyTerm
<
59
typename
MetricBase<TElastix>::FixedImageType
,
60
double
>
Superclass1
;
61
typedef
MetricBase<TElastix>
Superclass2
;
62
typedef
SmartPointer<Self>
Pointer
;
63
typedef
SmartPointer<const Self>
ConstPointer
;
64
66
itkNewMacro(
Self
);
67
69
itkTypeMacro(
TransformBendingEnergyPenalty
,
TransformBendingEnergyPenaltyTerm
);
70
75
elxClassNameMacro
(
"TransformBendingEnergyPenalty"
);
76
78
typedef
typename
79
Superclass1::CoordinateRepresentationType
CoordinateRepresentationType
;
80
typedef
typename
Superclass1::MovingImageType
MovingImageType
;
81
typedef
typename
Superclass1::MovingImagePixelType
MovingImagePixelType
;
82
typedef
typename
Superclass1::MovingImageConstPointer
MovingImageConstPointer
;
83
typedef
typename
Superclass1::FixedImageType
FixedImageType
;
84
typedef
typename
Superclass1::FixedImageConstPointer
FixedImageConstPointer
;
85
typedef
typename
Superclass1::FixedImageRegionType
FixedImageRegionType
;
86
typedef
typename
Superclass1::TransformType
TransformType
;
87
typedef
typename
Superclass1::TransformPointer
TransformPointer
;
88
typedef
typename
Superclass1::InputPointType
InputPointType
;
89
typedef
typename
Superclass1::OutputPointType
OutputPointType
;
90
typedef
typename
Superclass1::TransformParametersType
TransformParametersType
;
91
typedef
typename
Superclass1::TransformJacobianType
TransformJacobianType
;
92
typedef
typename
Superclass1::InterpolatorType
InterpolatorType
;
93
typedef
typename
Superclass1::InterpolatorPointer
InterpolatorPointer
;
94
typedef
typename
Superclass1::RealType
RealType
;
95
typedef
typename
Superclass1::GradientPixelType
GradientPixelType
;
96
typedef
typename
Superclass1::GradientImageType
GradientImageType
;
97
typedef
typename
Superclass1::GradientImagePointer
GradientImagePointer
;
98
typedef
typename
Superclass1::GradientImageFilterType
GradientImageFilterType
;
99
typedef
typename
Superclass1::GradientImageFilterPointer
GradientImageFilterPointer
;
100
typedef
typename
Superclass1::FixedImageMaskType
FixedImageMaskType
;
101
typedef
typename
Superclass1::FixedImageMaskPointer
FixedImageMaskPointer
;
102
typedef
typename
Superclass1::MovingImageMaskType
MovingImageMaskType
;
103
typedef
typename
Superclass1::MovingImageMaskPointer
MovingImageMaskPointer
;
104
typedef
typename
Superclass1::MeasureType
MeasureType
;
105
typedef
typename
Superclass1::DerivativeType
DerivativeType
;
106
typedef
typename
Superclass1::ParametersType
ParametersType
;
107
typedef
typename
Superclass1::FixedImagePixelType
FixedImagePixelType
;
108
typedef
typename
Superclass1::MovingImageRegionType
MovingImageRegionType
;
109
typedef
typename
Superclass1::ImageSamplerType
ImageSamplerType
;
110
typedef
typename
Superclass1::ImageSamplerPointer
ImageSamplerPointer
;
111
typedef
typename
Superclass1::ImageSampleContainerType
ImageSampleContainerType
;
112
typedef
typename
113
Superclass1::ImageSampleContainerPointer
ImageSampleContainerPointer
;
114
typedef
typename
Superclass1::FixedImageLimiterType
FixedImageLimiterType
;
115
typedef
typename
Superclass1::MovingImageLimiterType
MovingImageLimiterType
;
116
typedef
typename
117
Superclass1::FixedImageLimiterOutputType
FixedImageLimiterOutputType
;
118
typedef
typename
119
Superclass1::MovingImageLimiterOutputType
MovingImageLimiterOutputType
;
120
122
itkStaticConstMacro( FixedImageDimension,
unsigned
int
,
123
FixedImageType::ImageDimension );
124
126
itkStaticConstMacro( MovingImageDimension,
unsigned
int
,
127
MovingImageType::ImageDimension );
128
130
typedef
typename
Superclass2::ElastixType
ElastixType
;
131
typedef
typename
Superclass2::ElastixPointer
ElastixPointer
;
132
typedef
typename
Superclass2::ConfigurationType
ConfigurationType
;
133
typedef
typename
Superclass2::ConfigurationPointer
ConfigurationPointer
;
134
typedef
typename
Superclass2::RegistrationType
RegistrationType
;
135
typedef
typename
Superclass2::RegistrationPointer
RegistrationPointer
;
136
typedef
typename
Superclass2::ITKBaseType
ITKBaseType
;
137
139
typedef
tmr::Timer
TimerType
;
141
typedef
TimerType::Pointer
TimerPointer
;
142
146
virtual
void
Initialize(
void
) throw (ExceptionObject);
147
152
virtual
void
BeforeEachResolution(
void
);
153
154
protected:
155
157
TransformBendingEnergyPenalty
(){};
158
160
virtual
~TransformBendingEnergyPenalty
() {}
161
162
private
:
163
165
TransformBendingEnergyPenalty
(
const
Self& );
// purposely not implemented
167
void
operator=(
const
Self& );
// purposely not implemented
168
169
};
// end class TransformBendingEnergyPenalty
170
171
172
}
// end namespace elastix
173
174
175
#ifndef ITK_MANUAL_INSTANTIATION
176
#include "elxTransformBendingEnergyPenaltyTerm.hxx"
177
#endif
178
179
#endif // end #ifndef __elxTransformBendingEnergyPenaltyTerm_H__
180
Generated on 27-06-2013 for elastix by
1.8.3.1