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 
25 namespace elastix
26 {
27 
37 template< class TElastix >
40  typename MetricBase< TElastix >::FixedImageType,
41  typename MetricBase< TElastix >::MovingImageType >,
42  public MetricBase< TElastix >
43 {
44 public:
45 
52  typedef itk::SmartPointer< Self > Pointer;
53  typedef itk::SmartPointer< const Self > ConstPointer;
54 
56  itkNewMacro( Self );
57 
61 
66  elxClassNameMacro( "NormalizedGradientCorrelation" );
67 
69  typedef typename
85  typedef typename Superclass1::RealType RealType;
103  typedef typename
107  typedef typename
109  typedef typename
111  typedef typename
113 
115  itkStaticConstMacro( FixedImageDimension, unsigned int,
116  FixedImageType::ImageDimension );
117 
119  itkStaticConstMacro( MovingImageDimension, unsigned int,
120  MovingImageType::ImageDimension );
121 
130 
134  virtual void Initialize( void ) throw ( itk::ExceptionObject );
135 
141  virtual void BeforeRegistration( void );
142 
143  virtual void BeforeEachResolution( void );
144 
145 protected:
146 
151 
152 private:
153 
155  NormalizedGradientCorrelationMetric( const Self & ); // purposely not implemented
156 
158  void operator=( const Self & ); // purposely not implemented
159 
160 };
161 
162 } // end namespace elastix
163 
164 #ifndef ITK_MANUAL_INSTANTIATION
165 #include "elxNormalizedGradientCorrelationMetric.hxx"
166 #endif
167 
168 #endif // end #ifndef __elxNormalizedGradientCorrelationMetric_H__
Superclass::ElastixPointer ElastixPointer
Definition: elxMetricBase.h:86
elxClassNameMacro("NormalizedGradientCorrelation")
Superclass::RegistrationType RegistrationType
Definition: elxMetricBase.h:89
Superclass1::MovingImageLimiterOutputType MovingImageLimiterOutputType
Superclass::ConfigurationType ConfigurationType
Definition: elxMetricBase.h:87
Superclass::CoordinateRepresentationType CoordinateRepresentationType
Superclass::FixedImageMaskPointer FixedImageMaskPointer
Superclass::GradientPixelType GradientPixelType
FixedImageLimiterType::OutputType FixedImageLimiterOutputType
ElastixType::FixedImageType FixedImageType
Definition: elxMetricBase.h:93
An metric based on the itk::NormalizedGradientCorrelationImageToImageMetric.
This class is a base class for any image sampler.
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.
Superclass1::CoordinateRepresentationType CoordinateRepresentationType
Superclass1::ImageSampleContainerPointer ImageSampleContainerPointer
Superclass::MovingImageMaskType MovingImageMaskType
Superclass::GradientImageType GradientImageType
itk::NormalizedGradientCorrelationImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType > Superclass1
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
Superclass::GradientImageFilterType GradientImageFilterType
Base class for all ITK limiter function objects.
Superclass::ElastixType ElastixType
Definition: elxMetricBase.h:82
itk::SingleValuedCostFunction ITKBaseType
Superclass::MovingImagePixelType MovingImagePixelType
ElastixType::MovingImageType MovingImageType
Definition: elxMetricBase.h:96
Superclass::RegistrationPointer RegistrationPointer
Definition: elxMetricBase.h:90
Superclass1::GradientImageFilterPointer GradientImageFilterPointer
Superclass::MovingImageMaskPointer MovingImageMaskPointer
MovingImageLimiterType::OutputType MovingImageLimiterOutputType
Superclass1::FixedImageLimiterOutputType FixedImageLimiterOutputType
Superclass1::MovingImageDerivativeScalesType MovingImageDerivativeScalesType
Superclass::FixedImageMaskType FixedImageMaskType
An metric based on the itk::NormalizedGradientCorrelationImageToImageMetric.
Superclass::ConfigurationPointer ConfigurationPointer
Definition: elxMetricBase.h:88
This class is the elastix base class for all Metrics.
Definition: elxMetricBase.h:73
Superclass::GradientImageFilterPointer GradientImageFilterPointer
Superclass::GradientImagePointer GradientImagePointer


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