go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxAdvancedKappaStatisticMetric.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 __elxAdvancedKappaStatisticMetric_H__
15 #define __elxAdvancedKappaStatisticMetric_H__
16 
17 #include "elxIncludes.h" // include first to avoid MSVS warning
19 #include "elxTimer.h"
20 
21 namespace elastix
22 {
23 
45 template< class TElastix >
47  public
49  typename MetricBase< TElastix >::FixedImageType,
50  typename MetricBase< TElastix >::MovingImageType >,
51  public MetricBase< TElastix >
52 {
53 public:
54 
61  typedef itk::SmartPointer< Self > Pointer;
62  typedef itk::SmartPointer< const Self > ConstPointer;
63 
65  itkNewMacro( Self );
66 
69 
74  elxClassNameMacro( "AdvancedKappaStatistic" );
75 
77  typedef typename
93  typedef typename Superclass1::RealType RealType;
111  typedef typename
115  typedef typename
117  typedef typename
119  typedef typename
121 
123  itkStaticConstMacro( FixedImageDimension, unsigned int,
124  FixedImageType::ImageDimension );
125 
127  itkStaticConstMacro( MovingImageDimension, unsigned int,
128  MovingImageType::ImageDimension );
129 
138 
143 
147  virtual void Initialize( void ) throw ( itk::ExceptionObject );
148 
154  virtual void BeforeRegistration( void );
155 
160  virtual void BeforeEachResolution( void );
161 
162 protected:
163 
168 
169 private:
170 
172  AdvancedKappaStatisticMetric( const Self & ); // purposely not implemented
174  void operator=( const Self & ); // purposely not implemented
175 
176 };
177 
178 } // end namespace elastix
179 
180 #ifndef ITK_MANUAL_INSTANTIATION
181 #include "elxAdvancedKappaStatisticMetric.hxx"
182 #endif
183 
184 #endif // end #ifndef __elxAdvancedKappaStatisticMetric_H__
Superclass::ElastixPointer ElastixPointer
Definition: elxMetricBase.h:84
Superclass1::GradientImageFilterType GradientImageFilterType
Superclass::RegistrationType RegistrationType
Definition: elxMetricBase.h:87
Superclass1::MovingImageLimiterOutputType MovingImageLimiterOutputType
Superclass::ConfigurationType ConfigurationType
Definition: elxMetricBase.h:85
Superclass1::FixedImageConstPointer FixedImageConstPointer
Superclass1::FixedImageRegionType FixedImageRegionType
Superclass1::FixedImageLimiterOutputType FixedImageLimiterOutputType
Superclass1::TransformParametersType TransformParametersType
Superclass1::FixedImageMaskType FixedImageMaskType
Superclass2::ConfigurationPointer ConfigurationPointer
ElastixType::FixedImageType FixedImageType
Definition: elxMetricBase.h:91
itk::SmartPointer< Self > Pointer
Definition: elxTimer.h:73
A class to time the different parts of the registration.
Definition: elxTimer.h:66
Superclass::MovingImageDerivativeScalesType MovingImageDerivativeScalesType
Superclass1::FixedImageLimiterType FixedImageLimiterType
Superclass1::ImageSampleContainerPointer ImageSampleContainerPointer
Superclass1::MovingImageDerivativeScalesType MovingImageDerivativeScalesType
Superclass1::TransformJacobianType TransformJacobianType
Superclass1::InterpolatorPointer InterpolatorPointer
Superclass1::MovingImageMaskPointer MovingImageMaskPointer
Superclass1::MovingImageMaskType MovingImageMaskType
Superclass1::GradientImagePointer GradientImagePointer
Superclass1::MovingImageConstPointer MovingImageConstPointer
elxClassNameMacro("AdvancedKappaStatistic")
Superclass1::MovingImagePixelType MovingImagePixelType
Superclass1::FixedImageMaskPointer FixedImageMaskPointer
Superclass1::CoordinateRepresentationType CoordinateRepresentationType
Superclass1::ImageSamplerPointer ImageSamplerPointer
Superclass::ElastixType ElastixType
Definition: elxMetricBase.h:80
Computes similarity between two objects to be registered.
itk::SingleValuedCostFunction ITKBaseType
Definition: elxMetricBase.h:99
Superclass1::ImageSampleContainerType ImageSampleContainerType
ElastixType::MovingImageType MovingImageType
Definition: elxMetricBase.h:94
Superclass1::FixedImagePixelType FixedImagePixelType
Superclass::RegistrationPointer RegistrationPointer
Definition: elxMetricBase.h:88
itk::AdvancedKappaStatisticImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType > Superclass1
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
Superclass1::MovingImageLimiterType MovingImageLimiterType
An metric based on the itk::AdvancedKappaStatisticImageToImageMetric.
Superclass::ConfigurationPointer ConfigurationPointer
Definition: elxMetricBase.h:86
Superclass1::GradientImageFilterPointer GradientImageFilterPointer
Superclass1::MovingImageRegionType MovingImageRegionType
Superclass2::RegistrationPointer RegistrationPointer
This class is the elastix base class for all Metrics.
Definition: elxMetricBase.h:71


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