go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxKNNGraphAlphaMutualInformationMetric.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 __elxKNNGraphAlphaMutualInformationMetric_H__
19 #define __elxKNNGraphAlphaMutualInformationMetric_H__
20 
21 #include "elxIncludes.h" // include first to avoid MSVS warning
23 
24 
25 namespace elastix
26 {
27 
82 template< class TElastix >
84  public
86  typename MetricBase< TElastix >::FixedImageType,
87  typename MetricBase< TElastix >::MovingImageType >,
88  public MetricBase< TElastix >
89 {
90 public:
91 
98  typedef itk::SmartPointer< Self > Pointer;
99  typedef itk::SmartPointer< const Self > ConstPointer;
100 
102  itkNewMacro( Self );
103 
107 
112  elxClassNameMacro( "KNNGraphAlphaMutualInformation" );
113 
126 
128  itkStaticConstMacro( FixedImageDimension, unsigned int,
129  FixedImageType::ImageDimension );
131  itkStaticConstMacro( MovingImageDimension, unsigned int,
132  MovingImageType::ImageDimension );
133 
142 
144  typedef FixedImageType FixedFeatureImageType;
145  typedef MovingImageType MovingFeatureImageType;
146 
156  virtual void BeforeRegistration( void );
157 
168  virtual void BeforeEachResolution( void );
169 
173  virtual void Initialize( void ) throw ( itk::ExceptionObject );
174 
175 protected:
176 
181 
182 private:
183 
185  KNNGraphAlphaMutualInformationMetric( const Self & ); // purposely not implemented
187  void operator=( const Self & ); // purposely not implemented
188 
189 };
190 
191 } // end namespace elastix
192 
193 #ifndef ITK_MANUAL_INSTANTIATION
194 #include "elxKNNGraphAlphaMutualInformationMetric.hxx"
195 #endif
196 
197 #endif // end #ifndef __elxKNNGraphAlphaMutualInformationMetric_H__
Superclass::ElastixPointer ElastixPointer
Definition: elxMetricBase.h:86
Superclass::RegistrationType RegistrationType
Definition: elxMetricBase.h:89
elxClassNameMacro("KNNGraphAlphaMutualInformation")
Superclass::ConfigurationType ConfigurationType
Definition: elxMetricBase.h:87
A metric based on the itk::KNNGraphAlphaMutualInformationImageToImageMetric.
ElastixType::FixedImageType FixedImageType
Definition: elxMetricBase.h:93
itk::KNNGraphAlphaMutualInformationImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType > Superclass1
Superclass::ElastixType ElastixType
Definition: elxMetricBase.h:82
itk::SingleValuedCostFunction ITKBaseType
ElastixType::MovingImageType MovingImageType
Definition: elxMetricBase.h:96
Superclass::RegistrationPointer RegistrationPointer
Definition: elxMetricBase.h:90
Superclass::ConfigurationPointer ConfigurationPointer
Definition: elxMetricBase.h:88
This class is the elastix base class for all Metrics.
Definition: elxMetricBase.h:73
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)


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