go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
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
66template< class TElastix >
68 public
70 typename MetricBase< TElastix >::FixedImageType,
71 typename MetricBase< TElastix >::MovingImageType >,
72 public MetricBase< TElastix >
73{
74public:
75
82 typedef itk::SmartPointer< Self > Pointer;
83 typedef itk::SmartPointer< const Self > ConstPointer;
84
86 itkNewMacro( Self );
87
90
95 elxClassNameMacro( "VarianceOverLastDimensionMetric" );
96
98 typedef typename
134 typedef typename
138 typedef typename
140 typedef typename
142 typedef typename
144
146 itkStaticConstMacro( FixedImageDimension, unsigned int,
147 FixedImageType::ImageDimension );
148
150 itkStaticConstMacro( MovingImageDimension, unsigned int,
151 MovingImageType::ImageDimension );
152
161
164 ScalarType, FixedImageDimension > BSplineTransformBaseType;
166 ScalarType, FixedImageDimension > CombinationTransformType;
167 typedef itk::StackTransform<
168 ScalarType, FixedImageDimension, MovingImageDimension > StackTransformType;
171
175 void Initialize( void ) override;
176
181 void BeforeRegistration( void ) override;
182
188 void BeforeEachResolution( void ) override;
189
190protected:
191
196
197private:
198
200 VarianceOverLastDimensionMetric( const Self & ); // purposely not implemented
202 void operator=( const Self & ); // purposely not implemented
203
204};
205
206} // end namespace elastix
207
208#ifndef ITK_MANUAL_INSTANTIATION
209#include "elxVarianceOverLastDimensionMetric.hxx"
210#endif
211
212#endif // end #ifndef __elxVarianceOverLastDimensionMetric_H__
A class that deals with user given parameters and command line arguments.
This class is the elastix base class for all Metrics.
Definition: elxMetricBase.h:73
itk::SingleValuedCostFunction ITKBaseType
Superclass::RegistrationPointer RegistrationPointer
Definition: elxMetricBase.h:89
Superclass::ElastixType ElastixType
Definition: elxMetricBase.h:84
ElastixType::MovingImageType MovingImageType
Definition: elxMetricBase.h:95
ElastixType::FixedImageType FixedImageType
Definition: elxMetricBase.h:92
Superclass::ConfigurationPointer ConfigurationPointer
Definition: elxMetricBase.h:87
Superclass::RegistrationType RegistrationType
Definition: elxMetricBase.h:88
Superclass::ElastixPointer ElastixPointer
Definition: elxMetricBase.h:85
Compute the sum of variances over the slowest varying dimension in the moving image.
itk::AdvancedBSplineDeformableTransformBase< ScalarType, FixedImageDimension - 1 > ReducedDimensionBSplineTransformBaseType
itkStaticConstMacro(MovingImageDimension, unsigned int, MovingImageType::ImageDimension)
itk::StackTransform< ScalarType, FixedImageDimension, MovingImageDimension > StackTransformType
itk::VarianceOverLastDimensionImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType > Superclass1
elxClassNameMacro("VarianceOverLastDimensionMetric")
Superclass1::FixedImageConstPointer FixedImageConstPointer
itk::AdvancedBSplineDeformableTransformBase< ScalarType, FixedImageDimension > BSplineTransformBaseType
Superclass1::FixedImageLimiterOutputType FixedImageLimiterOutputType
Superclass1::MovingImageDerivativeScalesType MovingImageDerivativeScalesType
Superclass1::MovingImageConstPointer MovingImageConstPointer
Superclass1::TransformParametersType TransformParametersType
Superclass1::MovingImageLimiterOutputType MovingImageLimiterOutputType
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
Superclass1::MovingImageLimiterType MovingImageLimiterType
Superclass1::MovingImageMaskPointer MovingImageMaskPointer
Superclass1::CoordinateRepresentationType CoordinateRepresentationType
itk::AdvancedCombinationTransform< ScalarType, FixedImageDimension > CombinationTransformType
Superclass1::GradientImageFilterPointer GradientImageFilterPointer
Superclass1::ImageSampleContainerType ImageSampleContainerType
Superclass1::GradientImageFilterType GradientImageFilterType
Superclass1::ImageSampleContainerPointer ImageSampleContainerPointer
Base class for deformable transform using a B-spline representation.
This class combines two transforms: an 'initial transform' with a 'current transform'.
Implements stack of transforms: one for every last dimension index.
Compute the sum of variances over the slowest varying dimension in the moving image.
Superclass::GradientImageFilterPointer GradientImageFilterPointer
Superclass::FixedImageLimiterOutputType FixedImageLimiterOutputType
Superclass::MovingImageDerivativeScalesType MovingImageDerivativeScalesType
Superclass::ImageSampleContainerPointer ImageSampleContainerPointer
Superclass::MovingImageLimiterOutputType MovingImageLimiterOutputType
Superclass::CoordinateRepresentationType CoordinateRepresentationType


Generated on 1667476801 for elastix by doxygen 1.9.4 elastix logo