go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxSumOfPairwiseCorrelationCoefficientsMetric.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 __elxSumOfPairwiseCorrelationCoefficientsMetric_H__
19 #define __elxSumOfPairwiseCorrelationCoefficientsMetric_H__
20 
21 #include "elxIncludes.h" // include first to avoid MSVS warning
23 
25 #include "itkStackTransform.h"
26 
27 namespace elastix
28 {
62 template< class TElastix >
65  typename MetricBase< TElastix >::FixedImageType,
66  typename MetricBase< TElastix >::MovingImageType >,
67  public MetricBase< TElastix >
68 {
69 public:
70 
77  typedef itk::SmartPointer< Self > Pointer;
78  typedef itk::SmartPointer< const Self > ConstPointer;
79 
81  itkNewMacro( Self );
82 
85 
90  elxClassNameMacro( "SumOfPairwiseCorrelationCoefficientsMetric" );
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  void Initialize( void ) override;
171 
177  void BeforeEachResolution( void ) override;
178 
179 protected:
180 
183 
186 
187 private:
188 
190  SumOfPairwiseCorrelationCoefficientsMetric( const Self & ); // purposely not implemented
191 
193  void operator=( const Self & ); // purposely not implemented
194 
195 };
196 
197 } // end namespace elastix
198 
199 #ifndef ITK_MANUAL_INSTANTIATION
200 #include "elxSumOfPairwiseCorrelationCoefficientsMetric.hxx"
201 #endif
202 
203 #endif // end #ifndef __elxSumOfPairwiseCorrelationCoefficientsMetric_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:81
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
Compute the sum of correlation coefficients between images in the slowest varying dimension in the mo...
itk::AdvancedCombinationTransform< ScalarType, FixedImageDimension > CombinationTransformType
itk::AdvancedBSplineDeformableTransformBase< ScalarType, FixedImageDimension > BSplineTransformBaseType
elxClassNameMacro("SumOfPairwiseCorrelationCoefficientsMetric")
itk::StackTransform< ScalarType, FixedImageDimension, MovingImageDimension > StackTransformType
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
itk::AdvancedBSplineDeformableTransformBase< ScalarType, FixedImageDimension - 1 > ReducedDimensionBSplineTransformBaseType
itkStaticConstMacro(MovingImageDimension, unsigned int, MovingImageType::ImageDimension)
itk::SumOfPairwiseCorrelationCoefficientsMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType > Superclass1
Base class for deformable transform using a B-spline representation.
This class combines two transforms: an 'initial transform' with a 'current transform'.
Implements stack of transforms: one for every last dimension index.


Generated on OURCE_DATE_EPOCH for elastix by doxygen 1.9.1 elastix logo