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 
35 template <class TElastix >
37 public
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 
59 
64  elxClassNameMacro( "PatternIntensity" );
65 
67  typedef typename
83  typedef typename Superclass1::RealType RealType;
101  typedef typename
105  typedef typename
107  typedef typename
109  typedef typename
111 
113  itkStaticConstMacro( FixedImageDimension, unsigned int,
114  FixedImageType::ImageDimension );
115 
117  itkStaticConstMacro( MovingImageDimension, unsigned int,
118  MovingImageType::ImageDimension );
119 
128 
133 
137  virtual void Initialize( void ) throw (itk::ExceptionObject);
138 
144  virtual void BeforeRegistration( void );
145 
146  virtual void BeforeEachResolution( void );
147 
148 protected:
149 
154 
155 private:
156 
158  PatternIntensityMetric( const Self& ); // purposely not implemented
160  void operator=( const Self& ); // purposely not implemented
161 
162 }; // end class PatternIntensityMetric
163 
164 
165 } // end namespace elastix
166 
167 
168 #ifndef ITK_MANUAL_INSTANTIATION
169 #include "elxPatternIntensityMetric.hxx"
170 #endif
171 
172 #endif // end #ifndef __elxPatternIntensityMetric_H__
173 
An metric based on the itk::PatternIntensityImageToImageMetric.
Superclass::ElastixPointer ElastixPointer
Definition: elxMetricBase.h:85
Superclass::RegistrationType RegistrationType
Definition: elxMetricBase.h:88
Superclass1::MovingImageConstPointer MovingImageConstPointer
Superclass1::GradientImageFilterType GradientImageFilterType
Superclass2::RegistrationPointer RegistrationPointer
Superclass::ConfigurationType ConfigurationType
Definition: elxMetricBase.h:86
itk::SmartPointer< Self > Pointer
Definition: elxTimer.h:72
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:92
Superclass2::ConfigurationPointer ConfigurationPointer
Superclass::TransformParametersType TransformParametersType
A class to time the different parts of the registration.
Definition: elxTimer.h:66
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:81
Superclass::GradientImageFilterType GradientImageFilterType
Superclass1::MovingImageRegionType MovingImageRegionType
itk::SingleValuedCostFunction ITKBaseType
Superclass1::InterpolatorPointer InterpolatorPointer
ElastixType::MovingImageType MovingImageType
Definition: elxMetricBase.h:95
Superclass1::FixedImagePixelType FixedImagePixelType
Superclass::CoordinateRepresentationType CoordinateRepresentationType
Superclass::MovingImageDerivativeScalesType MovingImageDerivativeScalesType
Superclass::RegistrationPointer RegistrationPointer
Definition: elxMetricBase.h:89
Superclass1::FixedImageLimiterOutputType FixedImageLimiterOutputType
Superclass2::ConfigurationType ConfigurationType
itk::PatternIntensityImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType > Superclass1
Superclass::MovingImageLimiterOutputType MovingImageLimiterOutputType
Superclass1::GradientImagePointer GradientImagePointer
itk::SmartPointer< const Self > ConstPointer
Superclass1::GradientImageFilterPointer GradientImageFilterPointer
Superclass::ConfigurationPointer ConfigurationPointer
Definition: elxMetricBase.h:87
This class is the elastix base class for all Metrics.
Definition: elxMetricBase.h:72
Superclass1::TransformParametersType TransformParametersType
Superclass1::MovingImageLimiterType MovingImageLimiterType


Generated on 05-01-2014 for elastix by doxygen 1.8.5 elastix logo