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 namespace elastix
25 {
26 
36 template< class TElastix >
38  public
40  typename MetricBase< TElastix >::FixedImageType,
41  typename MetricBase< TElastix >::MovingImageType >,
42  public MetricBase< TElastix >
43 {
44 public:
45 
52  typedef itk::SmartPointer< Self > Pointer;
53  typedef itk::SmartPointer< const Self > ConstPointer;
54 
56  itkNewMacro( Self );
57 
60 
65  elxClassNameMacro( "PatternIntensity" );
66 
68  typedef typename
84  typedef typename Superclass1::RealType RealType;
102  typedef typename
106  typedef typename
108  typedef typename
110  typedef typename
112 
114  itkStaticConstMacro( FixedImageDimension, unsigned int,
115  FixedImageType::ImageDimension );
116 
118  itkStaticConstMacro( MovingImageDimension, unsigned int,
119  MovingImageType::ImageDimension );
120 
129 
133  virtual void Initialize( void ) throw ( itk::ExceptionObject );
134 
140  virtual void BeforeRegistration( void );
141 
142  virtual void BeforeEachResolution( void );
143 
144 protected:
145 
150 
151 private:
152 
154  PatternIntensityMetric( const Self & ); // purposely not implemented
156  void operator=( const Self & ); // purposely not implemented
157 
158 };
159 
160 } // end namespace elastix
161 
162 #ifndef ITK_MANUAL_INSTANTIATION
163 #include "elxPatternIntensityMetric.hxx"
164 #endif
165 
166 #endif // end #ifndef __elxPatternIntensityMetric_H__
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::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:92
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: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
Superclass::MovingImageLimiterOutputType MovingImageLimiterOutputType
Superclass1::GradientImagePointer GradientImagePointer
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 OURCE_DATE_EPOCH for elastix by doxygen 1.8.13 elastix logo