go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxPCAMetric2.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 __elxPCAMetric2_H__
19 #define __elxPCAMetric2_H__
20 
21 #include "elxIncludes.h" // include first to avoid MSVS warning
22 #include "itkPCAMetric2.h"
23 
25 #include "itkStackTransform.h"
26 
27 namespace elastix
28 {
62 template< class TElastix >
63 class PCAMetric2 :
64  public itk::PCAMetric2<
65  typename MetricBase< TElastix >::FixedImageType,
66  typename MetricBase< TElastix >::MovingImageType >,
67  public MetricBase< TElastix >
68 {
69 public:
70 
72  typedef PCAMetric2 Self;
73  typedef itk::PCAMetric2<
77  typedef itk::SmartPointer< Self > Pointer;
78  typedef itk::SmartPointer< const Self > ConstPointer;
79 
81  itkNewMacro( Self );
82 
84  itkTypeMacro( PCAMetric2, itk::PCAMetric2 );
85 
90  elxClassNameMacro( "PCAMetric2" );
91 
93  typedef typename
111  typedef typename Superclass1::RealType RealType;
129  typedef typename
133  typedef typename
135  typedef typename
137  typedef typename
139 
141  itkStaticConstMacro( FixedImageDimension, unsigned int,
142  FixedImageType::ImageDimension );
143 
145  itkStaticConstMacro( MovingImageDimension, unsigned int,
146  MovingImageType::ImageDimension );
147 
156 
159  ScalarType, FixedImageDimension > BSplineTransformBaseType;
161  ScalarType, FixedImageDimension > CombinationTransformType;
162  typedef itk::StackTransform<
163  ScalarType, FixedImageDimension, MovingImageDimension > StackTransformType;
166 
170  virtual void Initialize( void ) throw ( itk::ExceptionObject );
171 
177  virtual void BeforeEachResolution( void );
178 
179 protected:
180 
184  virtual ~PCAMetric2() {}
185 
186 private:
187 
189  PCAMetric2( const Self & ); // purposely not implemented
191  void operator=( const Self & ); // purposely not implemented
192 
193 };
194 
195 } // end namespace elastix
196 
197 #ifndef ITK_MANUAL_INSTANTIATION
198 #include "elxPCAMetric2.hxx"
199 #endif
200 
201 #endif // end #ifndef __elxPCAMetric2_H__
elastix::PCAMetric2::ImageSamplerPointer
Superclass1::ImageSamplerPointer ImageSamplerPointer
Definition: elxPCAMetric2.h:127
elastix::PCAMetric2::FixedImageSizeType
Superclass1::FixedImageSizeType FixedImageSizeType
Definition: elxPCAMetric2.h:102
itkStackTransform.h
itk::PCAMetric2::ImageSampleContainerType
Superclass::ImageSampleContainerType ImageSampleContainerType
Definition: itkPCAMetric2.h:92
elastix::PCAMetric2::ConstPointer
itk::SmartPointer< const Self > ConstPointer
Definition: elxPCAMetric2.h:78
itk::PCAMetric2::FixedImageLimiterOutputType
Superclass::FixedImageLimiterOutputType FixedImageLimiterOutputType
Definition: itkPCAMetric2.h:98
elastix::PCAMetric2::BeforeEachResolution
virtual void BeforeEachResolution(void)
elastix::MetricBase::ITKBaseType
itk::SingleValuedCostFunction ITKBaseType
Definition: elxMetricBase.h:100
elastix::PCAMetric2::RegistrationType
Superclass2::RegistrationType RegistrationType
Definition: elxPCAMetric2.h:153
itk::PCAMetric2::FixedImagePixelType
Superclass::FixedImagePixelType FixedImagePixelType
Definition: itkPCAMetric2.h:88
elastix::MetricBase::RegistrationPointer
Superclass::RegistrationPointer RegistrationPointer
Definition: elxMetricBase.h:89
itk::PCAMetric2::InterpolatorPointer
Superclass::InterpolatorPointer InterpolatorPointer
Definition: itkPCAMetric2.h:74
elastix::PCAMetric2::OutputPointType
Superclass1::OutputPointType OutputPointType
Definition: elxPCAMetric2.h:106
elastix::PCAMetric2::Self
PCAMetric2 Self
Definition: elxPCAMetric2.h:72
elastix::MetricBase
This class is the elastix base class for all Metrics.
Definition: elxMetricBase.h:73
itk::PCAMetric2::TransformParametersType
Superclass::TransformParametersType TransformParametersType
Definition: itkPCAMetric2.h:71
elastix::PCAMetric2::FixedImageRegionType
Superclass1::FixedImageRegionType FixedImageRegionType
Definition: elxPCAMetric2.h:101
itk::PCAMetric2::ParametersType
Superclass::ParametersType ParametersType
Definition: itkPCAMetric2.h:87
elastix::PCAMetric2::MovingImagePixelType
Superclass1::MovingImagePixelType MovingImagePixelType
Definition: elxPCAMetric2.h:97
elastix::PCAMetric2::Pointer
itk::SmartPointer< Self > Pointer
Definition: elxPCAMetric2.h:77
elastix::PCAMetric2::BSplineTransformBaseType
itk::AdvancedBSplineDeformableTransformBase< ScalarType, FixedImageDimension > BSplineTransformBaseType
Definition: elxPCAMetric2.h:159
elastix::PCAMetric2::MovingImageLimiterOutputType
Superclass1::MovingImageLimiterOutputType MovingImageLimiterOutputType
Definition: elxPCAMetric2.h:136
itk::PCAMetric2::InputPointType
Superclass::InputPointType InputPointType
Definition: itkPCAMetric2.h:69
itk::PCAMetric2::MovingImageRegionType
Superclass::MovingImageRegionType MovingImageRegionType
Definition: itkPCAMetric2.h:89
itk::PCAMetric2
Definition: itkPCAMetric2.h:33
elastix::PCAMetric2::elxClassNameMacro
elxClassNameMacro("PCAMetric2")
itk::PCAMetric2::FixedImageRegionType
Superclass::FixedImageRegionType FixedImageRegionType
Definition: itkPCAMetric2.h:43
elastix::PCAMetric2::RegistrationPointer
Superclass2::RegistrationPointer RegistrationPointer
Definition: elxPCAMetric2.h:154
itk::PCAMetric2::RealType
Superclass::RealType RealType
Definition: itkPCAMetric2.h:75
itk::PCAMetric2::GradientImageType
Superclass::GradientImageType GradientImageType
Definition: itkPCAMetric2.h:77
elastix::PCAMetric2::ElastixPointer
Superclass2::ElastixPointer ElastixPointer
Definition: elxPCAMetric2.h:150
elastix::PCAMetric2::GradientImagePointer
Superclass1::GradientImagePointer GradientImagePointer
Definition: elxPCAMetric2.h:114
elastix::PCAMetric2::ReducedDimensionBSplineTransformBaseType
itk::AdvancedBSplineDeformableTransformBase< ScalarType, FixedImageDimension - 1 > ReducedDimensionBSplineTransformBaseType
Definition: elxPCAMetric2.h:165
elastix::PCAMetric2::MovingImageLimiterType
Superclass1::MovingImageLimiterType MovingImageLimiterType
Definition: elxPCAMetric2.h:132
elastix::PCAMetric2::Initialize
virtual void Initialize(void)
elastix::PCAMetric2::CombinationTransformType
itk::AdvancedCombinationTransform< ScalarType, FixedImageDimension > CombinationTransformType
Definition: elxPCAMetric2.h:161
elastix::PCAMetric2::ConfigurationType
Superclass2::ConfigurationType ConfigurationType
Definition: elxPCAMetric2.h:151
elastix::PCAMetric2::FixedImageMaskType
Superclass1::FixedImageMaskType FixedImageMaskType
Definition: elxPCAMetric2.h:117
itk::PCAMetric2::FixedImageLimiterType
Superclass::FixedImageLimiterType FixedImageLimiterType
Definition: itkPCAMetric2.h:95
elastix::PCAMetric2::FixedImageConstPointer
Superclass1::FixedImageConstPointer FixedImageConstPointer
Definition: elxPCAMetric2.h:100
itk::AdvancedCombinationTransform
This class combines two transforms: an 'initial transform' with a 'current transform'.
Definition: itkAdvancedCombinationTransform.h:58
elastix::PCAMetric2::MovingImageDerivativeScalesType
Superclass1::MovingImageDerivativeScalesType MovingImageDerivativeScalesType
Definition: elxPCAMetric2.h:138
elastix::PCAMetric2::itkStaticConstMacro
itkStaticConstMacro(MovingImageDimension, unsigned int, MovingImageType::ImageDimension)
itk::PCAMetric2::MovingImagePixelType
Superclass::MovingImagePixelType MovingImagePixelType
Definition: itkPCAMetric2.h:63
elastix::PCAMetric2::PCAMetric2
PCAMetric2(const Self &)
elastix::PCAMetric2::PCAMetric2
PCAMetric2()
Definition: elxPCAMetric2.h:182
elastix::PCAMetric2::TransformType
Superclass1::TransformType TransformType
Definition: elxPCAMetric2.h:103
elastix::PCAMetric2::ImageSampleContainerType
Superclass1::ImageSampleContainerType ImageSampleContainerType
Definition: elxPCAMetric2.h:128
elastix::PCAMetric2::ImageSampleContainerPointer
Superclass1::ImageSampleContainerPointer ImageSampleContainerPointer
Definition: elxPCAMetric2.h:130
elastix::PCAMetric2::MovingImageRegionType
Superclass1::MovingImageRegionType MovingImageRegionType
Definition: elxPCAMetric2.h:125
itk::PCAMetric2::DerivativeType
Superclass::DerivativeType DerivativeType
Definition: itkPCAMetric2.h:86
elastix::PCAMetric2::MovingImageType
Superclass1::MovingImageType MovingImageType
Definition: elxPCAMetric2.h:96
elastix::PCAMetric2::itkStaticConstMacro
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
elastix::PCAMetric2::MovingImageConstPointer
Superclass1::MovingImageConstPointer MovingImageConstPointer
Definition: elxPCAMetric2.h:98
elastix::PCAMetric2::ElastixType
Superclass2::ElastixType ElastixType
Definition: elxPCAMetric2.h:149
elastix::MetricBase::ConfigurationPointer
Superclass::ConfigurationPointer ConfigurationPointer
Definition: elxMetricBase.h:87
elastix::PCAMetric2::FixedImagePixelType
Superclass1::FixedImagePixelType FixedImagePixelType
Definition: elxPCAMetric2.h:124
elastix::PCAMetric2::GradientImageFilterType
Superclass1::GradientImageFilterType GradientImageFilterType
Definition: elxPCAMetric2.h:115
elastix::PCAMetric2::InterpolatorPointer
Superclass1::InterpolatorPointer InterpolatorPointer
Definition: elxPCAMetric2.h:110
elastix::PCAMetric2::FixedImageLimiterType
Superclass1::FixedImageLimiterType FixedImageLimiterType
Definition: elxPCAMetric2.h:131
itk::PCAMetric2::MovingImageType
Superclass::MovingImageType MovingImageType
Definition: itkPCAMetric2.h:62
elastix::PCAMetric2::MovingImageMaskPointer
Superclass1::MovingImageMaskPointer MovingImageMaskPointer
Definition: elxPCAMetric2.h:120
elastix::PCAMetric2::operator=
void operator=(const Self &)
elastix::PCAMetric2::ScalarType
Superclass1::ScalarType ScalarType
Definition: elxPCAMetric2.h:95
itk::PCAMetric2::GradientImagePointer
Superclass::GradientImagePointer GradientImagePointer
Definition: itkPCAMetric2.h:78
elastix::PCAMetric2::InputPointType
Superclass1::InputPointType InputPointType
Definition: elxPCAMetric2.h:105
itk::PCAMetric2::MovingImageConstPointer
Superclass::MovingImageConstPointer MovingImageConstPointer
Definition: itkPCAMetric2.h:64
elastix::PCAMetric2::FixedImageType
Superclass1::FixedImageType FixedImageType
Definition: elxPCAMetric2.h:99
itk::PCAMetric2::ImageSamplerType
Superclass::ImageSamplerType ImageSamplerType
Definition: itkPCAMetric2.h:90
elastix::PCAMetric2::TransformParametersType
Superclass1::TransformParametersType TransformParametersType
Definition: elxPCAMetric2.h:107
itk::PCAMetric2::ImageSampleContainerPointer
Superclass::ImageSampleContainerPointer ImageSampleContainerPointer
Definition: itkPCAMetric2.h:94
elastix::PCAMetric2::~PCAMetric2
virtual ~PCAMetric2()
Definition: elxPCAMetric2.h:184
itk::PCAMetric2::MovingImageLimiterType
Superclass::MovingImageLimiterType MovingImageLimiterType
Definition: itkPCAMetric2.h:96
itk::AdvancedImageToImageMetric::ScalarType
TransformType::ScalarType ScalarType
Definition: itkAdvancedImageToImageMetric.h:152
elastix::PCAMetric2::Superclass1
itk::PCAMetric2< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType > Superclass1
Definition: elxPCAMetric2.h:75
elastix::PCAMetric2::DerivativeType
Superclass1::DerivativeType DerivativeType
Definition: elxPCAMetric2.h:122
itk::PCAMetric2::FixedImageSizeType
FixedImageRegionType::SizeType FixedImageSizeType
Definition: itkPCAMetric2.h:44
elastix::PCAMetric2
This metric is based on the AdvancedImageToImageMetric. It is templated over the type of the fixed an...
Definition: elxPCAMetric2.h:68
elastix::MetricBase::ConfigurationType
Superclass::ConfigurationType ConfigurationType
Definition: elxMetricBase.h:86
elastix::PCAMetric2::ConfigurationPointer
Superclass2::ConfigurationPointer ConfigurationPointer
Definition: elxPCAMetric2.h:152
itk::StackTransform
Implements stack of transforms: one for every last dimension index.
Definition: itkStackTransform.h:42
elastix::PCAMetric2::FixedImageLimiterOutputType
Superclass1::FixedImageLimiterOutputType FixedImageLimiterOutputType
Definition: elxPCAMetric2.h:134
itkPCAMetric2.h
itk::PCAMetric2::TransformPointer
Superclass::TransformPointer TransformPointer
Definition: itkPCAMetric2.h:68
itk::PCAMetric2::MeasureType
Superclass::MeasureType MeasureType
Definition: itkPCAMetric2.h:85
elastix::PCAMetric2::TransformJacobianType
Superclass1::TransformJacobianType TransformJacobianType
Definition: elxPCAMetric2.h:108
elastix::PCAMetric2::MovingImageMaskType
Superclass1::MovingImageMaskType MovingImageMaskType
Definition: elxPCAMetric2.h:119
elxIncludes.h
elastix::PCAMetric2::GradientImageType
Superclass1::GradientImageType GradientImageType
Definition: elxPCAMetric2.h:113
elastix::PCAMetric2::ParametersType
Superclass1::ParametersType ParametersType
Definition: elxPCAMetric2.h:123
itk::PCAMetric2::FixedImageConstPointer
Superclass::FixedImageConstPointer FixedImageConstPointer
Definition: itkPCAMetric2.h:66
elastix::PCAMetric2::RealType
Superclass1::RealType RealType
Definition: elxPCAMetric2.h:111
elastix::PCAMetric2::ITKBaseType
Superclass2::ITKBaseType ITKBaseType
Definition: elxPCAMetric2.h:155
elastix::MetricBase::ElastixPointer
Superclass::ElastixPointer ElastixPointer
Definition: elxMetricBase.h:85
itk::PCAMetric2::GradientPixelType
Superclass::GradientPixelType GradientPixelType
Definition: itkPCAMetric2.h:76
itk::PCAMetric2::MovingImageMaskPointer
Superclass::MovingImageMaskPointer MovingImageMaskPointer
Definition: itkPCAMetric2.h:84
itk::PCAMetric2::CoordinateRepresentationType
Superclass::CoordinateRepresentationType CoordinateRepresentationType
Definition: itkPCAMetric2.h:57
elastix::PCAMetric2::InterpolatorType
Superclass1::InterpolatorType InterpolatorType
Definition: elxPCAMetric2.h:109
itk::PCAMetric2::TransformType
Superclass::TransformType TransformType
Definition: itkPCAMetric2.h:67
elastix::MetricBase::FixedImageType
ElastixType::FixedImageType FixedImageType
Definition: elxMetricBase.h:92
itk::PCAMetric2::FixedImageType
Superclass::FixedImageType FixedImageType
Definition: itkPCAMetric2.h:65
itk::PCAMetric2::MovingImageMaskType
Superclass::MovingImageMaskType MovingImageMaskType
Definition: itkPCAMetric2.h:83
itk::PCAMetric2::OutputPointType
Superclass::OutputPointType OutputPointType
Definition: itkPCAMetric2.h:70
elastix::PCAMetric2::FixedImageMaskPointer
Superclass1::FixedImageMaskPointer FixedImageMaskPointer
Definition: elxPCAMetric2.h:118
itk::PCAMetric2::FixedImageMaskPointer
Superclass::FixedImageMaskPointer FixedImageMaskPointer
Definition: itkPCAMetric2.h:82
itk::PCAMetric2::ImageSamplerPointer
Superclass::ImageSamplerPointer ImageSamplerPointer
Definition: itkPCAMetric2.h:91
itk::PCAMetric2::TransformJacobianType
Superclass::TransformJacobianType TransformJacobianType
Definition: itkPCAMetric2.h:72
elastix::MetricBase::MovingImageType
ElastixType::MovingImageType MovingImageType
Definition: elxMetricBase.h:95
elastix::PCAMetric2::StackTransformType
itk::StackTransform< ScalarType, FixedImageDimension, MovingImageDimension > StackTransformType
Definition: elxPCAMetric2.h:163
elastix::PCAMetric2::CoordinateRepresentationType
Superclass1::CoordinateRepresentationType CoordinateRepresentationType
Definition: elxPCAMetric2.h:94
elastix::MetricBase::ElastixType
Superclass::ElastixType ElastixType
Definition: elxMetricBase.h:81
itk::AdvancedBSplineDeformableTransformBase
Base class for deformable transform using a B-spline representation.
Definition: itkAdvancedBSplineDeformableTransformBase.h:44
elastix::PCAMetric2::GradientPixelType
Superclass1::GradientPixelType GradientPixelType
Definition: elxPCAMetric2.h:112
itk::PCAMetric2::MovingImageLimiterOutputType
Superclass::MovingImageLimiterOutputType MovingImageLimiterOutputType
Definition: itkPCAMetric2.h:100
itk::PCAMetric2::FixedImageMaskType
Superclass::FixedImageMaskType FixedImageMaskType
Definition: itkPCAMetric2.h:81
elastix::PCAMetric2::MeasureType
Superclass1::MeasureType MeasureType
Definition: elxPCAMetric2.h:121
elastix::PCAMetric2::ImageSamplerType
Superclass1::ImageSamplerType ImageSamplerType
Definition: elxPCAMetric2.h:126
itk::PCAMetric2::MovingImageDerivativeScalesType
Superclass::MovingImageDerivativeScalesType MovingImageDerivativeScalesType
Definition: itkPCAMetric2.h:102
elastix::PCAMetric2::TransformPointer
Superclass1::TransformPointer TransformPointer
Definition: elxPCAMetric2.h:104
itk::PCAMetric2::GradientImageFilterPointer
Superclass::GradientImageFilterPointer GradientImageFilterPointer
Definition: itkPCAMetric2.h:80
itk::PCAMetric2::GradientImageFilterType
Superclass::GradientImageFilterType GradientImageFilterType
Definition: itkPCAMetric2.h:79
elastix::PCAMetric2::GradientImageFilterPointer
Superclass1::GradientImageFilterPointer GradientImageFilterPointer
Definition: elxPCAMetric2.h:116
elastix
Definition: elxFixedGenericPyramid.h:25
elastix::MetricBase::RegistrationType
Superclass::RegistrationType RegistrationType
Definition: elxMetricBase.h:88
elastix::PCAMetric2::Superclass2
MetricBase< TElastix > Superclass2
Definition: elxPCAMetric2.h:76
itk::PCAMetric2::InterpolatorType
Superclass::InterpolatorType InterpolatorType
Definition: itkPCAMetric2.h:73
itkAdvancedBSplineDeformableTransform.h


Generated on OURCE_DATE_EPOCH for elastix by doxygen 1.8.18 elastix logo