go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxSplineKernelTransform.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 
15 #ifndef __elxSplineKernelTransform_H_
16 #define __elxSplineKernelTransform_H_
17 
18 #include "itkKernelTransform2.h"
24 #include "elxIncludes.h"
25 
26 namespace elastix
27 {
28 
111 template < class TElastix >
113  typename elx::TransformBase<TElastix>::CoordRepType,
114  elx::TransformBase<TElastix>::FixedImageDimension > ,
115  public elx::TransformBase<TElastix>
116 {
117 public:
118 
125 
129  typedef itk::KernelTransform2<
132  typedef itk::SmartPointer<Self> Pointer;
133  typedef itk::SmartPointer<const Self> ConstPointer;
134 
136  itkNewMacro( Self );
137 
140 
145  elxClassNameMacro( "SplineKernelTransform" );
146 
148  itkStaticConstMacro( SpaceDimension, unsigned int, Superclass2::FixedImageDimension );
149 
163 
176 
180  typedef typename PointSetType::Pointer PointSetPointer;
181 
186  virtual int BeforeAll( void );
187 
194  virtual void BeforeRegistration( void );
195 
197  virtual void ReadFromFile( void );
198 
200  virtual void WriteToFile( const ParametersType & param ) const;
201 
202 protected:
203 
208 
210  CoordRepType, itkGetStaticConstMacro(SpaceDimension) > TPKernelTransformType;
212  CoordRepType, itkGetStaticConstMacro(SpaceDimension) > TPRKernelTransformType;
214  CoordRepType, itkGetStaticConstMacro(SpaceDimension) > VKernelTransformType;
216  CoordRepType, itkGetStaticConstMacro(SpaceDimension) > EBKernelTransformType;
218  CoordRepType, itkGetStaticConstMacro(SpaceDimension) > EBRKernelTransformType;
219 
223  virtual bool SetKernelType( const std::string & kernelType );
224 
228  virtual void DetermineSourceLandmarks( void );
229 
234  virtual bool DetermineTargetLandmarks( void );
235 
237  virtual void ReadLandmarkFile(
238  const std::string & filename,
239  PointSetPointer & landmarkPointSet,
240  const bool & landmarksInFixedImage );
241 
244 
245 private:
246 
248  SplineKernelTransform( const Self& ); // purposely not implemented
250  void operator=( const Self& ); // purposely not implemented
251 
252  std::string m_SplineKernelType;
253 
254 }; // end class SplineKernelTransform
255 
256 
257 } // end namespace elastix
258 
259 #ifndef ITK_MANUAL_INSTANTIATION
260 #include "elxSplineKernelTransform.hxx"
261 #endif
262 
263 #endif // end #ifndef __elxSplineKernelTransform_H_
itkStaticConstMacro(SpaceDimension, unsigned int, Superclass2::FixedImageDimension)
This class combines two transforms: an &#39;initial transform&#39; with a &#39;current transform&#39;.
virtual void BeforeRegistration(void)
Superclass1::InputVnlVectorType InputVnlVectorType
Superclass::InputCovariantVectorType InputCovariantVectorType
Superclass1::OutputVnlVectorType OutputVnlVectorType
Superclass2::ElastixPointer ElastixPointer
Superclass::RegistrationPointer RegistrationPointer
virtual bool SetKernelType(const std::string &kernelType)
Superclass::OutputCovariantVectorType OutputCovariantVectorType
Superclass1::JacobianType JacobianType
Superclass1::OutputVectorType OutputVectorType
Superclass2::RegistrationPointer RegistrationPointer
itk::KernelTransform2< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension > KernelTransformType
Superclass1::NumberOfParametersType NumberOfParametersType
Superclass1::InputVectorType InputVectorType
Superclass1::InputCovariantVectorType InputCovariantVectorType
Superclass2::CombinationTransformType CombinationTransformType
Superclass2::RegistrationType RegistrationType
virtual void ReadLandmarkFile(const std::string &filename, PointSetPointer &landmarkPointSet, const bool &landmarksInFixedImage)
PointSet< InputPointType, NDimensions, PointSetTraitsType > PointSetType
virtual void ReadFromFile(void)
KernelTransformType::Pointer KernelTransformPointer
ElastixType::FixedImageType FixedImageType
itk::VolumeSplineKernelTransform2< CoordRepType, itkGetStaticConstMacro(SpaceDimension) > VKernelTransformType
Superclass2::FixedImageType FixedImageType
virtual void WriteToFile(void) const
Superclass1::InputPointType InputPointType
Superclass::ElastixType ElastixType
virtual void DetermineSourceLandmarks(void)
Transform maps points, vectors and covariant vectors from an input space to an output space...
Superclass2::MovingImageType MovingImageType
elx::TransformBase< TElastix > Superclass2
KernelTransformType::PointSetType PointSetType
void operator=(const Self &)
SmartPointer< Self > Pointer
ElastixType::MovingImageType MovingImageType
Superclass::ElastixPointer ElastixPointer
ElastixType::CoordRepType CoordRepType
Superclass::RegistrationType RegistrationType
Superclass1::ParametersType ParametersType
Superclass2::ConfigurationPointer ConfigurationPointer
virtual bool DetermineTargetLandmarks(void)
itk::ElasticBodyReciprocalSplineKernelTransform2< CoordRepType, itkGetStaticConstMacro(SpaceDimension) > EBRKernelTransformType
itk::ThinPlateSplineKernelTransform2< CoordRepType, itkGetStaticConstMacro(SpaceDimension) > TPKernelTransformType
itk::ElasticBodySplineKernelTransform2< CoordRepType, itkGetStaticConstMacro(SpaceDimension) > EBKernelTransformType
Superclass::NumberOfParametersType NumberOfParametersType
This class is the elastix base class for all Transforms.
Superclass::ConfigurationType ConfigurationType
Superclass::OutputVnlVectorType OutputVnlVectorType
Superclass2::ConfigurationType ConfigurationType
Superclass1::OutputPointType OutputPointType
Superclass::ConfigurationPointer ConfigurationPointer
Superclass::InputVnlVectorType InputVnlVectorType
itk::SmartPointer< const Self > ConstPointer
Superclass2::CoordRepType CoordRepType
A transform based on the itk::KernelTransform2.
Superclass1::OutputCovariantVectorType OutputCovariantVectorType
elxClassNameMacro("SplineKernelTransform")
itk::ThinPlateR2LogRSplineKernelTransform2< CoordRepType, itkGetStaticConstMacro(SpaceDimension) > TPRKernelTransformType
itk::AdvancedCombinationTransform< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension > Superclass1


Generated on 04-01-2014 for elastix by doxygen 1.8.5 elastix logo