go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkDisplacementMagnitudePenaltyTerm.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 __itkDisplacementMagnitudePenaltyTerm_h
19#define __itkDisplacementMagnitudePenaltyTerm_h
20
22
23namespace itk
24{
25
33template< class TFixedImage, class TScalarType >
35 public TransformPenaltyTerm< TFixedImage, TScalarType >
36{
37public:
38
42 TFixedImage, TScalarType > Superclass;
44 typedef SmartPointer< const Self > ConstPointer;
45
47 itkNewMacro( Self );
48
51
88
91 typedef typename Superclass
94 typedef typename Superclass
97
99 itkStaticConstMacro( FixedImageDimension, unsigned int, FixedImageType::ImageDimension );
100
104 MeasureType GetValue( const ParametersType & parameters ) const override;
105
108 void GetDerivative( const ParametersType & parameters,
109 DerivativeType & derivative ) const override;
110
116 const ParametersType & parameters,
117 MeasureType & value,
118 DerivativeType & derivative ) const override;
119
120protected:
121
130
133
136
140private:
141
143 DisplacementMagnitudePenaltyTerm( const Self & ); // purposely not implemented
145 void operator=( const Self & ); // purposely not implemented
146
147};
148
149} // end namespace itk
150
151#ifndef ITK_MANUAL_INSTANTIATION
152#include "itkDisplacementMagnitudePenaltyTerm.hxx"
153#endif
154
155#endif // #ifndef __itkDisplacementMagnitudePenaltyTerm_h
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
Superclass::TransformParametersType TransformParametersType
Superclass::MovingImageContinuousIndexType MovingImageContinuousIndexType
Superclass::TransformJacobianType TransformJacobianType
Superclass::MovingImageMaskPointer MovingImageMaskPointer
Superclass::ImageSampleContainerType ImageSampleContainerType
Superclass::CoordinateRepresentationType CoordinateRepresentationType
Superclass::ImageSampleContainerPointer ImageSampleContainerPointer
Superclass::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
MeasureType GetValue(const ParametersType &parameters) const override
void GetDerivative(const ParametersType &parameters, DerivativeType &derivative) const override
Superclass::GradientImageFilterPointer GradientImageFilterPointer
Superclass::GradientImageFilterType GradientImageFilterType
Superclass::FixedImageIndexValueType FixedImageIndexValueType
Superclass::JacobianOfSpatialHessianType JacobianOfSpatialHessianType
TransformPenaltyTerm< TFixedImage, TScalarType > Superclass
Superclass::FixedImageMaskPointer FixedImageMaskPointer
Superclass::FixedImageConstPointer FixedImageConstPointer
void GetValueAndDerivative(const ParametersType &parameters, MeasureType &value, DerivativeType &derivative) const override
Superclass::JacobianOfSpatialJacobianType JacobianOfSpatialJacobianType
Superclass::MovingImageConstPointer MovingImageConstPointer
A cost function that calculates a penalty term on a transformation.
Superclass::FixedImageType FixedImageType
Superclass::TransformParametersType TransformParametersType
Superclass::ImageSampleContainerType ImageSampleContainerType
Superclass::MovingImageContinuousIndexType MovingImageContinuousIndexType
Superclass::FixedImageIndexValueType FixedImageIndexValueType
TransformType::JacobianOfSpatialHessianType JacobianOfSpatialHessianType
Superclass::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
Superclass::ImageSampleContainerPointer ImageSampleContainerPointer
Superclass::GradientImageFilterType GradientImageFilterType
Superclass::MovingImagePixelType MovingImagePixelType
Superclass::MovingImageConstPointer MovingImageConstPointer
TransformType::JacobianOfSpatialJacobianType JacobianOfSpatialJacobianType
Superclass::CoordinateRepresentationType CoordinateRepresentationType
Superclass::GradientImageFilterPointer GradientImageFilterPointer


Generated on 1667476801 for elastix by doxygen 1.9.4 elastix logo