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 #ifndef __elxPatternIntensityMetric_H__
15 #define __elxPatternIntensityMetric_H__
16 
17 #include "elxIncludes.h" // include first to avoid MSVS warning
19 
20 #include "elxTimer.h"
21 
22 namespace elastix
23 {
24 
34 template< class TElastix >
36  public
38  typename MetricBase< TElastix >::FixedImageType,
39  typename MetricBase< TElastix >::MovingImageType >,
40  public MetricBase< TElastix >
41 {
42 public:
43 
50  typedef itk::SmartPointer< Self > Pointer;
51  typedef itk::SmartPointer< const Self > ConstPointer;
52 
54  itkNewMacro( Self );
55 
58 
63  elxClassNameMacro( "PatternIntensity" );
64 
66  typedef typename
82  typedef typename Superclass1::RealType RealType;
100  typedef typename
104  typedef typename
106  typedef typename
108  typedef typename
110 
112  itkStaticConstMacro( FixedImageDimension, unsigned int,
113  FixedImageType::ImageDimension );
114 
116  itkStaticConstMacro( MovingImageDimension, unsigned int,
117  MovingImageType::ImageDimension );
118 
127 
132 
136  virtual void Initialize( void ) throw ( itk::ExceptionObject );
137 
143  virtual void BeforeRegistration( void );
144 
145  virtual void BeforeEachResolution( void );
146 
147 protected:
148 
153 
154 private:
155 
157  PatternIntensityMetric( const Self & ); // purposely not implemented
159  void operator=( const Self & ); // purposely not implemented
160 
161 };
162 
163 } // end namespace elastix
164 
165 #ifndef ITK_MANUAL_INSTANTIATION
166 #include "elxPatternIntensityMetric.hxx"
167 #endif
168 
169 #endif // end #ifndef __elxPatternIntensityMetric_H__
An metric based on the itk::PatternIntensityImageToImageMetric.
Superclass::ElastixPointer ElastixPointer
Definition: elxMetricBase.h:84
Superclass::RegistrationType RegistrationType
Definition: elxMetricBase.h:87
Superclass1::MovingImageConstPointer MovingImageConstPointer
Superclass1::GradientImageFilterType GradientImageFilterType
Superclass2::RegistrationPointer RegistrationPointer
Superclass::ConfigurationType ConfigurationType
Definition: elxMetricBase.h:85
itk::PatternIntensityImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType > Superclass1
Superclass1::FixedImageMaskType FixedImageMaskType
Superclass1::TransformType TransformType
Superclass::FixedImageLimiterOutputType FixedImageLimiterOutputType
Computes similarity between two objects to be registered.
Superclass2::ElastixPointer ElastixPointer
virtual void BeforeRegistration(void)
Superclass1::FixedImageLimiterType FixedImageLimiterType
ElastixType::FixedImageType FixedImageType
Definition: elxMetricBase.h:91
Superclass2::ConfigurationPointer ConfigurationPointer
itk::SmartPointer< Self > Pointer
Definition: elxTimer.h:73
Superclass::TransformParametersType TransformParametersType
A class to time the different parts of the registration.
Definition: elxTimer.h:66
itk::SmartPointer< const Self > ConstPointer
void operator=(const Self &)
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
virtual void BeforeEachResolution(void)
Superclass1::MovingImageType MovingImageType
Superclass1::FixedImageMaskPointer FixedImageMaskPointer
Superclass1::MovingImageDerivativeScalesType MovingImageDerivativeScalesType
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
Superclass1::InputPointType InputPointType
Superclass2::RegistrationType RegistrationType
Superclass1::MovingImagePixelType MovingImagePixelType
Superclass1::CoordinateRepresentationType CoordinateRepresentationType
Superclass1::ImageSamplerType ImageSamplerType
Superclass1::FixedImageConstPointer FixedImageConstPointer
Superclass1::TransformPointer TransformPointer
elxClassNameMacro("PatternIntensity")
Superclass1::MovingImageMaskType MovingImageMaskType
virtual void Initialize(void)
Superclass1::GradientPixelType GradientPixelType
Superclass1::FixedImageRegionType FixedImageRegionType
Superclass::ElastixType ElastixType
Definition: elxMetricBase.h:80
Superclass::GradientImageFilterType GradientImageFilterType
Superclass1::MovingImageRegionType MovingImageRegionType
itk::SingleValuedCostFunction ITKBaseType
Definition: elxMetricBase.h:99
Superclass1::InterpolatorPointer InterpolatorPointer
ElastixType::MovingImageType MovingImageType
Definition: elxMetricBase.h:94
Superclass1::FixedImagePixelType FixedImagePixelType
Superclass::CoordinateRepresentationType CoordinateRepresentationType
Superclass::MovingImageDerivativeScalesType MovingImageDerivativeScalesType
Superclass::RegistrationPointer RegistrationPointer
Definition: elxMetricBase.h:88
Superclass1::FixedImageLimiterOutputType FixedImageLimiterOutputType
Superclass2::ConfigurationType ConfigurationType
Superclass::MovingImageLimiterOutputType MovingImageLimiterOutputType
Superclass1::GradientImagePointer GradientImagePointer
Superclass1::GradientImageFilterPointer GradientImageFilterPointer
Superclass::ConfigurationPointer ConfigurationPointer
Definition: elxMetricBase.h:86
This class is the elastix base class for all Metrics.
Definition: elxMetricBase.h:71
Superclass1::TransformParametersType TransformParametersType
Superclass1::MovingImageLimiterType MovingImageLimiterType


Generated on 11-03-2014 for elastix by doxygen 1.8.6 elastix logo