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  This file is part of the elastix software.
4 
5  Copyright (c) University Medical Center Utrecht. All rights reserved.
6  See src/CopyrightElastix.txt or http://elastix.isi.uu.nl/legal.php for
7  details.
8 
9  This software is distributed WITHOUT ANY WARRANTY; without even
10  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11  PURPOSE. See the above copyright notices for more information.
12 
13 ======================================================================*/
14 #ifndef __itkDisplacementMagnitudePenaltyTerm_h
15 #define __itkDisplacementMagnitudePenaltyTerm_h
16 
18 
19 namespace itk
20 {
21 
29 template< class TFixedImage, class TScalarType >
31  : public TransformPenaltyTerm< TFixedImage, TScalarType >
32 {
33 public:
34 
37  typedef TransformPenaltyTerm<
38  TFixedImage, TScalarType > Superclass;
39  typedef SmartPointer<Self> Pointer;
40  typedef SmartPointer<const Self> ConstPointer;
41 
43  itkNewMacro( Self );
44 
47 
66  typedef typename Superclass::RealType RealType;
84 
87  typedef typename Superclass
90  typedef typename Superclass
93 
95  itkStaticConstMacro( FixedImageDimension, unsigned int, FixedImageType::ImageDimension );
96 
100  virtual MeasureType GetValue( const ParametersType & parameters ) const;
101 
104  virtual void GetDerivative( const ParametersType & parameters,
105  DerivativeType & derivative ) const;
106 
111  virtual void GetValueAndDerivative(
112  const ParametersType & parameters,
113  MeasureType & value,
114  DerivativeType & derivative ) const;
115 
116 protected:
117 
126 
129 
132 
136 private:
137 
139  DisplacementMagnitudePenaltyTerm( const Self& ); // purposely not implemented
141  void operator=( const Self& ); // purposely not implemented
142 
143 }; // end class DisplacementMagnitudePenaltyTerm
144 
145 
146 } // end namespace itk
147 
148 #ifndef ITK_MANUAL_INSTANTIATION
149 #include "itkDisplacementMagnitudePenaltyTerm.txx"
150 #endif
151 
152 #endif // #ifndef __itkDisplacementMagnitudePenaltyTerm_h
153 
A cost function that calculates a penalty term on a transformation.
Superclass::DerivativeValueType DerivativeValueType
Superclass::MovingImageIndexType MovingImageIndexType
Superclass::FixedImageConstPointer FixedImageConstPointer
Superclass::FixedImageIndexValueType FixedImageIndexValueType
Superclass::FixedImagePixelType FixedImagePixelType
Superclass::CoordinateRepresentationType CoordinateRepresentationType
Superclass::TransformParametersType TransformParametersType
Superclass::MovingImageConstPointer MovingImageConstPointer
Superclass::GradientImageType GradientImageType
Superclass::MovingImageContinuousIndexType MovingImageContinuousIndexType
Superclass::MeasureType MeasureType
Superclass::FixedImageIndexValueType FixedImageIndexValueType
An extension of the ITK ImageToImageMetric. It is the intended base class for all elastix metrics...
Superclass::MovingImageType MovingImageType
Superclass::FixedImageMaskPointer FixedImageMaskPointer
Superclass::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
Superclass::JacobianOfSpatialHessianType JacobianOfSpatialHessianType
Superclass::InterpolatorType InterpolatorType
Superclass::ImageSampleContainerPointer ImageSampleContainerPointer
Superclass::MovingImageContinuousIndexType MovingImageContinuousIndexType
Superclass::ImageSampleContainerPointer ImageSampleContainerPointer
virtual void GetDerivative(const ParametersType &parameters, DerivativeType &derivative) const
Superclass::InputPointType InputPointType
Superclass::FixedImageRegionType FixedImageRegionType
Superclass::MovingImageMaskPointer MovingImageMaskPointer
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
TransformType::JacobianOfSpatialJacobianType JacobianOfSpatialJacobianType
TransformPenaltyTerm< TFixedImage, TScalarType > Superclass
Superclass::FixedImageMaskPointer FixedImageMaskPointer
Superclass::TransformParametersType TransformParametersType
virtual MeasureType GetValue(const ParametersType &parameters) const
Superclass::TransformJacobianType TransformJacobianType
virtual void GetValueAndDerivative(const ParametersType &parameters, MeasureType &value, DerivativeType &derivative) const
Superclass::ImageSampleContainerType ImageSampleContainerType
Superclass::FixedImageMaskType FixedImageMaskType
Superclass::GradientImageFilterType GradientImageFilterType
Superclass::FixedImageIndexType FixedImageIndexType
Superclass::GradientImageFilterPointer GradientImageFilterPointer
Superclass::CoordinateRepresentationType CoordinateRepresentationType
Superclass::FixedImagePointType FixedImagePointType
Superclass::FixedImageType FixedImageType
Superclass::TransformJacobianType TransformJacobianType
Superclass::GradientImagePointer GradientImagePointer
Superclass::MovingImagePixelType MovingImagePixelType
TransformType::JacobianOfSpatialHessianType JacobianOfSpatialHessianType
Superclass::JacobianOfSpatialJacobianType JacobianOfSpatialJacobianType
Superclass::GradientImageFilterType GradientImageFilterType
Superclass::InterpolatorPointer InterpolatorPointer
Superclass::GradientImageFilterPointer GradientImageFilterPointer
Superclass::MovingImageConstPointer MovingImageConstPointer
Superclass::ParametersType ParametersType
Superclass::OutputPointType OutputPointType
TransformType::SpatialJacobianType SpatialJacobianType
TransformType::InternalMatrixType InternalMatrixType
Superclass::FixedImagePointer FixedImagePointer
Superclass::DerivativeType DerivativeType
TransformType::SpatialHessianType SpatialHessianType
Superclass::GradientPixelType GradientPixelType
Superclass::MovingImagePointer MovingImagePointer
Superclass::AdvancedTransformType TransformType
Superclass::MovingImageMaskPointer MovingImageMaskPointer
Superclass::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
Superclass::ImageSampleContainerType ImageSampleContainerType
Superclass::MovingImagePointType MovingImagePointType
Superclass::MovingImageMaskType MovingImageMaskType
Superclass::FixedImageConstPointer FixedImageConstPointer


Generated on 05-12-2013 for elastix by doxygen 1.8.5 elastix logo