go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkCorrespondingPointsEuclideanDistancePointMetric.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 __itkCorrespondingPointsEuclideanDistancePointMetric_h
19 #define __itkCorrespondingPointsEuclideanDistancePointMetric_h
20 
22 #include "itkPoint.h"
23 #include "itkPointSet.h"
24 #include "itkImage.h"
25 
26 namespace itk
27 {
28 
38 template< class TFixedPointSet, class TMovingPointSet >
40  public SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >
41 {
42 public:
43 
47  TFixedPointSet, TMovingPointSet > Superclass;
49  typedef SmartPointer< const Self > ConstPointer;
50 
52  itkNewMacro( Self );
53 
57 
63 
71 
74 
77  typedef typename OutputPointType::CoordRepType CoordRepType;
79 
81 
83  MeasureType GetValue( const TransformParametersType & parameters ) const;
84 
86  void GetDerivative( const TransformParametersType & parameters,
87  DerivativeType & Derivative ) const;
88 
90  void GetValueAndDerivative( const TransformParametersType & parameters,
91  MeasureType & Value, DerivativeType & Derivative ) const;
92 
93 protected:
94 
97 
98 private:
99 
100  CorrespondingPointsEuclideanDistancePointMetric( const Self & ); // purposely not implemented
101  void operator=( const Self & ); // purposely not implemented
102 
103 };
104 
105 } // end namespace itk
106 
107 #ifndef ITK_MANUAL_INSTANTIATION
108 #include "itkCorrespondingPointsEuclideanDistancePointMetric.hxx"
109 #endif
110 
111 #endif
SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet > Superclass
void GetDerivative(const TransformParametersType &parameters, DerivativeType &Derivative) const
FixedPointSetType::PointsContainer::ConstIterator PointIterator
MeasureType GetValue(const TransformParametersType &parameters) const
TransformType::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
FixedPointSetType::PointDataContainer::ConstIterator PointDataIterator
Computes the Euclidean distance between a moving point-set and a fixed point-set. Correspondence is n...
void GetValueAndDerivative(const TransformParametersType &parameters, MeasureType &Value, DerivativeType &Derivative) const
AdvancedTransform< CoordinateRepresentationType, itkGetStaticConstMacro(FixedPointSetDimension), itkGetStaticConstMacro(MovingPointSetDimension) > TransformType


Generated on 04-09-2015 for elastix by doxygen 1.8.9.1 elastix logo