go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxGradientDifferenceMetric.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 __elxGradientDifferenceMetric_H__
19 #define __elxGradientDifferenceMetric_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 
60 
65  elxClassNameMacro( "GradientDifference" );
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  virtual void Initialize( void ) throw ( itk::ExceptionObject );
134 
141  virtual void BeforeRegistration( void );
142 
143  virtual void BeforeEachResolution( void );
144 
145 protected:
146 
149 
152 
153 private:
154 
156  GradientDifferenceMetric( const Self & ); // purposely not implemented
158  void operator=( const Self & ); // purposely not implemented
159 
160 };
161 
162 } // end namespace elastix
163 
164 #ifndef ITK_MANUAL_INSTANTIATION
165 #include "elxGradientDifferenceMetric.hxx"
166 #endif
167 
168 #endif // end #ifndef __elxGradientDifferenceMetric_H__
Superclass1::GradientImageFilterType GradientImageFilterType
Superclass::ElastixPointer ElastixPointer
Definition: elxMetricBase.h:86
Superclass::RegistrationType RegistrationType
Definition: elxMetricBase.h:89
Superclass1::MovingImageLimiterOutputType MovingImageLimiterOutputType
Superclass::ConfigurationType ConfigurationType
Definition: elxMetricBase.h:87
Superclass1::MovingImageDerivativeScalesType MovingImageDerivativeScalesType
Superclass::CoordinateRepresentationType CoordinateRepresentationType
Superclass1::FixedImageMaskType FixedImageMaskType
An metric based on the itk::GradientDifferenceImageToImageMetric.
Superclass::FixedImageMaskPointer FixedImageMaskPointer
Superclass1::MovingImageType MovingImageType
Superclass::GradientPixelType GradientPixelType
FixedImageLimiterType::OutputType FixedImageLimiterOutputType
Superclass2::RegistrationType RegistrationType
Superclass::FixedImageRegionType FixedImageRegionType
Superclass1::TransformParametersType TransformParametersType
ElastixType::FixedImageType FixedImageType
Definition: elxMetricBase.h:93
Superclass1::GradientPixelType GradientPixelType
Superclass1::FixedImageRegionType FixedImageRegionType
Superclass1::FixedImageType FixedImageType
Superclass1::OutputPointType OutputPointType
Superclass1::MovingImagePixelType MovingImagePixelType
Superclass1::ImageSampleContainerPointer ImageSampleContainerPointer
This class is a base class for any image sampler.
Superclass1::GradientImagePointer GradientImagePointer
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.
virtual void BeforeEachResolution(void)
Superclass1::MovingImageRegionType MovingImageRegionType
Superclass1::FixedImagePixelType FixedImagePixelType
Superclass1::GradientImageFilterPointer GradientImageFilterPointer
Superclass1::ParametersType ParametersType
Superclass1::MovingImageLimiterType MovingImageLimiterType
Superclass1::InterpolatorType InterpolatorType
Superclass1::MovingImageMaskType MovingImageMaskType
Superclass::MovingImageMaskType MovingImageMaskType
Superclass2::RegistrationPointer RegistrationPointer
Superclass::GradientImageType GradientImageType
Superclass1::GradientImageType GradientImageType
Superclass1::TransformJacobianType TransformJacobianType
itk::SmartPointer< const Self > ConstPointer
Superclass1::FixedImageLimiterType FixedImageLimiterType
Superclass1::ImageSampleContainerType ImageSampleContainerType
Superclass::GradientImageFilterType GradientImageFilterType
itk::GradientDifferenceImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType > Superclass1
virtual void BeforeRegistration(void)
Base class for all ITK limiter function objects.
Superclass2::ConfigurationPointer ConfigurationPointer
Superclass2::ConfigurationType ConfigurationType
Superclass::ElastixType ElastixType
Definition: elxMetricBase.h:82
Computes similarity between two objects to be registered.
itk::SingleValuedCostFunction ITKBaseType
Superclass::MovingImagePixelType MovingImagePixelType
ElastixType::MovingImageType MovingImageType
Definition: elxMetricBase.h:96
elxClassNameMacro("GradientDifference")
Superclass::RegistrationPointer RegistrationPointer
Definition: elxMetricBase.h:90
Superclass::MovingImageMaskPointer MovingImageMaskPointer
MovingImageLimiterType::OutputType MovingImageLimiterOutputType
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
Superclass1::TransformPointer TransformPointer
Superclass1::FixedImageConstPointer FixedImageConstPointer
Superclass1::ImageSamplerPointer ImageSamplerPointer
Superclass::FixedImageMaskType FixedImageMaskType
Superclass1::DerivativeType DerivativeType
Superclass1::FixedImageLimiterOutputType FixedImageLimiterOutputType
Superclass1::InterpolatorPointer InterpolatorPointer
Superclass1::ImageSamplerType ImageSamplerType
Superclass1::MovingImageConstPointer MovingImageConstPointer
Superclass::ConfigurationPointer ConfigurationPointer
Definition: elxMetricBase.h:88
Superclass1::FixedImageMaskPointer FixedImageMaskPointer
Superclass1::CoordinateRepresentationType CoordinateRepresentationType
Superclass1::MovingImageMaskPointer MovingImageMaskPointer
This class is the elastix base class for all Metrics.
Definition: elxMetricBase.h:73
Superclass1::InputPointType InputPointType
Superclass::GradientImageFilterPointer GradientImageFilterPointer
Superclass::GradientImagePointer GradientImagePointer


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