go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxGradientDifferenceMetric.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 __elxGradientDifferenceMetric_H__
19#define __elxGradientDifferenceMetric_H__
20
21#include "elxIncludes.h" // include first to avoid MSVS warning
23
24namespace elastix
25{
26
36template< class TElastix >
39 typename MetricBase< TElastix >::FixedImageType,
40 typename MetricBase< TElastix >::MovingImageType >,
41 public MetricBase< TElastix >
42{
43public:
44
51 typedef itk::SmartPointer< Self > Pointer;
52 typedef itk::SmartPointer< const Self > ConstPointer;
53
55 itkNewMacro( Self );
56
59
64 elxClassNameMacro( "GradientDifference" );
65
67 typedef typename
101 typedef typename
105 typedef typename
107 typedef typename
109 typedef typename
111
113 itkStaticConstMacro( FixedImageDimension, unsigned int,
114 FixedImageType::ImageDimension );
115
117 itkStaticConstMacro( MovingImageDimension, unsigned int,
118 MovingImageType::ImageDimension );
119
128
132 void Initialize( void ) override;
133
140 void BeforeRegistration( void ) override;
141
142 void BeforeEachResolution( void ) override;
143
144protected:
145
148
151
152private:
153
155 GradientDifferenceMetric( const Self & ); // purposely not implemented
157 void operator=( const Self & ); // purposely not implemented
158
159};
160
161} // end namespace elastix
162
163#ifndef ITK_MANUAL_INSTANTIATION
164#include "elxGradientDifferenceMetric.hxx"
165#endif
166
167#endif // end #ifndef __elxGradientDifferenceMetric_H__
A class that deals with user given parameters and command line arguments.
An metric based on the itk::GradientDifferenceImageToImageMetric.
Superclass1::ImageSamplerPointer ImageSamplerPointer
Superclass2::RegistrationType RegistrationType
Superclass1::MovingImageDerivativeScalesType MovingImageDerivativeScalesType
Superclass1::DerivativeType DerivativeType
Superclass1::InputPointType InputPointType
itkStaticConstMacro(MovingImageDimension, unsigned int, MovingImageType::ImageDimension)
Superclass1::TransformParametersType TransformParametersType
Superclass1::GradientImageType GradientImageType
Superclass1::FixedImageMaskPointer FixedImageMaskPointer
Superclass1::GradientImageFilterType GradientImageFilterType
Superclass1::FixedImageConstPointer FixedImageConstPointer
Superclass1::FixedImageMaskType FixedImageMaskType
Superclass1::OutputPointType OutputPointType
Superclass1::MovingImageLimiterType MovingImageLimiterType
itk::GradientDifferenceImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType > Superclass1
Superclass1::ImageSampleContainerType ImageSampleContainerType
Superclass1::InterpolatorPointer InterpolatorPointer
Superclass1::ImageSamplerType ImageSamplerType
Superclass2::ConfigurationType ConfigurationType
Superclass1::GradientPixelType GradientPixelType
void BeforeRegistration(void) override
Superclass1::GradientImagePointer GradientImagePointer
Superclass1::MovingImageMaskPointer MovingImageMaskPointer
Superclass1::MovingImageMaskType MovingImageMaskType
elxClassNameMacro("GradientDifference")
itk::SmartPointer< const Self > ConstPointer
Superclass1::FixedImagePixelType FixedImagePixelType
Superclass1::GradientImageFilterPointer GradientImageFilterPointer
Superclass2::ConfigurationPointer ConfigurationPointer
Superclass1::InterpolatorType InterpolatorType
Superclass1::MovingImageRegionType MovingImageRegionType
Superclass1::FixedImageRegionType FixedImageRegionType
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
Superclass1::FixedImageLimiterOutputType FixedImageLimiterOutputType
Superclass1::ParametersType ParametersType
Superclass1::MovingImagePixelType MovingImagePixelType
Superclass1::TransformJacobianType TransformJacobianType
void Initialize(void) override
Superclass1::FixedImageLimiterType FixedImageLimiterType
Superclass2::RegistrationPointer RegistrationPointer
Superclass1::MovingImageType MovingImageType
Superclass1::TransformPointer TransformPointer
Superclass1::FixedImageType FixedImageType
Superclass1::MovingImageLimiterOutputType MovingImageLimiterOutputType
void BeforeEachResolution(void) override
Superclass1::MovingImageConstPointer MovingImageConstPointer
Superclass1::ImageSampleContainerPointer ImageSampleContainerPointer
Superclass1::CoordinateRepresentationType CoordinateRepresentationType
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
Superclass::FixedImageMaskPointer FixedImageMaskPointer
Superclass::GradientImageFilterPointer GradientImageFilterPointer
Superclass::GradientImageFilterType GradientImageFilterType
Superclass::GradientImagePointer GradientImagePointer
Superclass::CoordinateRepresentationType CoordinateRepresentationType
Superclass::MovingImageMaskPointer MovingImageMaskPointer
Superclass::MovingImageMaskType MovingImageMaskType
Superclass::GradientPixelType GradientPixelType
FixedImageLimiterType::OutputType FixedImageLimiterOutputType
Superclass::MovingImagePixelType MovingImagePixelType
MovingImageLimiterType::OutputType MovingImageLimiterOutputType
Superclass::FixedImageMaskType FixedImageMaskType
Superclass::GradientImageType GradientImageType
Superclass::FixedImageRegionType FixedImageRegionType
Computes similarity between two objects to be registered.
This class is a base class for any image sampler.
Base class for all ITK limiter function objects.
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.


Generated on 1667476801 for elastix by doxygen 1.9.4 elastix logo