go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxNormalizedGradientCorrelationMetric.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 __elxNormalizedGradientCorrelationMetric_H__
19 #define __elxNormalizedGradientCorrelationMetric_H__
20 
21 #include "elxIncludes.h" // include first to avoid MSVS warning
23 
24 namespace elastix
25 {
26 
36 template< class TElastix >
39  typename MetricBase< TElastix >::FixedImageType,
40  typename MetricBase< TElastix >::MovingImageType >,
41  public MetricBase< TElastix >
42 {
43 public:
44 
51  typedef itk::SmartPointer< Self > Pointer;
52  typedef itk::SmartPointer< const Self > ConstPointer;
53 
55  itkNewMacro( Self );
56 
60 
65  elxClassNameMacro( "NormalizedGradientCorrelation" );
66 
68  typedef typename
84  typedef typename Superclass1::RealType RealType;
102  typedef typename
106  typedef typename
108  typedef typename
110  typedef typename
112 
114  itkStaticConstMacro( FixedImageDimension, unsigned int,
115  FixedImageType::ImageDimension );
116 
118  itkStaticConstMacro( MovingImageDimension, unsigned int,
119  MovingImageType::ImageDimension );
120 
129 
133  void Initialize( void ) override;
134 
140  void BeforeRegistration( void ) override;
141 
142  void BeforeEachResolution( void ) override;
143 
144 protected:
145 
150 
151 private:
152 
154  NormalizedGradientCorrelationMetric( const Self & ); // purposely not implemented
155 
157  void operator=( const Self & ); // purposely not implemented
158 
159 };
160 
161 } // end namespace elastix
162 
163 #ifndef ITK_MANUAL_INSTANTIATION
164 #include "elxNormalizedGradientCorrelationMetric.hxx"
165 #endif
166 
167 #endif // end #ifndef __elxNormalizedGradientCorrelationMetric_H__
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
An metric based on the itk::NormalizedGradientCorrelationImageToImageMetric.
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
Superclass1::MovingImageLimiterOutputType MovingImageLimiterOutputType
Superclass1::CoordinateRepresentationType CoordinateRepresentationType
Superclass1::ImageSampleContainerPointer ImageSampleContainerPointer
Superclass1::MovingImageDerivativeScalesType MovingImageDerivativeScalesType
Superclass1::GradientImageFilterPointer GradientImageFilterPointer
Superclass1::FixedImageLimiterOutputType FixedImageLimiterOutputType
itk::NormalizedGradientCorrelationImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType > Superclass1
itkStaticConstMacro(MovingImageDimension, unsigned int, MovingImageType::ImageDimension)
elxClassNameMacro("NormalizedGradientCorrelation")
Superclass::FixedImageMaskPointer FixedImageMaskPointer
Superclass::GradientImageFilterPointer GradientImageFilterPointer
Superclass::GradientImageFilterType GradientImageFilterType
Superclass::GradientImagePointer GradientImagePointer
ImageSamplerType::OutputVectorContainerPointer ImageSampleContainerPointer
Superclass::CoordinateRepresentationType CoordinateRepresentationType
Superclass::MovingImageMaskPointer MovingImageMaskPointer
Superclass::MovingImageMaskType MovingImageMaskType
Superclass::GradientPixelType GradientPixelType
FixedImageLimiterType::OutputType FixedImageLimiterOutputType
Superclass::MovingImagePixelType MovingImagePixelType
MovingImageLimiterType::OutputType MovingImageLimiterOutputType
Superclass::FixedImageMaskType FixedImageMaskType
Superclass::GradientImageType GradientImageType
This class is a base class for any image sampler.
Base class for all ITK limiter function objects.
An metric based on the itk::NormalizedGradientCorrelationImageToImageMetric.
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.


Generated on 1667476801 for elastix by doxygen 1.9.1 elastix logo