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 
26 namespace elastix
27 {
28 
66 template< class TElastix >
68  public
70  typename MetricBase< TElastix >::FixedImageType,
71  typename MetricBase< TElastix >::MovingImageType >,
72  public MetricBase< TElastix >
73 {
74 public:
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
116  typedef typename Superclass1::RealType RealType;
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  virtual void Initialize( void ) throw ( itk::ExceptionObject );
176 
181  virtual void BeforeRegistration( void );
182 
188  virtual void BeforeEachResolution( void );
189 
190 protected:
191 
196 
197 private:
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__
Superclass1::MovingImageConstPointer MovingImageConstPointer
This class combines two transforms: an &#39;initial transform&#39; with a &#39;current transform&#39;.
Superclass::ElastixPointer ElastixPointer
Definition: elxMetricBase.h:85
Superclass::RegistrationType RegistrationType
Definition: elxMetricBase.h:88
Superclass::MovingImageLimiterOutputType MovingImageLimiterOutputType
Superclass1::GradientImageFilterPointer GradientImageFilterPointer
Superclass1::TransformParametersType TransformParametersType
Superclass::ConfigurationType ConfigurationType
Definition: elxMetricBase.h:86
Superclass::GradientImageFilterPointer GradientImageFilterPointer
Superclass1::MovingImageLimiterOutputType MovingImageLimiterOutputType
Superclass1::CoordinateRepresentationType CoordinateRepresentationType
ElastixType::FixedImageType FixedImageType
Definition: elxMetricBase.h:92
Superclass::FixedImageLimiterOutputType FixedImageLimiterOutputType
itk::AdvancedCombinationTransform< ScalarType, FixedImageDimension > CombinationTransformType
Implements stack of transforms: one for every last dimension index.
Superclass1::MovingImageMaskPointer MovingImageMaskPointer
Compute the sum of variances over the slowest varying dimension in the moving image.
Superclass1::GradientImageFilterType GradientImageFilterType
Superclass1::FixedImageLimiterOutputType FixedImageLimiterOutputType
itk::VarianceOverLastDimensionImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType > Superclass1
Superclass1::ImageSampleContainerType ImageSampleContainerType
Superclass1::ImageSampleContainerPointer ImageSampleContainerPointer
Superclass1::MovingImageLimiterType MovingImageLimiterType
itk::AdvancedBSplineDeformableTransformBase< ScalarType, FixedImageDimension - 1 > ReducedDimensionBSplineTransformBaseType
itk::AdvancedBSplineDeformableTransformBase< ScalarType, FixedImageDimension > BSplineTransformBaseType
Superclass1::MovingImageDerivativeScalesType MovingImageDerivativeScalesType
Superclass1::FixedImageConstPointer FixedImageConstPointer
Superclass::CoordinateRepresentationType CoordinateRepresentationType
Superclass::ElastixType ElastixType
Definition: elxMetricBase.h:81
itk::SingleValuedCostFunction ITKBaseType
elxClassNameMacro("VarianceOverLastDimensionMetric")
ElastixType::MovingImageType MovingImageType
Definition: elxMetricBase.h:95
Superclass::ImageSampleContainerPointer ImageSampleContainerPointer
Superclass::RegistrationPointer RegistrationPointer
Definition: elxMetricBase.h:89
itk::StackTransform< ScalarType, FixedImageDimension, MovingImageDimension > StackTransformType
Superclass::MovingImageDerivativeScalesType MovingImageDerivativeScalesType
Base class for deformable transform using a B-spline representation.
Superclass::ConfigurationPointer ConfigurationPointer
Definition: elxMetricBase.h:87
Compute the sum of variances over the slowest varying dimension in the moving image.
This class is the elastix base class for all Metrics.
Definition: elxMetricBase.h:72
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)


Generated on OURCE_DATE_EPOCH for elastix by doxygen 1.8.13 elastix logo