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 
23 namespace itk
24 {
25 
33 template< class TFixedImage, class TScalarType >
35  public TransformPenaltyTerm< TFixedImage, TScalarType >
36 {
37 public:
38 
41  typedef TransformPenaltyTerm<
42  TFixedImage, TScalarType > Superclass;
44  typedef SmartPointer< const Self > ConstPointer;
45 
47  itkNewMacro( Self );
48 
51 
70  typedef typename Superclass::RealType RealType;
88 
91  typedef typename Superclass
94  typedef typename Superclass
97 
99  itkStaticConstMacro( FixedImageDimension, unsigned int, FixedImageType::ImageDimension );
100 
104  virtual MeasureType GetValue( const ParametersType & parameters ) const;
105 
108  virtual void GetDerivative( const ParametersType & parameters,
109  DerivativeType & derivative ) const;
110 
115  virtual void GetValueAndDerivative(
116  const ParametersType & parameters,
117  MeasureType & value,
118  DerivativeType & derivative ) const;
119 
120 protected:
121 
130 
133 
136 
140 private:
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
itk::TransformPenaltyTerm::FixedImageIndexType
Superclass::FixedImageIndexType FixedImageIndexType
Definition: itkTransformPenaltyTerm.h:125
itk::TransformPenaltyTerm::FixedImageMaskType
Superclass::FixedImageMaskType FixedImageMaskType
Definition: itkTransformPenaltyTerm.h:85
itk::DisplacementMagnitudePenaltyTerm::OutputPointType
Superclass::OutputPointType OutputPointType
Definition: itkDisplacementMagnitudePenaltyTerm.h:65
itk::DisplacementMagnitudePenaltyTerm::FixedImageIndexValueType
Superclass::FixedImageIndexValueType FixedImageIndexValueType
Definition: itkDisplacementMagnitudePenaltyTerm.h:124
itk::TransformPenaltyTerm::RealType
Superclass::RealType RealType
Definition: itkTransformPenaltyTerm.h:79
itk::DisplacementMagnitudePenaltyTerm::MeasureType
Superclass::MeasureType MeasureType
Definition: itkDisplacementMagnitudePenaltyTerm.h:80
itk::TransformPenaltyTerm::TransformType
Superclass::AdvancedTransformType TransformType
Definition: itkTransformPenaltyTerm.h:112
itk::TransformPenaltyTerm::TransformParametersType
Superclass::TransformParametersType TransformParametersType
Definition: itkTransformPenaltyTerm.h:75
itk::DisplacementMagnitudePenaltyTerm::GetDerivative
virtual void GetDerivative(const ParametersType &parameters, DerivativeType &derivative) const
itk::DisplacementMagnitudePenaltyTerm::SpatialJacobianType
Superclass::SpatialJacobianType SpatialJacobianType
Definition: itkDisplacementMagnitudePenaltyTerm.h:90
itk::TransformPenaltyTerm::SpatialJacobianType
TransformType::SpatialJacobianType SpatialJacobianType
Definition: itkTransformPenaltyTerm.h:113
itk::TransformPenaltyTerm::MovingImageConstPointer
Superclass::MovingImageConstPointer MovingImageConstPointer
Definition: itkTransformPenaltyTerm.h:65
itk::DisplacementMagnitudePenaltyTerm::CoordinateRepresentationType
Superclass::CoordinateRepresentationType CoordinateRepresentationType
Definition: itkDisplacementMagnitudePenaltyTerm.h:50
itk::TransformPenaltyTerm::FixedImageConstPointer
Superclass::FixedImageConstPointer FixedImageConstPointer
Definition: itkTransformPenaltyTerm.h:68
itk::DisplacementMagnitudePenaltyTerm::SpatialHessianType
Superclass::SpatialHessianType SpatialHessianType
Definition: itkDisplacementMagnitudePenaltyTerm.h:93
itk::TransformPenaltyTerm::GradientImageFilterPointer
Superclass::GradientImageFilterPointer GradientImageFilterPointer
Definition: itkTransformPenaltyTerm.h:84
SmartPointer< Self >
itk::AdvancedImageToImageMetric
An extension of the ITK ImageToImageMetric. It is the intended base class for all elastix metrics.
Definition: itkAdvancedImageToImageMetric.h:81
itk::TransformPenaltyTerm::NonZeroJacobianIndicesType
Superclass::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
Definition: itkTransformPenaltyTerm.h:131
itk::DisplacementMagnitudePenaltyTerm::FixedImageType
Superclass::FixedImageType FixedImageType
Definition: itkDisplacementMagnitudePenaltyTerm.h:58
itkTransformPenaltyTerm.h
itk::AdvancedImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::FixedImageType >::DerivativeType
Superclass::DerivativeType DerivativeType
Definition: itkAdvancedImageToImageMetric.h:128
itk::TransformPenaltyTerm::TransformJacobianType
Superclass::TransformJacobianType TransformJacobianType
Definition: itkTransformPenaltyTerm.h:76
itk::TransformPenaltyTerm::MovingImageMaskPointer
Superclass::MovingImageMaskPointer MovingImageMaskPointer
Definition: itkTransformPenaltyTerm.h:88
itk::TransformPenaltyTerm::JacobianOfSpatialJacobianType
TransformType::JacobianOfSpatialJacobianType JacobianOfSpatialJacobianType
Definition: itkTransformPenaltyTerm.h:114
itk::DisplacementMagnitudePenaltyTerm::MovingImagePointType
Superclass::MovingImagePointType MovingImagePointType
Definition: itkDisplacementMagnitudePenaltyTerm.h:127
itk::TransformPenaltyTerm::MovingImageContinuousIndexType
Superclass::MovingImageContinuousIndexType MovingImageContinuousIndexType
Definition: itkTransformPenaltyTerm.h:130
itk::DisplacementMagnitudePenaltyTerm::MovingImageIndexType
Superclass::MovingImageIndexType MovingImageIndexType
Definition: itkDisplacementMagnitudePenaltyTerm.h:125
itk::DisplacementMagnitudePenaltyTerm::FixedImageRegionType
Superclass::FixedImageRegionType FixedImageRegionType
Definition: itkDisplacementMagnitudePenaltyTerm.h:61
itk::DisplacementMagnitudePenaltyTerm::JacobianOfSpatialJacobianType
Superclass ::JacobianOfSpatialJacobianType JacobianOfSpatialJacobianType
Definition: itkDisplacementMagnitudePenaltyTerm.h:92
itk::TransformPenaltyTerm::SpatialHessianType
TransformType::SpatialHessianType SpatialHessianType
Definition: itkTransformPenaltyTerm.h:115
itk::DisplacementMagnitudePenaltyTerm::FixedImagePointType
Superclass::FixedImagePointType FixedImagePointType
Definition: itkDisplacementMagnitudePenaltyTerm.h:126
itk::DisplacementMagnitudePenaltyTerm::MovingImageContinuousIndexType
Superclass::MovingImageContinuousIndexType MovingImageContinuousIndexType
Definition: itkDisplacementMagnitudePenaltyTerm.h:128
itk::TransformPenaltyTerm::MeasureType
Superclass::MeasureType MeasureType
Definition: itkTransformPenaltyTerm.h:89
itk::DisplacementMagnitudePenaltyTerm::MovingImageMaskType
Superclass::MovingImageMaskType MovingImageMaskType
Definition: itkDisplacementMagnitudePenaltyTerm.h:78
itk::DisplacementMagnitudePenaltyTerm::FixedImagePointer
Superclass::FixedImagePointer FixedImagePointer
Definition: itkDisplacementMagnitudePenaltyTerm.h:59
itk::DisplacementMagnitudePenaltyTerm::DisplacementMagnitudePenaltyTerm
DisplacementMagnitudePenaltyTerm(const Self &)
itk::TransformPenaltyTerm::InternalMatrixType
TransformType::InternalMatrixType InternalMatrixType
Definition: itkTransformPenaltyTerm.h:117
itk::DisplacementMagnitudePenaltyTerm::TransformParametersType
Superclass::TransformParametersType TransformParametersType
Definition: itkDisplacementMagnitudePenaltyTerm.h:66
itk::DisplacementMagnitudePenaltyTerm::GradientImagePointer
Superclass::GradientImagePointer GradientImagePointer
Definition: itkDisplacementMagnitudePenaltyTerm.h:73
itk::DisplacementMagnitudePenaltyTerm::InterpolatorPointer
Superclass::InterpolatorPointer InterpolatorPointer
Definition: itkDisplacementMagnitudePenaltyTerm.h:69
itk::DisplacementMagnitudePenaltyTerm::~DisplacementMagnitudePenaltyTerm
virtual ~DisplacementMagnitudePenaltyTerm()
Definition: itkDisplacementMagnitudePenaltyTerm.h:135
itk::DisplacementMagnitudePenaltyTerm::GetValueAndDerivative
virtual void GetValueAndDerivative(const ParametersType &parameters, MeasureType &value, DerivativeType &derivative) const
itk::DisplacementMagnitudePenaltyTerm::GradientPixelType
Superclass::GradientPixelType GradientPixelType
Definition: itkDisplacementMagnitudePenaltyTerm.h:71
itk::TransformPenaltyTerm::MovingImagePointer
Superclass::MovingImagePointer MovingImagePointer
Definition: itkTransformPenaltyTerm.h:64
itk::AdvancedImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::FixedImageType >::ParametersType
Superclass::ParametersType ParametersType
Definition: itkAdvancedImageToImageMetric.h:130
itk::DisplacementMagnitudePenaltyTerm::ImageSampleContainerType
Superclass::ImageSampleContainerType ImageSampleContainerType
Definition: itkDisplacementMagnitudePenaltyTerm.h:85
itk::DisplacementMagnitudePenaltyTerm::InterpolatorType
Superclass::InterpolatorType InterpolatorType
Definition: itkDisplacementMagnitudePenaltyTerm.h:68
itk::DisplacementMagnitudePenaltyTerm::operator=
void operator=(const Self &)
itk::DisplacementMagnitudePenaltyTerm::RealType
Superclass::RealType RealType
Definition: itkDisplacementMagnitudePenaltyTerm.h:70
itk::DisplacementMagnitudePenaltyTerm::GradientImageFilterPointer
Superclass::GradientImageFilterPointer GradientImageFilterPointer
Definition: itkDisplacementMagnitudePenaltyTerm.h:75
itk::DisplacementMagnitudePenaltyTerm::ImageSampleContainerPointer
Superclass::ImageSampleContainerPointer ImageSampleContainerPointer
Definition: itkDisplacementMagnitudePenaltyTerm.h:86
itk::DisplacementMagnitudePenaltyTerm::itkStaticConstMacro
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
itk::DisplacementMagnitudePenaltyTerm::NonZeroJacobianIndicesType
Superclass::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
Definition: itkDisplacementMagnitudePenaltyTerm.h:129
itk::DisplacementMagnitudePenaltyTerm::InputPointType
Superclass::InputPointType InputPointType
Definition: itkDisplacementMagnitudePenaltyTerm.h:64
itk::TransformPenaltyTerm::InterpolatorType
Superclass::InterpolatorType InterpolatorType
Definition: itkTransformPenaltyTerm.h:77
itk::TransformPenaltyTerm::FixedImageIndexValueType
Superclass::FixedImageIndexValueType FixedImageIndexValueType
Definition: itkTransformPenaltyTerm.h:126
itk::TransformPenaltyTerm::MovingImagePointType
Superclass::MovingImagePointType MovingImagePointType
Definition: itkTransformPenaltyTerm.h:129
itk::DisplacementMagnitudePenaltyTerm::Superclass
TransformPenaltyTerm< TFixedImage, TScalarType > Superclass
Definition: itkDisplacementMagnitudePenaltyTerm.h:42
itk::DisplacementMagnitudePenaltyTerm::DerivativeValueType
Superclass::DerivativeValueType DerivativeValueType
Definition: itkDisplacementMagnitudePenaltyTerm.h:82
itk::TransformPenaltyTerm::GradientImageType
Superclass::GradientImageType GradientImageType
Definition: itkTransformPenaltyTerm.h:81
itk::TransformPenaltyTerm::DerivativeValueType
Superclass::DerivativeValueType DerivativeValueType
Definition: itkTransformPenaltyTerm.h:91
itk::TransformPenaltyTerm::FixedImageRegionType
Superclass::FixedImageRegionType FixedImageRegionType
Definition: itkTransformPenaltyTerm.h:69
itk::TransformPenaltyTerm::MovingImagePixelType
Superclass::MovingImagePixelType MovingImagePixelType
Definition: itkTransformPenaltyTerm.h:63
itk::DisplacementMagnitudePenaltyTerm::Self
DisplacementMagnitudePenaltyTerm Self
Definition: itkDisplacementMagnitudePenaltyTerm.h:40
itk::DisplacementMagnitudePenaltyTerm::MovingImageType
Superclass::MovingImageType MovingImageType
Definition: itkDisplacementMagnitudePenaltyTerm.h:54
itk::DisplacementMagnitudePenaltyTerm
A cost function that calculates .
Definition: itkDisplacementMagnitudePenaltyTerm.h:36
itk::DisplacementMagnitudePenaltyTerm::DerivativeType
Superclass::DerivativeType DerivativeType
Definition: itkDisplacementMagnitudePenaltyTerm.h:81
itk::TransformPenaltyTerm
A cost function that calculates a penalty term on a transformation.
Definition: itkTransformPenaltyTerm.h:47
itk::TransformPenaltyTerm::InputPointType
Superclass::InputPointType InputPointType
Definition: itkTransformPenaltyTerm.h:73
itk::TransformPenaltyTerm::ParametersType
Superclass::ParametersType ParametersType
Definition: itkTransformPenaltyTerm.h:92
itk::DisplacementMagnitudePenaltyTerm::DisplacementMagnitudePenaltyTerm
DisplacementMagnitudePenaltyTerm()
itk::DisplacementMagnitudePenaltyTerm::GradientImageType
Superclass::GradientImageType GradientImageType
Definition: itkDisplacementMagnitudePenaltyTerm.h:72
itk::TransformPenaltyTerm::FixedImageMaskPointer
Superclass::FixedImageMaskPointer FixedImageMaskPointer
Definition: itkTransformPenaltyTerm.h:86
itk::TransformPenaltyTerm::FixedImagePixelType
Superclass::FixedImagePixelType FixedImagePixelType
Definition: itkTransformPenaltyTerm.h:93
itk::DisplacementMagnitudePenaltyTerm::MovingImagePointer
Superclass::MovingImagePointer MovingImagePointer
Definition: itkDisplacementMagnitudePenaltyTerm.h:56
itk::DisplacementMagnitudePenaltyTerm::MovingImageConstPointer
Superclass::MovingImageConstPointer MovingImageConstPointer
Definition: itkDisplacementMagnitudePenaltyTerm.h:57
itk::TransformPenaltyTerm::FixedImagePointer
Superclass::FixedImagePointer FixedImagePointer
Definition: itkTransformPenaltyTerm.h:67
itk::TransformPenaltyTerm::JacobianOfSpatialHessianType
TransformType::JacobianOfSpatialHessianType JacobianOfSpatialHessianType
Definition: itkTransformPenaltyTerm.h:116
itk::DisplacementMagnitudePenaltyTerm::GradientImageFilterType
Superclass::GradientImageFilterType GradientImageFilterType
Definition: itkDisplacementMagnitudePenaltyTerm.h:74
itk::DisplacementMagnitudePenaltyTerm::InternalMatrixType
Superclass::InternalMatrixType InternalMatrixType
Definition: itkDisplacementMagnitudePenaltyTerm.h:96
itk::TransformPenaltyTerm::GradientImagePointer
Superclass::GradientImagePointer GradientImagePointer
Definition: itkTransformPenaltyTerm.h:82
itk::DisplacementMagnitudePenaltyTerm::ScalarType
Superclass::ScalarType ScalarType
Definition: itkDisplacementMagnitudePenaltyTerm.h:87
itk::TransformPenaltyTerm::FixedImagePointType
Superclass::FixedImagePointType FixedImagePointType
Definition: itkTransformPenaltyTerm.h:128
itk::TransformPenaltyTerm::GradientImageFilterType
Superclass::GradientImageFilterType GradientImageFilterType
Definition: itkTransformPenaltyTerm.h:83
itk::TransformPenaltyTerm::DerivativeType
Superclass::DerivativeType DerivativeType
Definition: itkTransformPenaltyTerm.h:90
itk::DisplacementMagnitudePenaltyTerm::GetValue
virtual MeasureType GetValue(const ParametersType &parameters) const
itk::DisplacementMagnitudePenaltyTerm::JacobianOfSpatialHessianType
Superclass ::JacobianOfSpatialHessianType JacobianOfSpatialHessianType
Definition: itkDisplacementMagnitudePenaltyTerm.h:95
itk::TransformPenaltyTerm::InterpolatorPointer
Superclass::InterpolatorPointer InterpolatorPointer
Definition: itkTransformPenaltyTerm.h:78
itk::AdvancedImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::FixedImageType >::MeasureType
Superclass::MeasureType MeasureType
Definition: itkAdvancedImageToImageMetric.h:127
itk::TransformPenaltyTerm::ScalarType
TScalarType ScalarType
Definition: itkTransformPenaltyTerm.h:109
itk
Definition: itkAdvancedImageToImageMetric.h:40
itk::DisplacementMagnitudePenaltyTerm::FixedImagePixelType
Superclass::FixedImagePixelType FixedImagePixelType
Definition: itkDisplacementMagnitudePenaltyTerm.h:84
itk::DisplacementMagnitudePenaltyTerm::FixedImageConstPointer
Superclass::FixedImageConstPointer FixedImageConstPointer
Definition: itkDisplacementMagnitudePenaltyTerm.h:60
itk::TransformPenaltyTerm::ImageSampleContainerType
Superclass::ImageSampleContainerType ImageSampleContainerType
Definition: itkTransformPenaltyTerm.h:94
itk::TransformPenaltyTerm::MovingImageMaskType
Superclass::MovingImageMaskType MovingImageMaskType
Definition: itkTransformPenaltyTerm.h:87
itk::DisplacementMagnitudePenaltyTerm::TransformJacobianType
Superclass::TransformJacobianType TransformJacobianType
Definition: itkDisplacementMagnitudePenaltyTerm.h:67
itk::DisplacementMagnitudePenaltyTerm::FixedImageMaskType
Superclass::FixedImageMaskType FixedImageMaskType
Definition: itkDisplacementMagnitudePenaltyTerm.h:76
itk::TransformPenaltyTerm::ImageSampleContainerPointer
Superclass::ImageSampleContainerPointer ImageSampleContainerPointer
Definition: itkTransformPenaltyTerm.h:95
itk::TransformPenaltyTerm::CoordinateRepresentationType
Superclass::CoordinateRepresentationType CoordinateRepresentationType
Definition: itkTransformPenaltyTerm.h:58
itk::DisplacementMagnitudePenaltyTerm::FixedImageIndexType
Superclass::FixedImageIndexType FixedImageIndexType
Definition: itkDisplacementMagnitudePenaltyTerm.h:123
itk::TransformPenaltyTerm::MovingImageType
Superclass::MovingImageType MovingImageType
Definition: itkTransformPenaltyTerm.h:62
TScalarType
itk::DisplacementMagnitudePenaltyTerm::TransformPointer
Superclass::TransformPointer TransformPointer
Definition: itkDisplacementMagnitudePenaltyTerm.h:63
itk::DisplacementMagnitudePenaltyTerm::FixedImageMaskPointer
Superclass::FixedImageMaskPointer FixedImageMaskPointer
Definition: itkDisplacementMagnitudePenaltyTerm.h:77
itk::TransformPenaltyTerm::GradientPixelType
Superclass::GradientPixelType GradientPixelType
Definition: itkTransformPenaltyTerm.h:80
itk::TransformPenaltyTerm::FixedImageType
Superclass::FixedImageType FixedImageType
Definition: itkTransformPenaltyTerm.h:66
itk::AdvancedImageToImageMetric< TFixedImage, TFixedImage >::TransformPointer
Superclass::TransformPointer TransformPointer
Definition: itkAdvancedImageToImageMetric.h:110
itk::DisplacementMagnitudePenaltyTerm::Pointer
SmartPointer< Self > Pointer
Definition: itkDisplacementMagnitudePenaltyTerm.h:43
itk::DisplacementMagnitudePenaltyTerm::MovingImageMaskPointer
Superclass::MovingImageMaskPointer MovingImageMaskPointer
Definition: itkDisplacementMagnitudePenaltyTerm.h:79
itk::TransformPenaltyTerm::MovingImageIndexType
Superclass::MovingImageIndexType MovingImageIndexType
Definition: itkTransformPenaltyTerm.h:127
itk::DisplacementMagnitudePenaltyTerm::MovingImagePixelType
Superclass::MovingImagePixelType MovingImagePixelType
Definition: itkDisplacementMagnitudePenaltyTerm.h:55
itk::DisplacementMagnitudePenaltyTerm::ConstPointer
SmartPointer< const Self > ConstPointer
Definition: itkDisplacementMagnitudePenaltyTerm.h:44
itk::DisplacementMagnitudePenaltyTerm::TransformType
Superclass::TransformType TransformType
Definition: itkDisplacementMagnitudePenaltyTerm.h:62
itk::TransformPenaltyTerm::OutputPointType
Superclass::OutputPointType OutputPointType
Definition: itkTransformPenaltyTerm.h:74
itk::DisplacementMagnitudePenaltyTerm::ParametersType
Superclass::ParametersType ParametersType
Definition: itkDisplacementMagnitudePenaltyTerm.h:83


Generated on OURCE_DATE_EPOCH for elastix by doxygen 1.8.18 elastix logo