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  * 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 __elxAdvancedKappaStatisticMetric_H__
19 #define __elxAdvancedKappaStatisticMetric_H__
20 
21 #include "elxIncludes.h" // include first to avoid MSVS warning
23 
24 
25 namespace elastix
26 {
27 
49 template< class TElastix >
51  public
53  typename MetricBase< TElastix >::FixedImageType,
54  typename MetricBase< TElastix >::MovingImageType >,
55  public MetricBase< TElastix >
56 {
57 public:
58 
65  typedef itk::SmartPointer< Self > Pointer;
66  typedef itk::SmartPointer< const Self > ConstPointer;
67 
69  itkNewMacro( Self );
70 
73 
78  elxClassNameMacro( "AdvancedKappaStatistic" );
79 
81  typedef typename
97  typedef typename Superclass1::RealType RealType;
115  typedef typename
119  typedef typename
121  typedef typename
123  typedef typename
125 
127  itkStaticConstMacro( FixedImageDimension, unsigned int,
128  FixedImageType::ImageDimension );
129 
131  itkStaticConstMacro( MovingImageDimension, unsigned int,
132  MovingImageType::ImageDimension );
133 
142 
146  virtual void Initialize( void ) throw ( itk::ExceptionObject );
147 
153  virtual void BeforeRegistration( void );
154 
155 protected:
156 
161 
162 private:
163 
165  AdvancedKappaStatisticMetric( const Self & ); // purposely not implemented
167  void operator=( const Self & ); // purposely not implemented
168 
169 };
170 
171 } // end namespace elastix
172 
173 #ifndef ITK_MANUAL_INSTANTIATION
174 #include "elxAdvancedKappaStatisticMetric.hxx"
175 #endif
176 
177 #endif // end #ifndef __elxAdvancedKappaStatisticMetric_H__
Superclass::ElastixPointer ElastixPointer
Definition: elxMetricBase.h:86
Superclass1::GradientImageFilterType GradientImageFilterType
Superclass::RegistrationType RegistrationType
Definition: elxMetricBase.h:89
Superclass1::MovingImageLimiterOutputType MovingImageLimiterOutputType
Superclass::ConfigurationType ConfigurationType
Definition: elxMetricBase.h:87
Superclass1::FixedImageConstPointer FixedImageConstPointer
Superclass1::FixedImageRegionType FixedImageRegionType
Superclass1::FixedImageLimiterOutputType FixedImageLimiterOutputType
Superclass1::TransformParametersType TransformParametersType
Superclass2::ConfigurationPointer ConfigurationPointer
ElastixType::FixedImageType FixedImageType
Definition: elxMetricBase.h:93
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:82
Computes similarity between two objects to be registered.
itk::SingleValuedCostFunction ITKBaseType
Superclass1::ImageSampleContainerType ImageSampleContainerType
ElastixType::MovingImageType MovingImageType
Definition: elxMetricBase.h:96
Superclass1::FixedImagePixelType FixedImagePixelType
Superclass::RegistrationPointer RegistrationPointer
Definition: elxMetricBase.h:90
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:88
Superclass1::GradientImageFilterPointer GradientImageFilterPointer
Superclass1::MovingImageRegionType MovingImageRegionType
Superclass2::RegistrationPointer RegistrationPointer
This class is the elastix base class for all Metrics.
Definition: elxMetricBase.h:73


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