go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxAdvancedMeanSquaresMetric.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 __elxAdvancedMeanSquaresMetric_H__
19 #define __elxAdvancedMeanSquaresMetric_H__
20 
21 #include "elxIncludes.h" // include first to avoid MSVS warning
23 
24 
25 namespace elastix
26 {
27 
45 template< class TElastix >
47  public
49  typename MetricBase< TElastix >::FixedImageType,
50  typename MetricBase< TElastix >::MovingImageType >,
51  public MetricBase< TElastix >
52 {
53 public:
54 
61  typedef itk::SmartPointer< Self > Pointer;
62  typedef itk::SmartPointer< const Self > ConstPointer;
63 
65  itkNewMacro( Self );
66 
69 
74  elxClassNameMacro( "AdvancedMeanSquares" );
75 
77  typedef typename
93  typedef typename Superclass1::RealType RealType;
111  typedef typename
115  typedef typename
117  typedef typename
119  typedef typename
121 
123  itkStaticConstMacro( FixedImageDimension, unsigned int,
124  FixedImageType::ImageDimension );
125 
127  itkStaticConstMacro( MovingImageDimension, unsigned int,
128  MovingImageType::ImageDimension );
129 
138 
142  virtual void Initialize( void ) throw ( itk::ExceptionObject );
143 
149  virtual void BeforeEachResolution( void );
150 
151 protected:
152 
157 
158 private:
159 
161  AdvancedMeanSquaresMetric( const Self & ); // purposely not implemented
163  void operator=( const Self & ); // purposely not implemented
164 
165 };
166 
167 } // end namespace elastix
168 
169 #ifndef ITK_MANUAL_INSTANTIATION
170 #include "elxAdvancedMeanSquaresMetric.hxx"
171 #endif
172 
173 #endif // end #ifndef __elxAdvancedMeanSquaresMetric_H__
Compute Mean square difference between two images, based on AdvancedImageToImageMetric...
Superclass1::FixedImageRegionType FixedImageRegionType
Superclass::ElastixPointer ElastixPointer
Definition: elxMetricBase.h:86
Superclass::RegistrationType RegistrationType
Definition: elxMetricBase.h:89
Superclass::ImageSampleContainerPointer ImageSampleContainerPointer
Superclass1::MovingImagePixelType MovingImagePixelType
Superclass::ConfigurationType ConfigurationType
Definition: elxMetricBase.h:87
Superclass1::InterpolatorPointer InterpolatorPointer
Superclass::FixedImageLimiterOutputType FixedImageLimiterOutputType
Superclass1::MovingImageMaskPointer MovingImageMaskPointer
Superclass1::FixedImageConstPointer FixedImageConstPointer
itk::SmartPointer< const Self > ConstPointer
Superclass1::MovingImageConstPointer MovingImageConstPointer
Superclass2::RegistrationType RegistrationType
Superclass1::OutputPointType OutputPointType
Superclass1::GradientImageType GradientImageType
ElastixType::FixedImageType FixedImageType
Definition: elxMetricBase.h:93
elxClassNameMacro("AdvancedMeanSquares")
itk::AdvancedMeanSquaresImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType > Superclass1
Superclass1::MovingImageLimiterType MovingImageLimiterType
Superclass1::GradientImageFilterType GradientImageFilterType
Superclass1::FixedImageMaskType FixedImageMaskType
Superclass1::GradientPixelType GradientPixelType
Superclass1::MovingImageLimiterOutputType MovingImageLimiterOutputType
Superclass::GradientImageFilterPointer GradientImageFilterPointer
Superclass1::InterpolatorType InterpolatorType
Superclass1::ImageSamplerPointer ImageSamplerPointer
Superclass1::CoordinateRepresentationType CoordinateRepresentationType
Superclass::MovingImageLimiterOutputType MovingImageLimiterOutputType
Superclass1::MovingImageType MovingImageType
Superclass2::RegistrationPointer RegistrationPointer
Superclass1::GradientImageFilterPointer GradientImageFilterPointer
virtual void BeforeEachResolution(void)
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
Superclass2::ConfigurationType ConfigurationType
Superclass1::FixedImagePixelType FixedImagePixelType
An metric based on the itk::AdvancedMeanSquaresImageToImageMetric.
Superclass1::MovingImageRegionType MovingImageRegionType
Superclass1::ImageSampleContainerPointer ImageSampleContainerPointer
Superclass::CoordinateRepresentationType CoordinateRepresentationType
Superclass1::MovingImageMaskType MovingImageMaskType
Superclass1::ImageSamplerType ImageSamplerType
Superclass1::FixedImageLimiterType FixedImageLimiterType
Superclass1::GradientImagePointer GradientImagePointer
Superclass1::MovingImageDerivativeScalesType MovingImageDerivativeScalesType
Superclass::ElastixType ElastixType
Definition: elxMetricBase.h:82
Superclass1::TransformJacobianType TransformJacobianType
itk::SingleValuedCostFunction ITKBaseType
ElastixType::MovingImageType MovingImageType
Definition: elxMetricBase.h:96
Superclass::RegistrationPointer RegistrationPointer
Definition: elxMetricBase.h:90
Superclass::MovingImageDerivativeScalesType MovingImageDerivativeScalesType
Superclass1::TransformParametersType TransformParametersType
Superclass1::TransformPointer TransformPointer
Superclass1::FixedImageMaskPointer FixedImageMaskPointer
Superclass1::ImageSampleContainerType ImageSampleContainerType
Superclass1::FixedImageLimiterOutputType FixedImageLimiterOutputType
Superclass::ConfigurationPointer ConfigurationPointer
Definition: elxMetricBase.h:88
This class is the elastix base class for all Metrics.
Definition: elxMetricBase.h:73
Superclass2::ConfigurationPointer ConfigurationPointer


Generated on 04-09-2015 for elastix by doxygen 1.8.9.1 elastix logo