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 namespace elastix
25 {
26 
44 template< class TElastix >
46  public
48  typename MetricBase< TElastix >::FixedImageType,
49  typename MetricBase< TElastix >::MovingImageType >,
50  public MetricBase< TElastix >
51 {
52 public:
53 
60  typedef itk::SmartPointer< Self > Pointer;
61  typedef itk::SmartPointer< const Self > ConstPointer;
62 
64  itkNewMacro( Self );
65 
68 
73  elxClassNameMacro( "AdvancedMeanSquares" );
74 
76  typedef typename
92  typedef typename Superclass1::RealType RealType;
110  typedef typename
114  typedef typename
116  typedef typename
118  typedef typename
120 
122  itkStaticConstMacro( FixedImageDimension, unsigned int,
123  FixedImageType::ImageDimension );
124 
126  itkStaticConstMacro( MovingImageDimension, unsigned int,
127  MovingImageType::ImageDimension );
128 
137 
141  virtual void Initialize( void ) throw ( itk::ExceptionObject );
142 
148  virtual void BeforeEachResolution( void );
149 
150 protected:
151 
156 
157 private:
158 
160  AdvancedMeanSquaresMetric( const Self & ); // purposely not implemented
162  void operator=( const Self & ); // purposely not implemented
163 
164 };
165 
166 } // end namespace elastix
167 
168 #ifndef ITK_MANUAL_INSTANTIATION
169 #include "elxAdvancedMeanSquaresMetric.hxx"
170 #endif
171 
172 #endif // end #ifndef __elxAdvancedMeanSquaresMetric_H__
Compute Mean square difference between two images, based on AdvancedImageToImageMetric...
Superclass1::FixedImageRegionType FixedImageRegionType
Superclass::ElastixPointer ElastixPointer
Definition: elxMetricBase.h:85
Superclass::RegistrationType RegistrationType
Definition: elxMetricBase.h:88
Superclass::ImageSampleContainerPointer ImageSampleContainerPointer
Superclass1::MovingImagePixelType MovingImagePixelType
Superclass::ConfigurationType ConfigurationType
Definition: elxMetricBase.h:86
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:92
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:81
Superclass1::TransformJacobianType TransformJacobianType
itk::SingleValuedCostFunction ITKBaseType
ElastixType::MovingImageType MovingImageType
Definition: elxMetricBase.h:95
Superclass::RegistrationPointer RegistrationPointer
Definition: elxMetricBase.h:89
Superclass::MovingImageDerivativeScalesType MovingImageDerivativeScalesType
Superclass1::TransformParametersType TransformParametersType
Superclass1::TransformPointer TransformPointer
Superclass1::FixedImageMaskPointer FixedImageMaskPointer
Superclass1::ImageSampleContainerType ImageSampleContainerType
Superclass1::FixedImageLimiterOutputType FixedImageLimiterOutputType
Superclass::ConfigurationPointer ConfigurationPointer
Definition: elxMetricBase.h:87
This class is the elastix base class for all Metrics.
Definition: elxMetricBase.h:72
Superclass2::ConfigurationPointer ConfigurationPointer


Generated on OURCE_DATE_EPOCH for elastix by doxygen 1.8.13 elastix logo