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  * 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 __elxPatternIntensityMetric_H__
19 #define __elxPatternIntensityMetric_H__
20 
21 #include "elxIncludes.h" // include first to avoid MSVS warning
23 
24 
25 namespace elastix
26 {
27 
37 template< class TElastix >
39  public
41  typename MetricBase< TElastix >::FixedImageType,
42  typename MetricBase< TElastix >::MovingImageType >,
43  public MetricBase< TElastix >
44 {
45 public:
46 
53  typedef itk::SmartPointer< Self > Pointer;
54  typedef itk::SmartPointer< const Self > ConstPointer;
55 
57  itkNewMacro( Self );
58 
61 
66  elxClassNameMacro( "PatternIntensity" );
67 
69  typedef typename
85  typedef typename Superclass1::RealType RealType;
103  typedef typename
107  typedef typename
109  typedef typename
111  typedef typename
113 
115  itkStaticConstMacro( FixedImageDimension, unsigned int,
116  FixedImageType::ImageDimension );
117 
119  itkStaticConstMacro( MovingImageDimension, unsigned int,
120  MovingImageType::ImageDimension );
121 
130 
134  virtual void Initialize( void ) throw ( itk::ExceptionObject );
135 
141  virtual void BeforeRegistration( void );
142 
143  virtual void BeforeEachResolution( void );
144 
145 protected:
146 
151 
152 private:
153 
155  PatternIntensityMetric( const Self & ); // purposely not implemented
157  void operator=( const Self & ); // purposely not implemented
158 
159 };
160 
161 } // end namespace elastix
162 
163 #ifndef ITK_MANUAL_INSTANTIATION
164 #include "elxPatternIntensityMetric.hxx"
165 #endif
166 
167 #endif // end #ifndef __elxPatternIntensityMetric_H__
An metric based on the itk::PatternIntensityImageToImageMetric.
Superclass::ElastixPointer ElastixPointer
Definition: elxMetricBase.h:86
Superclass::RegistrationType RegistrationType
Definition: elxMetricBase.h:89
Superclass1::MovingImageConstPointer MovingImageConstPointer
Superclass1::GradientImageFilterType GradientImageFilterType
Superclass2::RegistrationPointer RegistrationPointer
Superclass::ConfigurationType ConfigurationType
Definition: elxMetricBase.h:87
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:93
Superclass2::ConfigurationPointer ConfigurationPointer
Superclass::TransformParametersType TransformParametersType
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:82
Superclass::GradientImageFilterType GradientImageFilterType
Superclass1::MovingImageRegionType MovingImageRegionType
itk::SingleValuedCostFunction ITKBaseType
Superclass1::InterpolatorPointer InterpolatorPointer
ElastixType::MovingImageType MovingImageType
Definition: elxMetricBase.h:96
Superclass1::FixedImagePixelType FixedImagePixelType
Superclass::CoordinateRepresentationType CoordinateRepresentationType
Superclass::MovingImageDerivativeScalesType MovingImageDerivativeScalesType
Superclass::RegistrationPointer RegistrationPointer
Definition: elxMetricBase.h:90
Superclass1::FixedImageLimiterOutputType FixedImageLimiterOutputType
Superclass2::ConfigurationType ConfigurationType
Superclass::MovingImageLimiterOutputType MovingImageLimiterOutputType
Superclass1::GradientImagePointer GradientImagePointer
Superclass1::GradientImageFilterPointer GradientImageFilterPointer
Superclass::ConfigurationPointer ConfigurationPointer
Definition: elxMetricBase.h:88
This class is the elastix base class for all Metrics.
Definition: elxMetricBase.h:73
Superclass1::TransformParametersType TransformParametersType
Superclass1::MovingImageLimiterType MovingImageLimiterType


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