![]() |
Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkThinPlateR2LogRSplineKernelTransform2.h,v $ 00005 Language: C++ 00006 Date: $Date: 2006/03/19 04:36:59 $ 00007 Version: $Revision: 1.7 $ 00008 00009 Copyright (c) Insight Software Consortium. All rights reserved. 00010 See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details. 00011 00012 This software is distributed WITHOUT ANY WARRANTY; without even 00013 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00014 PURPOSE. See the above copyright notices for more information. 00015 00016 =========================================================================*/ 00017 #ifndef __itkThinPlateR2LogRSplineKernelTransform2_h 00018 #define __itkThinPlateR2LogRSplineKernelTransform2_h 00019 00020 #include "itkKernelTransform2.h" 00021 00022 namespace itk 00023 { 00034 template <class TScalarType, // Data type for scalars (float or double) 00035 unsigned int NDimensions = 3> // Number of dimensions 00036 class ITK_EXPORT ThinPlateR2LogRSplineKernelTransform2 : 00037 public KernelTransform2< TScalarType, NDimensions> 00038 { 00039 public: 00041 typedef ThinPlateR2LogRSplineKernelTransform2 Self; 00042 typedef KernelTransform2< TScalarType, NDimensions> Superclass; 00043 typedef SmartPointer<Self> Pointer; 00044 typedef SmartPointer<const Self> ConstPointer; 00045 00047 itkNewMacro( Self ); 00048 00050 itkTypeMacro( ThinPlateR2LogRSplineKernelTransform2, KernelTransform2 ); 00051 00053 typedef typename Superclass::ScalarType ScalarType; 00054 00056 typedef typename Superclass::ParametersType ParametersType; 00057 00059 typedef typename Superclass::JacobianType JacobianType; 00060 00062 itkStaticConstMacro(SpaceDimension, unsigned int,Superclass::SpaceDimension); 00063 00066 typedef typename Superclass::InputPointType InputPointType; 00067 typedef typename Superclass::OutputPointType OutputPointType; 00068 typedef typename Superclass::InputVectorType InputVectorType; 00069 typedef typename Superclass::OutputVectorType OutputVectorType; 00070 typedef typename Superclass::InputCovariantVectorType InputCovariantVectorType; 00071 typedef typename Superclass::OutputCovariantVectorType OutputCovariantVectorType; 00072 typedef typename Superclass::PointsIterator PointsIterator; 00073 00074 00075 protected: 00076 ThinPlateR2LogRSplineKernelTransform2() 00077 { 00078 this->m_FastComputationPossible = true; 00079 }; 00080 virtual ~ThinPlateR2LogRSplineKernelTransform2() {} 00081 00084 typedef typename Superclass::GMatrixType GMatrixType; 00085 00094 void ComputeG(const InputVectorType & x, GMatrixType & GMatrix) const; 00095 00096 00099 virtual void ComputeDeformationContribution( const InputPointType & inputPoint, 00100 OutputPointType & result ) const; 00101 00102 private: 00103 ThinPlateR2LogRSplineKernelTransform2(const Self&); //purposely not implemented 00104 void operator=(const Self&); //purposely not implemented 00105 00106 }; 00107 00108 } // namespace itk 00109 00110 #ifndef ITK_MANUAL_INSTANTIATION 00111 #include "itkThinPlateR2LogRSplineKernelTransform2.txx" 00112 #endif 00113 00114 #endif // __itkThinPlateR2LogRSplineKernelTransform2_h
Generated on 11-05-2012 for elastix by ![]() |
![]() |