go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxPatternIntensityMetric.h
Go to the documentation of this file.
1 /*======================================================================
2 
3  This file is part of the elastix software.
4 
5  Copyright (c) University Medical Center Utrecht. All rights reserved.
6  See src/CopyrightElastix.txt or http://elastix.isi.uu.nl/legal.php for
7  details.
8 
9  This software is distributed WITHOUT ANY WARRANTY; without even
10  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11  PURPOSE. See the above copyright notices for more information.
12 
13 ======================================================================*/
14 
15 #ifndef __elxPatternIntensityMetric_H__
16 #define __elxPatternIntensityMetric_H__
17 
18 #include "elxIncludes.h"
20 
21 #include "elxTimer.h"
22 
23 namespace elastix
24 {
25 using namespace itk;
26 
36 template <class TElastix >
38 public
40  ITK_TYPENAME MetricBase<TElastix>::FixedImageType,
41  ITK_TYPENAME MetricBase<TElastix>::MovingImageType >,
42 public MetricBase<TElastix>
43 {
44 public:
45 
52  typedef SmartPointer<Self> Pointer;
53  typedef SmartPointer<const Self> ConstPointer;
54 
56  itkNewMacro( Self );
57 
60 
65  elxClassNameMacro( "PatternIntensity" );
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 
134 
138  virtual void Initialize( void ) throw (ExceptionObject);
139 
145  virtual void BeforeRegistration( void );
146 
147  virtual void BeforeEachResolution( void );
148 
149 protected:
150 
155 
156 private:
157 
159  PatternIntensityMetric( const Self& ); // purposely not implemented
161  void operator=( const Self& ); // purposely not implemented
162 
163 }; // end class PatternIntensityMetric
164 
165 
166 } // end namespace elastix
167 
168 
169 #ifndef ITK_MANUAL_INSTANTIATION
170 #include "elxPatternIntensityMetric.hxx"
171 #endif
172 
173 #endif // end #ifndef __elxPatternIntensityMetric_H__
174 
An metric based on the itk::PatternIntensityImageToImageMetric.
Superclass::ElastixPointer ElastixPointer
Definition: elxMetricBase.h:86
Superclass::RegistrationType RegistrationType
Definition: elxMetricBase.h:89
Superclass1::MovingImageConstPointer MovingImageConstPointer
Superclass1::GradientImageFilterType GradientImageFilterType
Superclass2::RegistrationPointer RegistrationPointer
Superclass::ConfigurationType ConfigurationType
Definition: elxMetricBase.h:87
#define elxClassNameMacro(_name)
Definition: elxMacro.h:254
SmartPointer< const Self > ConstPointer
Superclass1::FixedImageMaskType FixedImageMaskType
Superclass1::TransformType TransformType
SmartPointer< Self > Pointer
Definition: elxTimer.h:73
Superclass::FixedImageLimiterOutputType FixedImageLimiterOutputType
Computes similarity between two objects to be registered.
PatternIntensityImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType > Superclass1
Superclass2::ElastixPointer ElastixPointer
Superclass1::FixedImageLimiterType FixedImageLimiterType
ElastixType::FixedImageType FixedImageType
Definition: elxMetricBase.h:93
Superclass2::ConfigurationPointer ConfigurationPointer
Superclass::TransformParametersType TransformParametersType
A class to time the different parts of the registration.
Definition: elxTimer.h:67
Superclass1::MovingImageLimiterOutputType MovingImageLimiterOutputType
Superclass1::ParametersType ParametersType
Superclass::ImageSampleContainerType ImageSampleContainerType
Superclass1::DerivativeType DerivativeType
Superclass1::FixedImageType FixedImageType
Superclass1::GradientImageType GradientImageType
Superclass::ImageSampleContainerPointer ImageSampleContainerPointer
Superclass1::ImageSampleContainerType ImageSampleContainerType
Superclass1::OutputPointType OutputPointType
Superclass::MovingImageConstPointer MovingImageConstPointer
Superclass::GradientImageFilterPointer GradientImageFilterPointer
Superclass1::ImageSamplerPointer ImageSamplerPointer
Superclass1::MovingImageMaskPointer MovingImageMaskPointer
Superclass1::TransformJacobianType TransformJacobianType
Superclass1::InterpolatorType InterpolatorType
Superclass1::ImageSampleContainerPointer ImageSampleContainerPointer
Superclass1::MovingImageType MovingImageType
Superclass1::FixedImageMaskPointer FixedImageMaskPointer
Superclass1::MovingImageDerivativeScalesType MovingImageDerivativeScalesType
SingleValuedCostFunction ITKBaseType
Superclass1::InputPointType InputPointType
Superclass2::RegistrationType RegistrationType
Superclass1::MovingImagePixelType MovingImagePixelType
Superclass1::CoordinateRepresentationType CoordinateRepresentationType
Superclass1::ImageSamplerType ImageSamplerType
Superclass1::FixedImageConstPointer FixedImageConstPointer
Superclass1::TransformPointer TransformPointer
Superclass1::MovingImageMaskType MovingImageMaskType
Superclass1::GradientPixelType GradientPixelType
Superclass1::FixedImageRegionType FixedImageRegionType
Superclass::ElastixType ElastixType
Definition: elxMetricBase.h:82
Superclass::GradientImageFilterType GradientImageFilterType
Superclass1::MovingImageRegionType MovingImageRegionType
Superclass1::InterpolatorPointer InterpolatorPointer
ElastixType::MovingImageType MovingImageType
Definition: elxMetricBase.h:96
Superclass1::FixedImagePixelType FixedImagePixelType
Superclass::CoordinateRepresentationType CoordinateRepresentationType
Superclass::MovingImageDerivativeScalesType MovingImageDerivativeScalesType
Superclass::RegistrationPointer RegistrationPointer
Definition: elxMetricBase.h:90
Superclass1::FixedImageLimiterOutputType FixedImageLimiterOutputType
Superclass2::ConfigurationType ConfigurationType
Superclass::MovingImageLimiterOutputType MovingImageLimiterOutputType
Superclass1::GradientImagePointer GradientImagePointer
Superclass1::GradientImageFilterPointer GradientImageFilterPointer
Superclass::ConfigurationPointer ConfigurationPointer
Definition: elxMetricBase.h:88
This class is the elastix base class for all Metrics.
Definition: elxMetricBase.h:73
Superclass1::TransformParametersType TransformParametersType
Superclass1::MovingImageLimiterType MovingImageLimiterType


Generated on 05-12-2013 for elastix by doxygen 1.8.5 elastix logo