go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxSumSquaredTissueVolumeDifferenceMetric.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 __elxSumSquaredTissueVolumeDifferenceMetric_H__
19 #define __elxSumSquaredTissueVolumeDifferenceMetric_H__
20 
21 #include "elxIncludes.h"
23 //#include "itkTimeProbe.h"
24 
25 namespace elastix
26 {
49 template <class TElastix >
52  typename MetricBase<TElastix>::FixedImageType,
53  typename MetricBase<TElastix>::MovingImageType >,
54  public MetricBase<TElastix>
55 {
56 public:
57 
64  typedef itk::SmartPointer<Self> Pointer;
65  typedef itk::SmartPointer<const Self> ConstPointer;
66 
68  itkNewMacro( Self );
69 
72 
77  elxClassNameMacro( "SumSquaredTissueVolumeDifference" );
78 
80  typedef typename
96  typedef typename Superclass1::RealType RealType;
114  typedef typename
118  typedef typename
120  typedef typename
122  typedef typename
124 
126  itkStaticConstMacro( FixedImageDimension, unsigned int,
127  FixedImageType::ImageDimension );
128 
130  itkStaticConstMacro( MovingImageDimension, unsigned int,
131  MovingImageType::ImageDimension );
132 
141 
142 
146  void Initialize( void ) override;
147 
153  void BeforeEachResolution( void ) override;
154 
155 protected:
156 
161 
162 private:
163 
165  SumSquaredTissueVolumeDifferenceMetric( const Self& ); // purposely not implemented
167  void operator=( const Self& ); // purposely not implemented
168 
169 }; // end class SumSquaredTissueVolumeDifferenceMetric
170 
171 
172 } // end namespace elastix
173 
174 
175 #ifndef ITK_MANUAL_INSTANTIATION
176 #include "elxSumSquaredTissueVolumeDifferenceMetric.hxx"
177 #endif
178 
179 #endif // end #ifndef __elxSumSquaredTissueVolumeDifferenceMetric_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
A metric based on the itk::SumSquaredTissueVolumeDifferenceImageToImageMetric.
Superclass1::CoordinateRepresentationType CoordinateRepresentationType
elxClassNameMacro("SumSquaredTissueVolumeDifference")
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
itkStaticConstMacro(MovingImageDimension, unsigned int, MovingImageType::ImageDimension)
Superclass1::MovingImageDerivativeScalesType MovingImageDerivativeScalesType
itk::SumSquaredTissueVolumeDifferenceImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType > Superclass1
Superclass::TransformPointer TransformPointer
Compute sum of square tissue volume difference between two images.


Generated on 1652341256 for elastix by doxygen 1.9.1 elastix logo