go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxCorrespondingPointsEuclideanDistanceMetric.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 __elxCorrespondingPointsEuclideanDistanceMetric_H__
19 #define __elxCorrespondingPointsEuclideanDistanceMetric_H__
20 
21 #include "elxIncludes.h" // include first to avoid MSVS warning
23 
24 namespace elastix
25 {
26 
39 template< class TElastix >
41  public
43  typename MetricBase< TElastix >::FixedPointSetType,
44  typename MetricBase< TElastix >::MovingPointSetType >,
45  public MetricBase< TElastix >
46 {
47 public:
48 
55  typedef itk::SmartPointer< Self > Pointer;
56  typedef itk::SmartPointer< const Self > ConstPointer;
57 
59  itkNewMacro( Self );
60 
64 
69  elxClassNameMacro( "CorrespondingPointsEuclideanDistanceMetric" );
70 
77 
78 // typedef typename Superclass1::FixedImageRegionType FixedImageRegionType;
85 // typedef typename Superclass1::RealType RealType;
93 
104 
106  itkStaticConstMacro( FixedImageDimension, unsigned int,
107  FixedImageType::ImageDimension );
108 
110  itkStaticConstMacro( MovingImageDimension, unsigned int,
111  MovingImageType::ImageDimension );
112 
118 
122  virtual void Initialize( void ) throw ( itk::ExceptionObject );
123 
129  virtual int BeforeAllBase( void );
130 
135  virtual void BeforeRegistration( void );
136 
138  unsigned int ReadLandmarks(
139  const std::string & landmarkFileName,
140  typename PointSetType::Pointer & pointSet,
141  const typename ImageType::ConstPointer image );
142 
144  virtual void SelectNewSamples( void ){}
145 
146 protected:
147 
152 
153 private:
154 
156  CorrespondingPointsEuclideanDistanceMetric( const Self & ); // purposely not implemented
158  void operator=( const Self & ); // purposely not implemented
159 
160 };
161 
162 } // end namespace elastix
163 
164 #ifndef ITK_MANUAL_INSTANTIATION
165 #include "elxCorrespondingPointsEuclideanDistanceMetric.hxx"
166 #endif
167 
168 #endif // end #ifndef __elxCorrespondingPointsEuclideanDistanceMetric_H__
elastix::CorrespondingPointsEuclideanDistanceMetric::TransformPointer
Superclass1::TransformPointer TransformPointer
Definition: elxCorrespondingPointsEuclideanDistanceMetric.h:80
elastix::CorrespondingPointsEuclideanDistanceMetric::MovingPointSetType
Superclass1::MovingPointSetType MovingPointSetType
Definition: elxCorrespondingPointsEuclideanDistanceMetric.h:75
itk::SingleValuedPointSetToPointSetMetric::MovingImageMaskType
SpatialObject< itkGetStaticConstMacro(MovingPointSetDimension) > MovingImageMaskType
Definition: itkSingleValuedPointSetToPointSetMetric.h:110
elastix::MetricBase::ITKBaseType
itk::SingleValuedCostFunction ITKBaseType
Definition: elxMetricBase.h:100
elastix::CorrespondingPointsEuclideanDistanceMetric::ConstPointer
itk::SmartPointer< const Self > ConstPointer
Definition: elxCorrespondingPointsEuclideanDistanceMetric.h:56
elastix::MetricBase::RegistrationPointer
Superclass::RegistrationPointer RegistrationPointer
Definition: elxMetricBase.h:89
elastix::CorrespondingPointsEuclideanDistanceMetric
An metric based on the itk::CorrespondingPointsEuclideanDistancePointMetric.
Definition: elxCorrespondingPointsEuclideanDistanceMetric.h:46
elastix::CorrespondingPointsEuclideanDistanceMetric::itkStaticConstMacro
itkStaticConstMacro(MovingImageDimension, unsigned int, MovingImageType::ImageDimension)
elastix::CorrespondingPointsEuclideanDistanceMetric::Initialize
virtual void Initialize(void)
elastix::CorrespondingPointsEuclideanDistanceMetric::MovingPointSetConstPointer
Superclass1::MovingPointSetConstPointer MovingPointSetConstPointer
Definition: elxCorrespondingPointsEuclideanDistanceMetric.h:76
elastix::CorrespondingPointsEuclideanDistanceMetric::ConfigurationPointer
Superclass2::ConfigurationPointer ConfigurationPointer
Definition: elxCorrespondingPointsEuclideanDistanceMetric.h:98
elastix::MetricBase
This class is the elastix base class for all Metrics.
Definition: elxMetricBase.h:73
itk::CorrespondingPointsEuclideanDistancePointMetric::TransformJacobianType
Superclass::TransformJacobianType TransformJacobianType
Definition: itkCorrespondingPointsEuclideanDistancePointMetric.h:62
elastix::CorrespondingPointsEuclideanDistanceMetric::Pointer
itk::SmartPointer< Self > Pointer
Definition: elxCorrespondingPointsEuclideanDistanceMetric.h:55
itk::CorrespondingPointsEuclideanDistancePointMetric::DerivativeType
Superclass::DerivativeType DerivativeType
Definition: itkCorrespondingPointsEuclideanDistancePointMetric.h:65
elastix::CorrespondingPointsEuclideanDistanceMetric::FixedImageMaskType
Superclass1::FixedImageMaskType FixedImageMaskType
Definition: elxCorrespondingPointsEuclideanDistanceMetric.h:86
elastix::CorrespondingPointsEuclideanDistanceMetric::MovingImageType
Superclass2::MovingImageType MovingImageType
Definition: elxCorrespondingPointsEuclideanDistanceMetric.h:103
elastix::CorrespondingPointsEuclideanDistanceMetric::TransformJacobianType
Superclass1::TransformJacobianType TransformJacobianType
Definition: elxCorrespondingPointsEuclideanDistanceMetric.h:84
elastix::CorrespondingPointsEuclideanDistanceMetric::FixedPointSetType
Superclass1::FixedPointSetType FixedPointSetType
Definition: elxCorrespondingPointsEuclideanDistanceMetric.h:73
elastix::MetricBase::MovingPointSetType
itk::PointSet< CoordinateRepresentationType, MovingImageDimension, itk::DefaultStaticMeshTraits< CoordinateRepresentationType, MovingImageDimension, MovingImageDimension, CoordinateRepresentationType, CoordinateRepresentationType, CoordinateRepresentationType > > MovingPointSetType
Definition: elxMetricBase.h:125
elastix::CorrespondingPointsEuclideanDistanceMetric::ImageType
FixedImageType ImageType
Definition: elxCorrespondingPointsEuclideanDistanceMetric.h:117
elastix::CorrespondingPointsEuclideanDistanceMetric::RegistrationPointer
Superclass2::RegistrationPointer RegistrationPointer
Definition: elxCorrespondingPointsEuclideanDistanceMetric.h:100
itk::CorrespondingPointsEuclideanDistancePointMetric::TransformType
Superclass::TransformType TransformType
Definition: itkCorrespondingPointsEuclideanDistancePointMetric.h:56
elastix::CorrespondingPointsEuclideanDistanceMetric::ElastixPointer
Superclass2::ElastixPointer ElastixPointer
Definition: elxCorrespondingPointsEuclideanDistanceMetric.h:96
elastix::CorrespondingPointsEuclideanDistanceMetric::PointSetType
FixedPointSetType PointSetType
Definition: elxCorrespondingPointsEuclideanDistanceMetric.h:116
itk::CorrespondingPointsEuclideanDistancePointMetric::TransformPointer
Superclass::TransformPointer TransformPointer
Definition: itkCorrespondingPointsEuclideanDistancePointMetric.h:60
elastix::CorrespondingPointsEuclideanDistanceMetric::MovingImageMaskPointer
Superclass1::MovingImageMaskPointer MovingImageMaskPointer
Definition: elxCorrespondingPointsEuclideanDistanceMetric.h:89
itk::SingleValuedPointSetToPointSetMetric::FixedImageMaskType
SpatialObject< itkGetStaticConstMacro(FixedPointSetDimension) > FixedImageMaskType
Definition: itkSingleValuedPointSetToPointSetMetric.h:106
elastix::CorrespondingPointsEuclideanDistanceMetric::FixedPointSetConstPointer
Superclass1::FixedPointSetConstPointer FixedPointSetConstPointer
Definition: elxCorrespondingPointsEuclideanDistanceMetric.h:74
elastix::CorrespondingPointsEuclideanDistanceMetric::itkStaticConstMacro
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
itkCorrespondingPointsEuclideanDistancePointMetric.h
elastix::CorrespondingPointsEuclideanDistanceMetric::~CorrespondingPointsEuclideanDistanceMetric
virtual ~CorrespondingPointsEuclideanDistanceMetric()
Definition: elxCorrespondingPointsEuclideanDistanceMetric.h:151
elastix::CorrespondingPointsEuclideanDistanceMetric::InputPointType
Superclass1::InputPointType InputPointType
Definition: elxCorrespondingPointsEuclideanDistanceMetric.h:81
itk::SingleValuedPointSetToPointSetMetric::MovingImageMaskPointer
MovingImageMaskType::Pointer MovingImageMaskPointer
Definition: itkSingleValuedPointSetToPointSetMetric.h:111
itk::CorrespondingPointsEuclideanDistancePointMetric
Computes the Euclidean distance between a moving point-set and a fixed point-set. Correspondence is n...
Definition: itkCorrespondingPointsEuclideanDistancePointMetric.h:41
elastix::CorrespondingPointsEuclideanDistanceMetric::CorrespondingPointsEuclideanDistanceMetric
CorrespondingPointsEuclideanDistanceMetric()
Definition: elxCorrespondingPointsEuclideanDistanceMetric.h:149
elastix::MetricBase::ConfigurationPointer
Superclass::ConfigurationPointer ConfigurationPointer
Definition: elxMetricBase.h:87
elastix::CorrespondingPointsEuclideanDistanceMetric::TransformType
Superclass1::TransformType TransformType
Definition: elxCorrespondingPointsEuclideanDistanceMetric.h:79
elastix::CorrespondingPointsEuclideanDistanceMetric::ReadLandmarks
unsigned int ReadLandmarks(const std::string &landmarkFileName, typename PointSetType::Pointer &pointSet, const typename ImageType::ConstPointer image)
elastix::CorrespondingPointsEuclideanDistanceMetric::RegistrationType
Superclass2::RegistrationType RegistrationType
Definition: elxCorrespondingPointsEuclideanDistanceMetric.h:99
elastix::CorrespondingPointsEuclideanDistanceMetric::CoordinateRepresentationType
Superclass1::CoordinateRepresentationType CoordinateRepresentationType
Definition: elxCorrespondingPointsEuclideanDistanceMetric.h:72
elastix::CorrespondingPointsEuclideanDistanceMetric::ConfigurationType
Superclass2::ConfigurationType ConfigurationType
Definition: elxCorrespondingPointsEuclideanDistanceMetric.h:97
elastix::CorrespondingPointsEuclideanDistanceMetric::BeforeAllBase
virtual int BeforeAllBase(void)
itk::SingleValuedPointSetToPointSetMetric::ParametersType
Superclass::ParametersType ParametersType
Definition: itkSingleValuedPointSetToPointSetMetric.h:118
elastix::MetricBase::FixedPointSetType
itk::PointSet< CoordinateRepresentationType, FixedImageDimension, itk::DefaultStaticMeshTraits< CoordinateRepresentationType, FixedImageDimension, FixedImageDimension, CoordinateRepresentationType, CoordinateRepresentationType, CoordinateRepresentationType > > FixedPointSetType
Definition: elxMetricBase.h:118
elastix::CorrespondingPointsEuclideanDistanceMetric::FixedImageMaskPointer
Superclass1::FixedImageMaskPointer FixedImageMaskPointer
Definition: elxCorrespondingPointsEuclideanDistanceMetric.h:87
elastix::CorrespondingPointsEuclideanDistanceMetric::MovingImageMaskType
Superclass1::MovingImageMaskType MovingImageMaskType
Definition: elxCorrespondingPointsEuclideanDistanceMetric.h:88
elastix::CorrespondingPointsEuclideanDistanceMetric::MeasureType
Superclass1::MeasureType MeasureType
Definition: elxCorrespondingPointsEuclideanDistanceMetric.h:90
elastix::MetricBase::ConfigurationType
Superclass::ConfigurationType ConfigurationType
Definition: elxMetricBase.h:86
itk::CorrespondingPointsEuclideanDistancePointMetric::MovingPointSetConstPointer
Superclass::MovingPointSetConstPointer MovingPointSetConstPointer
Definition: itkCorrespondingPointsEuclideanDistancePointMetric.h:70
elastix::CorrespondingPointsEuclideanDistanceMetric::TransformParametersType
Superclass1::TransformParametersType TransformParametersType
Definition: elxCorrespondingPointsEuclideanDistanceMetric.h:83
itk::CorrespondingPointsEuclideanDistancePointMetric::InputPointType
Superclass::InputPointType InputPointType
Definition: itkCorrespondingPointsEuclideanDistancePointMetric.h:75
elxIncludes.h
itk::CorrespondingPointsEuclideanDistancePointMetric::MovingPointSetType
Superclass::MovingPointSetType MovingPointSetType
Definition: itkCorrespondingPointsEuclideanDistancePointMetric.h:68
elastix::CorrespondingPointsEuclideanDistanceMetric::DerivativeType
Superclass1::DerivativeType DerivativeType
Definition: elxCorrespondingPointsEuclideanDistanceMetric.h:91
elastix::CorrespondingPointsEuclideanDistanceMetric::OutputPointType
Superclass1::OutputPointType OutputPointType
Definition: elxCorrespondingPointsEuclideanDistanceMetric.h:82
elastix::CorrespondingPointsEuclideanDistanceMetric::elxClassNameMacro
elxClassNameMacro("CorrespondingPointsEuclideanDistanceMetric")
elastix::MetricBase::ElastixPointer
Superclass::ElastixPointer ElastixPointer
Definition: elxMetricBase.h:85
itk::CorrespondingPointsEuclideanDistancePointMetric::TransformParametersType
Superclass::TransformParametersType TransformParametersType
Definition: itkCorrespondingPointsEuclideanDistancePointMetric.h:61
elastix::MetricBase::FixedImageType
ElastixType::FixedImageType FixedImageType
Definition: elxMetricBase.h:92
elastix::CorrespondingPointsEuclideanDistanceMetric::FixedImageType
Superclass2::FixedImageType FixedImageType
Definition: elxCorrespondingPointsEuclideanDistanceMetric.h:102
elastix::CorrespondingPointsEuclideanDistanceMetric::Superclass1
itk::CorrespondingPointsEuclideanDistancePointMetric< typename MetricBase< TElastix >::FixedPointSetType, typename MetricBase< TElastix >::MovingPointSetType > Superclass1
Definition: elxCorrespondingPointsEuclideanDistanceMetric.h:53
elastix::CorrespondingPointsEuclideanDistanceMetric::BeforeRegistration
virtual void BeforeRegistration(void)
itk::SingleValuedPointSetToPointSetMetric::FixedImageMaskPointer
FixedImageMaskType::Pointer FixedImageMaskPointer
Definition: itkSingleValuedPointSetToPointSetMetric.h:107
elastix::CorrespondingPointsEuclideanDistanceMetric::ITKBaseType
Superclass2::ITKBaseType ITKBaseType
Definition: elxCorrespondingPointsEuclideanDistanceMetric.h:101
elastix::CorrespondingPointsEuclideanDistanceMetric::SelectNewSamples
virtual void SelectNewSamples(void)
Definition: elxCorrespondingPointsEuclideanDistanceMetric.h:144
itk::CorrespondingPointsEuclideanDistancePointMetric::MeasureType
Superclass::MeasureType MeasureType
Definition: itkCorrespondingPointsEuclideanDistancePointMetric.h:64
elastix::CorrespondingPointsEuclideanDistanceMetric::ParametersType
Superclass1::ParametersType ParametersType
Definition: elxCorrespondingPointsEuclideanDistanceMetric.h:92
elastix::CorrespondingPointsEuclideanDistanceMetric::operator=
void operator=(const Self &)
elastix::CorrespondingPointsEuclideanDistanceMetric::ElastixType
Superclass2::ElastixType ElastixType
Definition: elxCorrespondingPointsEuclideanDistanceMetric.h:95
itk::CorrespondingPointsEuclideanDistancePointMetric::FixedPointSetType
Superclass::FixedPointSetType FixedPointSetType
Definition: itkCorrespondingPointsEuclideanDistancePointMetric.h:67
elastix::MetricBase::MovingImageType
ElastixType::MovingImageType MovingImageType
Definition: elxMetricBase.h:95
itk::CorrespondingPointsEuclideanDistancePointMetric::FixedPointSetConstPointer
Superclass::FixedPointSetConstPointer FixedPointSetConstPointer
Definition: itkCorrespondingPointsEuclideanDistancePointMetric.h:69
elastix::MetricBase::ElastixType
Superclass::ElastixType ElastixType
Definition: elxMetricBase.h:81
itk::SingleValuedPointSetToPointSetMetric::CoordinateRepresentationType
Superclass::ParametersValueType CoordinateRepresentationType
Definition: itkSingleValuedPointSetToPointSetMetric.h:74
elastix::CorrespondingPointsEuclideanDistanceMetric::CorrespondingPointsEuclideanDistanceMetric
CorrespondingPointsEuclideanDistanceMetric(const Self &)
elastix
Definition: elxFixedGenericPyramid.h:25
elastix::CorrespondingPointsEuclideanDistanceMetric::Superclass2
MetricBase< TElastix > Superclass2
Definition: elxCorrespondingPointsEuclideanDistanceMetric.h:54
elastix::MetricBase::RegistrationType
Superclass::RegistrationType RegistrationType
Definition: elxMetricBase.h:88
itk::CorrespondingPointsEuclideanDistancePointMetric::OutputPointType
Superclass::OutputPointType OutputPointType
Definition: itkCorrespondingPointsEuclideanDistancePointMetric.h:76
elastix::CorrespondingPointsEuclideanDistanceMetric::Self
CorrespondingPointsEuclideanDistanceMetric Self
Definition: elxCorrespondingPointsEuclideanDistanceMetric.h:50


Generated on OURCE_DATE_EPOCH for elastix by doxygen 1.8.18 elastix logo