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
elxTransformRigidityPenaltyTerm.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 elxTransformRigidityPenaltyTerm_h
19#define elxTransformRigidityPenaltyTerm_h
20
21#include "elxIncludes.h" // include first to avoid MSVS warning
23
24namespace elastix
25{
26
108
109template <typename TElastix>
110class ITK_TEMPLATE_EXPORT TransformRigidityPenalty
111 : public itk::TransformRigidityPenaltyTerm<typename MetricBase<TElastix>::FixedImageType, double>
112 , public MetricBase<TElastix>
113{
114public:
116
121 using Pointer = itk::SmartPointer<Self>;
122 using ConstPointer = itk::SmartPointer<const Self>;
123
125 itkNewMacro(Self);
126
129
134 elxClassNameMacro("TransformRigidityPenalty");
135
137 using typename Superclass1::CoordinateRepresentationType;
138 using typename Superclass1::MovingImageType;
139 using typename Superclass1::MovingImagePixelType;
140 using typename Superclass1::MovingImageConstPointer;
141 using typename Superclass1::FixedImageType;
142 using typename Superclass1::FixedImageConstPointer;
143 using typename Superclass1::FixedImageRegionType;
144 using typename Superclass1::TransformType;
145 using typename Superclass1::TransformPointer;
146 using typename Superclass1::InputPointType;
147 using typename Superclass1::OutputPointType;
148 using typename Superclass1::TransformJacobianType;
149 using typename Superclass1::InterpolatorType;
150 using typename Superclass1::InterpolatorPointer;
151 using typename Superclass1::RealType;
152 using typename Superclass1::GradientPixelType;
153 using typename Superclass1::GradientImageType;
154 using typename Superclass1::GradientImagePointer;
155 using typename Superclass1::FixedImageMaskType;
156 using typename Superclass1::FixedImageMaskPointer;
157 using typename Superclass1::MovingImageMaskType;
158 using typename Superclass1::MovingImageMaskPointer;
159 using typename Superclass1::MeasureType;
160 using typename Superclass1::DerivativeType;
161 using typename Superclass1::ParametersType;
162 using typename Superclass1::FixedImagePixelType;
163 using typename Superclass1::MovingImageRegionType;
164 using typename Superclass1::ImageSamplerType;
165 using typename Superclass1::ImageSamplerPointer;
166 using typename Superclass1::ImageSampleContainerType;
167 using typename Superclass1::ImageSampleContainerPointer;
168 using typename Superclass1::FixedImageLimiterType;
169 using typename Superclass1::MovingImageLimiterType;
170 using typename Superclass1::FixedImageLimiterOutputType;
171 using typename Superclass1::MovingImageLimiterOutputType;
172
173 using typename Superclass1::CoefficientImageType;
174 using typename Superclass1::RigidityImageType;
175
177 itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension);
178
180 itkStaticConstMacro(MovingImageDimension, unsigned int, MovingImageType::ImageDimension);
181
183 using typename Superclass2::ElastixType;
184 using typename Superclass2::RegistrationType;
186
190 void
191 Initialize() override;
192
197 void
199
206 void
208
213 void
215
220 void
222 {}
223
224protected:
227
229 ~TransformRigidityPenalty() override = default;
230
231private:
233};
234
235} // end namespace elastix
236
237#ifndef ITK_MANUAL_INSTANTIATION
238# include "elxTransformRigidityPenaltyTerm.hxx"
239#endif
240
241#endif // end #ifndef elxTransformRigidityPenaltyTerm_h
itk::SingleValuedCostFunction ITKBaseType
typename ElastixType::RegistrationBaseType RegistrationType
itkOverrideGetNameOfClassMacro(TransformRigidityPenalty)
itk::TransformRigidityPenaltyTerm< typename MetricBase< TElastix >::FixedImageType, double > Superclass1
elxClassNameMacro("TransformRigidityPenalty")
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
~TransformRigidityPenalty() override=default
ITK_DISALLOW_COPY_AND_MOVE(TransformRigidityPenalty)
typename Superclass2::ITKBaseType ITKBaseType
itkStaticConstMacro(MovingImageDimension, unsigned int, MovingImageType::ImageDimension)
A cost function that calculates a rigidity penalty term.


Generated on 1774142652 for elastix by doxygen 1.15.0 elastix logo