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 namespace elastix
25 {
26 
43 template< class TElastix >
45  public
47  typename MetricBase< TElastix >::FixedImageType,
48  typename MetricBase< TElastix >::MovingImageType >,
49  public MetricBase< TElastix >
50 {
51 public:
52 
59  typedef itk::SmartPointer< Self > Pointer;
60  typedef itk::SmartPointer< const Self > ConstPointer;
61 
63  itkNewMacro( Self );
64 
67 
72  elxClassNameMacro( "AdvancedNormalizedCorrelation" );
73 
75  typedef typename
91  typedef typename Superclass1::RealType RealType;
109  typedef typename
113  typedef typename
115  typedef typename
117  typedef typename
119 
121  itkStaticConstMacro( FixedImageDimension, unsigned int,
122  FixedImageType::ImageDimension );
123 
125  itkStaticConstMacro( MovingImageDimension, unsigned int,
126  MovingImageType::ImageDimension );
127 
136 
141  void BeforeEachResolution( void ) override;
142 
146  void Initialize( void ) override;
147 
148 protected:
149 
154 
155 private:
156 
158  AdvancedNormalizedCorrelationMetric( const Self & ); // purposely not implemented
160  void operator=( const Self & ); // purposely not implemented
161 
162 };
163 
164 } // end namespace elastix
165 
166 #ifndef ITK_MANUAL_INSTANTIATION
167 #include "elxAdvancedNormalizedCorrelationMetric.hxx"
168 #endif
169 
170 #endif // end #ifndef __elxAdvancedNormalizedCorrelationMetric_H__
An metric based on the itk::AdvancedNormalizedCorrelationImageToImageMetric.
Superclass1::MovingImageLimiterOutputType MovingImageLimiterOutputType
Superclass1::MovingImageDerivativeScalesType MovingImageDerivativeScalesType
itk::AdvancedNormalizedCorrelationImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType > Superclass1
itkStaticConstMacro(MovingImageDimension, unsigned int, MovingImageType::ImageDimension)
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
Superclass1::FixedImageLimiterOutputType FixedImageLimiterOutputType
elxClassNameMacro("AdvancedNormalizedCorrelation")
Superclass1::GradientImageFilterPointer GradientImageFilterPointer
Superclass1::ImageSampleContainerPointer ImageSampleContainerPointer
Superclass1::CoordinateRepresentationType CoordinateRepresentationType
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:81
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
Computes normalized correlation between two images, based on AdvancedImageToImageMetric....


Generated on OURCE_DATE_EPOCH for elastix by doxygen 1.9.1 elastix logo