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
26namespace itk
27{
28
38template< class TFixedPointSet, class TMovingPointSet >
40 public SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet >
41{
42public:
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 override;
84
86 void GetDerivative( const TransformParametersType & parameters,
87 DerivativeType & Derivative ) const override;
88
91 MeasureType & Value, DerivativeType & Derivative ) const override;
92
93protected:
94
97
98private:
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
Computes the Euclidean distance between a moving point-set and a fixed point-set. Correspondence is n...
SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet > Superclass
void GetValueAndDerivative(const TransformParametersType &parameters, MeasureType &Value, DerivativeType &Derivative) const override
MeasureType GetValue(const TransformParametersType &parameters) const override
void GetDerivative(const TransformParametersType &parameters, DerivativeType &Derivative) const override
FixedPointSetType::PointDataContainer::ConstIterator PointDataIterator
TransformType::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
AdvancedTransform< CoordinateRepresentationType, itkGetStaticConstMacro(FixedPointSetDimension), itkGetStaticConstMacro(MovingPointSetDimension) > TransformType
FixedPointSetType::PointsContainer::ConstIterator PointIterator


Generated on 1667476801 for elastix by doxygen 1.9.4 elastix logo