go home Home | Main Page | Topics | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
Loading...
Searching...
No Matches
elxTransformBendingEnergyPenaltyTerm.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 elxTransformBendingEnergyPenaltyTerm_h
19#define elxTransformBendingEnergyPenaltyTerm_h
20
21#include "elxIncludes.h" // include first to avoid MSVS warning
23
24namespace elastix
25{
26
46
47template <typename TElastix>
48class ITK_TEMPLATE_EXPORT TransformBendingEnergyPenalty
49 : public itk::TransformBendingEnergyPenaltyTerm<typename MetricBase<TElastix>::FixedImageType, double>
50 , public MetricBase<TElastix>
51{
52public:
54
59 using Pointer = itk::SmartPointer<Self>;
60 using ConstPointer = itk::SmartPointer<const Self>;
61
63 itkNewMacro(Self);
64
67
72 elxClassNameMacro("TransformBendingEnergyPenalty");
73
75 using typename Superclass1::CoordinateRepresentationType;
76 using typename Superclass1::MovingImageType;
77 using typename Superclass1::MovingImagePixelType;
78 using typename Superclass1::MovingImageConstPointer;
79 using typename Superclass1::FixedImageType;
80 using typename Superclass1::FixedImageConstPointer;
81 using typename Superclass1::FixedImageRegionType;
82 using typename Superclass1::TransformType;
83 using typename Superclass1::TransformPointer;
84 using typename Superclass1::InputPointType;
85 using typename Superclass1::OutputPointType;
86 using typename Superclass1::TransformJacobianType;
87 using typename Superclass1::InterpolatorType;
88 using typename Superclass1::InterpolatorPointer;
89 using typename Superclass1::RealType;
90 using typename Superclass1::GradientPixelType;
91 using typename Superclass1::GradientImageType;
92 using typename Superclass1::GradientImagePointer;
93 using typename Superclass1::FixedImageMaskType;
94 using typename Superclass1::FixedImageMaskPointer;
95 using typename Superclass1::MovingImageMaskType;
96 using typename Superclass1::MovingImageMaskPointer;
97 using typename Superclass1::MeasureType;
98 using typename Superclass1::DerivativeType;
99 using typename Superclass1::ParametersType;
100 using typename Superclass1::FixedImagePixelType;
101 using typename Superclass1::MovingImageRegionType;
102 using typename Superclass1::ImageSamplerType;
103 using typename Superclass1::ImageSamplerPointer;
104 using typename Superclass1::ImageSampleContainerType;
105 using typename Superclass1::ImageSampleContainerPointer;
106 using typename Superclass1::FixedImageLimiterType;
107 using typename Superclass1::MovingImageLimiterType;
108 using typename Superclass1::FixedImageLimiterOutputType;
109 using typename Superclass1::MovingImageLimiterOutputType;
110
112 itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension);
113
115 itkStaticConstMacro(MovingImageDimension, unsigned int, MovingImageType::ImageDimension);
116
118 using typename Superclass2::ElastixType;
119 using typename Superclass2::RegistrationType;
121
125 void
126 Initialize() override;
127
128protected:
131
133 ~TransformBendingEnergyPenalty() override = default;
134
135private:
137};
138
139} // end namespace elastix
140
141#ifndef ITK_MANUAL_INSTANTIATION
142# include "elxTransformBendingEnergyPenaltyTerm.hxx"
143#endif
144
145#endif // end #ifndef elxTransformBendingEnergyPenaltyTerm_h
itk::SingleValuedCostFunction ITKBaseType
typename ElastixType::RegistrationBaseType RegistrationType
~TransformBendingEnergyPenalty() override=default
itkOverrideGetNameOfClassMacro(TransformBendingEnergyPenalty)
ITK_DISALLOW_COPY_AND_MOVE(TransformBendingEnergyPenalty)
itk::TransformBendingEnergyPenaltyTerm< typename MetricBase< TElastix >::FixedImageType, double > Superclass1
itkStaticConstMacro(MovingImageDimension, unsigned int, MovingImageType::ImageDimension)
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
elxClassNameMacro("TransformBendingEnergyPenalty")
A cost function that calculates the bending energy of a transformation.


Generated on 1774142652 for elastix by doxygen 1.15.0 elastix logo