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
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
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 04-09-2015 for elastix by doxygen 1.8.9.1 elastix logo