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
27namespace elastix
28{
62template< class TElastix >
64 public itk::PCAMetric2<
65 typename MetricBase< TElastix >::FixedImageType,
66 typename MetricBase< TElastix >::MovingImageType >,
67 public MetricBase< TElastix >
68{
69public:
70
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
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 void Initialize( void ) override;
171
177 void BeforeEachResolution( void ) override;
178
179protected:
180
184 ~PCAMetric2() override {}
185
186private:
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__
A class that deals with user given parameters and command line arguments.
This class is the elastix base class for all Metrics.
Definition: elxMetricBase.h:73
itk::SingleValuedCostFunction ITKBaseType
Superclass::RegistrationPointer RegistrationPointer
Definition: elxMetricBase.h:89
Superclass::ElastixType ElastixType
Definition: elxMetricBase.h:84
ElastixType::MovingImageType MovingImageType
Definition: elxMetricBase.h:95
ElastixType::FixedImageType FixedImageType
Definition: elxMetricBase.h:92
Superclass::ConfigurationPointer ConfigurationPointer
Definition: elxMetricBase.h:87
Superclass::RegistrationType RegistrationType
Definition: elxMetricBase.h:88
Superclass::ElastixPointer ElastixPointer
Definition: elxMetricBase.h:85
This metric is based on the AdvancedImageToImageMetric. It is templated over the type of the fixed an...
Definition: elxPCAMetric2.h:68
void operator=(const Self &)
Superclass1::MovingImageDerivativeScalesType MovingImageDerivativeScalesType
Superclass1::GradientImagePointer GradientImagePointer
Superclass2::ElastixType ElastixType
Superclass1::ImageSampleContainerPointer ImageSampleContainerPointer
Superclass1::MovingImageConstPointer MovingImageConstPointer
Definition: elxPCAMetric2.h:98
Superclass1::FixedImageLimiterOutputType FixedImageLimiterOutputType
PCAMetric2(const Self &)
Superclass1::MovingImageLimiterOutputType MovingImageLimiterOutputType
Superclass1::CoordinateRepresentationType CoordinateRepresentationType
Definition: elxPCAMetric2.h:94
void BeforeEachResolution(void) override
Superclass1::FixedImageSizeType FixedImageSizeType
Superclass1::FixedImageLimiterType FixedImageLimiterType
Superclass1::GradientImageFilterPointer GradientImageFilterPointer
itk::AdvancedBSplineDeformableTransformBase< ScalarType, FixedImageDimension - 1 > ReducedDimensionBSplineTransformBaseType
Superclass1::GradientImageFilterType GradientImageFilterType
Superclass1::FixedImagePixelType FixedImagePixelType
Superclass1::FixedImageConstPointer FixedImageConstPointer
Superclass1::FixedImageRegionType FixedImageRegionType
Superclass1::MovingImagePixelType MovingImagePixelType
Definition: elxPCAMetric2.h:97
itkStaticConstMacro(MovingImageDimension, unsigned int, MovingImageType::ImageDimension)
itk::AdvancedCombinationTransform< ScalarType, FixedImageDimension > CombinationTransformType
Superclass1::ParametersType ParametersType
Superclass1::ScalarType ScalarType
Definition: elxPCAMetric2.h:95
Superclass1::TransformPointer TransformPointer
Superclass2::ConfigurationType ConfigurationType
itk::SmartPointer< Self > Pointer
Definition: elxPCAMetric2.h:77
Superclass1::MovingImageLimiterType MovingImageLimiterType
Superclass1::FixedImageMaskType FixedImageMaskType
Superclass1::InterpolatorType InterpolatorType
Superclass2::RegistrationType RegistrationType
itk::PCAMetric2< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType > Superclass1
Definition: elxPCAMetric2.h:75
Superclass1::TransformParametersType TransformParametersType
Superclass1::ImageSamplerType ImageSamplerType
Superclass2::ConfigurationPointer ConfigurationPointer
Superclass1::ImageSamplerPointer ImageSamplerPointer
~PCAMetric2() override
Superclass2::ITKBaseType ITKBaseType
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
Superclass1::TransformJacobianType TransformJacobianType
Superclass1::MovingImageRegionType MovingImageRegionType
Superclass1::OutputPointType OutputPointType
Superclass1::ImageSampleContainerType ImageSampleContainerType
Superclass1::MovingImageMaskPointer MovingImageMaskPointer
Superclass1::GradientPixelType GradientPixelType
Superclass1::DerivativeType DerivativeType
elxClassNameMacro("PCAMetric2")
Superclass1::MeasureType MeasureType
Superclass1::FixedImageType FixedImageType
Definition: elxPCAMetric2.h:99
Superclass2::RegistrationPointer RegistrationPointer
MetricBase< TElastix > Superclass2
Definition: elxPCAMetric2.h:76
Superclass1::InterpolatorPointer InterpolatorPointer
Superclass1::GradientImageType GradientImageType
Superclass1::TransformType TransformType
Superclass2::ElastixPointer ElastixPointer
itk::SmartPointer< const Self > ConstPointer
Definition: elxPCAMetric2.h:78
Superclass1::RealType RealType
Superclass1::MovingImageMaskType MovingImageMaskType
Superclass1::FixedImageMaskPointer FixedImageMaskPointer
itk::AdvancedBSplineDeformableTransformBase< ScalarType, FixedImageDimension > BSplineTransformBaseType
Superclass1::MovingImageType MovingImageType
Definition: elxPCAMetric2.h:96
itk::StackTransform< ScalarType, FixedImageDimension, MovingImageDimension > StackTransformType
Superclass1::InputPointType InputPointType
void Initialize(void) override
Base class for deformable transform using a B-spline representation.
This class combines two transforms: an 'initial transform' with a 'current transform'.
Superclass::TransformJacobianType TransformJacobianType
Definition: itkPCAMetric2.h:72
Superclass::FixedImageLimiterOutputType FixedImageLimiterOutputType
Definition: itkPCAMetric2.h:98
Superclass::TransformParametersType TransformParametersType
Definition: itkPCAMetric2.h:71
Superclass::ImageSamplerType ImageSamplerType
Definition: itkPCAMetric2.h:90
Superclass::TransformType TransformType
Definition: itkPCAMetric2.h:67
Superclass::InterpolatorPointer InterpolatorPointer
Definition: itkPCAMetric2.h:74
Superclass::CoordinateRepresentationType CoordinateRepresentationType
Definition: itkPCAMetric2.h:61
Superclass::ImageSamplerPointer ImageSamplerPointer
Definition: itkPCAMetric2.h:91
Superclass::FixedImageMaskPointer FixedImageMaskPointer
Definition: itkPCAMetric2.h:82
Superclass::OutputPointType OutputPointType
Definition: itkPCAMetric2.h:70
Superclass::TransformPointer TransformPointer
Definition: itkPCAMetric2.h:68
Superclass::DerivativeType DerivativeType
Definition: itkPCAMetric2.h:86
Superclass::MovingImageMaskType MovingImageMaskType
Definition: itkPCAMetric2.h:83
Superclass::FixedImagePixelType FixedImagePixelType
Definition: itkPCAMetric2.h:88
Superclass::MovingImageLimiterType MovingImageLimiterType
Definition: itkPCAMetric2.h:96
Superclass::FixedImageLimiterType FixedImageLimiterType
Definition: itkPCAMetric2.h:95
Superclass::MovingImageType MovingImageType
Definition: itkPCAMetric2.h:62
Superclass::MovingImageRegionType MovingImageRegionType
Definition: itkPCAMetric2.h:89
Superclass::MovingImageDerivativeScalesType MovingImageDerivativeScalesType
Superclass::GradientImageFilterType GradientImageFilterType
Definition: itkPCAMetric2.h:79
Superclass::ImageSampleContainerType ImageSampleContainerType
Definition: itkPCAMetric2.h:92
Superclass::GradientImageFilterPointer GradientImageFilterPointer
Definition: itkPCAMetric2.h:80
Superclass::MovingImagePixelType MovingImagePixelType
Definition: itkPCAMetric2.h:63
Superclass::MeasureType MeasureType
Definition: itkPCAMetric2.h:85
Superclass::MovingImageMaskPointer MovingImageMaskPointer
Definition: itkPCAMetric2.h:84
Superclass::InputPointType InputPointType
Definition: itkPCAMetric2.h:69
Superclass::InterpolatorType InterpolatorType
Definition: itkPCAMetric2.h:73
Superclass::GradientImagePointer GradientImagePointer
Definition: itkPCAMetric2.h:78
Superclass::MovingImageLimiterOutputType MovingImageLimiterOutputType
Superclass::FixedImageType FixedImageType
Definition: itkPCAMetric2.h:65
Superclass::FixedImageConstPointer FixedImageConstPointer
Definition: itkPCAMetric2.h:66
Superclass::GradientPixelType GradientPixelType
Definition: itkPCAMetric2.h:76
Superclass::ImageSampleContainerPointer ImageSampleContainerPointer
Definition: itkPCAMetric2.h:94
FixedImageRegionType::SizeType FixedImageSizeType
Definition: itkPCAMetric2.h:44
Superclass::MovingImageConstPointer MovingImageConstPointer
Definition: itkPCAMetric2.h:64
Superclass::RealType RealType
Definition: itkPCAMetric2.h:75
Superclass::FixedImageRegionType FixedImageRegionType
Definition: itkPCAMetric2.h:43
Superclass::FixedImageMaskType FixedImageMaskType
Definition: itkPCAMetric2.h:81
Superclass::GradientImageType GradientImageType
Definition: itkPCAMetric2.h:77
Superclass::ParametersType ParametersType
Definition: itkPCAMetric2.h:87
Implements stack of transforms: one for every last dimension index.


Generated on 1667476801 for elastix by doxygen 1.9.4 elastix logo