go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkTransformPenaltyTerm.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 __itkTransformPenaltyTerm_h
15 #define __itkTransformPenaltyTerm_h
16 
18 
19 // Needed for checking for B-spline for faster implementation
22 
23 namespace itk
24 {
40 template< class TFixedImage, class TScalarType = double >
42  public AdvancedImageToImageMetric< TFixedImage, TFixedImage >
43 {
44 public:
45 
49  TFixedImage, TFixedImage > Superclass;
50  typedef SmartPointer< Self > Pointer;
51  typedef SmartPointer< const Self > ConstPointer;
52 
55 
66  // these not: use advanced transform below
67  //typedef typename Superclass::TransformType TransformType;
68  //typedef typename Superclass::TransformPointer TransformPointer;
75  typedef typename Superclass::RealType RealType;
94 
96  typedef TScalarType ScalarType; // \todo: not really meaningful name.
97 
99  typedef typename Superclass
101  typedef typename TransformType
103  typedef typename TransformType
105  typedef typename TransformType
107  typedef typename TransformType
109  typedef typename TransformType
111 
113  itkStaticConstMacro( FixedImageDimension, unsigned int, FixedImageType::ImageDimension );
114 
115 protected:
116 
125 
128 
131 
133  //void PrintSelf( std::ostream& os, Indent indent ) const;
134 
137  ScalarType, FixedImageDimension, 3 > BSplineTransformType;
140  ScalarType, FixedImageDimension > CombinationTransformType;
141 
143  virtual bool CheckForBSplineTransform( BSplineTransformPointer & bspline ) const;
144 
145 private:
146 
148  TransformPenaltyTerm( const Self & ); // purposely not implemented
150  void operator=( const Self & ); // purposely not implemented
151 
152 };
153 
154 } // end namespace itk
155 
156 #ifndef ITK_MANUAL_INSTANTIATION
157 #include "itkTransformPenaltyTerm.hxx"
158 #endif
159 
160 #endif // #ifndef __itkTransformPenaltyTerm_h
A cost function that calculates a penalty term on a transformation.
This class combines two transforms: an 'initial transform' with a 'current transform'.
Superclass::DerivativeValueType DerivativeValueType
Superclass::MovingImageIndexType MovingImageIndexType
Matrix< ScalarType, OutputSpaceDimension, InputSpaceDimension > SpatialJacobianType
AdvancedTransform< ScalarType, FixedImageDimension, MovingImageDimension > AdvancedTransformType
AdvancedCombinationTransform< ScalarType, FixedImageDimension > CombinationTransformType
Deformable transform using a B-spline representation.
Superclass::FixedImagePixelType FixedImagePixelType
Superclass::TransformParametersType TransformParametersType
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
BSplineTransformType::Pointer BSplineTransformPointer
Superclass::InterpolatorType InterpolatorType
ImageSamplerType::OutputVectorContainerType ImageSampleContainerType
SpatialJacobianType::InternalMatrixType InternalMatrixType
AdvancedImageToImageMetric< TFixedImage, TFixedImage > Superclass
Superclass::ImageSampleContainerPointer ImageSampleContainerPointer
void operator=(const Self &)
Superclass::InputPointType InputPointType
Superclass::FixedImageRegionType FixedImageRegionType
AdvancedTransformType::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
TransformType::JacobianOfSpatialJacobianType JacobianOfSpatialJacobianType
Superclass::FixedImageMaskPointer FixedImageMaskPointer
Superclass::TransformJacobianType TransformJacobianType
Superclass::ImageSampleContainerType ImageSampleContainerType
Superclass::FixedImageMaskType FixedImageMaskType
Superclass::FixedImageIndexType FixedImageIndexType
Superclass::CoordinateRepresentationType CoordinateRepresentationType
Superclass::FixedImagePointType FixedImagePointType
Superclass::FixedImageType FixedImageType
Superclass::GradientImagePointer GradientImagePointer
Superclass::MovingImagePixelType MovingImagePixelType
TransformType::JacobianOfSpatialHessianType JacobianOfSpatialHessianType
Superclass::GradientImageFilterType GradientImageFilterType
Superclass::InterpolatorPointer InterpolatorPointer
Superclass::GradientImageFilterPointer GradientImageFilterPointer
SmartPointer< const Self > ConstPointer
Superclass::MovingImageConstPointer MovingImageConstPointer
Superclass::ParametersType ParametersType
Superclass::OutputPointType OutputPointType
TransformType::SpatialJacobianType SpatialJacobianType
TransformType::InternalMatrixType InternalMatrixType
Superclass::FixedImagePointer FixedImagePointer
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
Superclass::DerivativeType DerivativeType
TransformType::SpatialHessianType SpatialHessianType
Superclass::GradientPixelType GradientPixelType
Superclass::MovingImagePointer MovingImagePointer
Superclass::AdvancedTransformType TransformType
Superclass::ThreadInfoType ThreadInfoType
std::vector< SpatialJacobianType > JacobianOfSpatialJacobianType
Superclass::MovingImageMaskPointer MovingImageMaskPointer
std::vector< SpatialHessianType > JacobianOfSpatialHessianType
Superclass::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
ImageSamplerType::OutputVectorContainerPointer ImageSampleContainerPointer
Superclass::ThreaderType ThreaderType
Superclass::MovingImagePointType MovingImagePointType
FixedArray< Matrix< ScalarType, InputSpaceDimension, InputSpaceDimension >, OutputSpaceDimension > SpatialHessianType
Superclass::MovingImageMaskType MovingImageMaskType
AdvancedBSplineDeformableTransform< ScalarType, FixedImageDimension, 3 > BSplineTransformType
Superclass::FixedImageConstPointer FixedImageConstPointer


Generated on 11-03-2014 for elastix by doxygen 1.8.6 elastix logo