go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxAdvancedNormalizedCorrelationMetric.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 __elxAdvancedNormalizedCorrelationMetric_H__
19 #define __elxAdvancedNormalizedCorrelationMetric_H__
20 
21 #include "elxIncludes.h" // include first to avoid MSVS warning
23 
24 
25 namespace elastix
26 {
27 
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( "AdvancedNormalizedCorrelation" );
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 
142  virtual void BeforeEachResolution( void );
143 
147  virtual void Initialize( void ) throw ( itk::ExceptionObject );
148 
149 protected:
150 
155 
156 private:
157 
159  AdvancedNormalizedCorrelationMetric( const Self & ); // purposely not implemented
161  void operator=( const Self & ); // purposely not implemented
162 
163 };
164 
165 } // end namespace elastix
166 
167 #ifndef ITK_MANUAL_INSTANTIATION
168 #include "elxAdvancedNormalizedCorrelationMetric.hxx"
169 #endif
170 
171 #endif // end #ifndef __elxAdvancedNormalizedCorrelationMetric_H__
Superclass::ElastixPointer ElastixPointer
Definition: elxMetricBase.h:86
Superclass::RegistrationType RegistrationType
Definition: elxMetricBase.h:89
elxClassNameMacro("AdvancedNormalizedCorrelation")
Superclass1::CoordinateRepresentationType CoordinateRepresentationType
Superclass::ConfigurationType ConfigurationType
Definition: elxMetricBase.h:87
Superclass1::MovingImageLimiterOutputType MovingImageLimiterOutputType
Superclass1::ImageSampleContainerPointer ImageSampleContainerPointer
ElastixType::FixedImageType FixedImageType
Definition: elxMetricBase.h:93
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
itk::AdvancedNormalizedCorrelationImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType > Superclass1
Superclass1::FixedImageLimiterOutputType FixedImageLimiterOutputType
An metric based on the itk::AdvancedNormalizedCorrelationImageToImageMetric.
Computes normalized correlation between two images, based on AdvancedImageToImageMetric...
Superclass::ElastixType ElastixType
Definition: elxMetricBase.h:82
itk::SingleValuedCostFunction ITKBaseType
Superclass1::MovingImageDerivativeScalesType MovingImageDerivativeScalesType
ElastixType::MovingImageType MovingImageType
Definition: elxMetricBase.h:96
Superclass::RegistrationPointer RegistrationPointer
Definition: elxMetricBase.h:90
Superclass1::GradientImageFilterPointer GradientImageFilterPointer
Superclass::ConfigurationPointer ConfigurationPointer
Definition: elxMetricBase.h:88
This class is the elastix base class for all Metrics.
Definition: elxMetricBase.h:73


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