go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
Loading...
Searching...
No Matches
elxVarianceOverLastDimensionMetric.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 elxVarianceOverLastDimensionMetric_h
19#define elxVarianceOverLastDimensionMetric_h
20
21#include "elxIncludes.h" // include first to avoid MSVS warning
24#include "itkStackTransform.h"
25
26namespace elastix
27{
28
67
68template <class TElastix>
69class ITK_TEMPLATE_EXPORT VarianceOverLastDimensionMetric
70 : public itk::VarianceOverLastDimensionImageMetric<typename MetricBase<TElastix>::FixedImageType,
71 typename MetricBase<TElastix>::MovingImageType>
72 , public MetricBase<TElastix>
73{
74public:
76
82 using Pointer = itk::SmartPointer<Self>;
83 using ConstPointer = itk::SmartPointer<const Self>;
84
86 itkNewMacro(Self);
87
90
95 elxClassNameMacro("VarianceOverLastDimensionMetric");
96
98 using typename Superclass1::CoordinateRepresentationType;
99 using typename Superclass1::ScalarType;
100 using typename Superclass1::MovingImageType;
101 using typename Superclass1::MovingImagePixelType;
102 using typename Superclass1::MovingImageConstPointer;
103 using typename Superclass1::FixedImageType;
104 using typename Superclass1::FixedImageConstPointer;
105 using typename Superclass1::FixedImageRegionType;
106 using typename Superclass1::FixedImageSizeType;
107 using typename Superclass1::TransformType;
108 using typename Superclass1::TransformPointer;
109 using typename Superclass1::InputPointType;
110 using typename Superclass1::OutputPointType;
111 using typename Superclass1::TransformParametersType;
112 using typename Superclass1::TransformJacobianType;
113 using typename Superclass1::InterpolatorType;
114 using typename Superclass1::InterpolatorPointer;
115 using typename Superclass1::RealType;
116 using typename Superclass1::GradientPixelType;
117 using typename Superclass1::GradientImageType;
118 using typename Superclass1::GradientImagePointer;
119 using typename Superclass1::FixedImageMaskType;
120 using typename Superclass1::FixedImageMaskPointer;
121 using typename Superclass1::MovingImageMaskType;
122 using typename Superclass1::MovingImageMaskPointer;
123 using typename Superclass1::MeasureType;
124 using typename Superclass1::DerivativeType;
125 using typename Superclass1::ParametersType;
126 using typename Superclass1::FixedImagePixelType;
127 using typename Superclass1::MovingImageRegionType;
128 using typename Superclass1::ImageSamplerType;
129 using typename Superclass1::ImageSamplerPointer;
130 using typename Superclass1::ImageSampleContainerType;
131 using typename Superclass1::ImageSampleContainerPointer;
132 using typename Superclass1::FixedImageLimiterType;
133 using typename Superclass1::MovingImageLimiterType;
134 using typename Superclass1::FixedImageLimiterOutputType;
135 using typename Superclass1::MovingImageLimiterOutputType;
136 using typename Superclass1::MovingImageDerivativeScalesType;
137
139 itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension);
140
142 itkStaticConstMacro(MovingImageDimension, unsigned int, MovingImageType::ImageDimension);
143
145 using typename Superclass2::ElastixType;
146 using typename Superclass2::RegistrationType;
148
155
159 void
160 Initialize() override;
161
166 void
168
174 void
176
177protected:
182
183private:
185};
186
187} // end namespace elastix
188
189#ifndef ITK_MANUAL_INSTANTIATION
190# include "elxVarianceOverLastDimensionMetric.hxx"
191#endif
192
193#endif // end #ifndef elxVarianceOverLastDimensionMetric_h
itk::SingleValuedCostFunction ITKBaseType
typename ElastixType::MovingImageType MovingImageType
typename ElastixType::RegistrationBaseType RegistrationType
itkStaticConstMacro(MovingImageDimension, unsigned int, MovingImageType::ImageDimension)
itk::AdvancedCombinationTransform< ScalarType, FixedImageDimension > CombinationTransformType
itk::StackTransform< ScalarType, FixedImageDimension, MovingImageDimension > StackTransformType
elxClassNameMacro("VarianceOverLastDimensionMetric")
~VarianceOverLastDimensionMetric() override=default
itk::AdvancedBSplineDeformableTransformBase< ScalarType, FixedImageDimension - 1 > ReducedDimensionBSplineTransformBaseType
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
itk::AdvancedBSplineDeformableTransformBase< ScalarType, FixedImageDimension > BSplineTransformBaseType
ITK_DISALLOW_COPY_AND_MOVE(VarianceOverLastDimensionMetric)
itk::VarianceOverLastDimensionImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType > Superclass1
Base class for deformable transform using a B-spline representation.
This class combines two transforms: an 'initial transform' with a 'current transform'.
typename TransformType::ScalarType ScalarType
Implements stack of transforms: one for every last dimension index.
Compute the sum of variances over the slowest varying dimension in the moving image.


Generated on 1768596610 for elastix by doxygen 1.15.0 elastix logo