Slicer  4.11
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
itkAffineImageToImageRegistrationMethod.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Insight Segmentation & Registration Toolkit
4  Module: $RCSfile: AffineRegistrator.h,v $
5  Language: C++
6  Date: $Date: 2006/11/06 14:39:34 $
7  Version: $Revision: 1.15 $
8 
9  Copyright (c) Insight Software Consortium. All rights reserved.
10  See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
11 
12  This software is distributed WITHOUT ANY WARRANTY; without even
13  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14  PURPOSE. See the above copyright notices for more information.
15 
16 =========================================================================*/
17 
18 #ifndef itkAffineImageToImageRegistrationMethod_h
19 #define itkAffineImageToImageRegistrationMethod_h
20 
21 #include "itkImage.h"
22 #include "itkAffineTransform.h"
23 
25 
26 namespace itk
27 {
28 
29 template <class TImage>
32 {
33 
34 public:
35 
38  typedef SmartPointer<Self> Pointer;
39  typedef SmartPointer<const Self> ConstPointer;
40 
43 
44  itkNewMacro( Self );
45 
46  itkStaticConstMacro( ImageDimension, unsigned int,
47  TImage::ImageDimension );
48 
49  //
50  // Typedefs from Superclass
51  //
52 
53  // Overrides the superclass' TransformType typedef
54  typedef AffineTransform<double, itkGetStaticConstMacro( ImageDimension )>
56  typedef typename AffineTransformType::Pointer AffineTransformPointer;
58 
59  //
60  // Superclass Methods
61  //
62 
63  void GenerateData() override;
64 
65  //
66  // Custom Methods
67  //
68 
76 
77  const TransformType* GetTypedTransform() const;
78 
89 
97 
98 protected:
101 
102  void PrintSelf( std::ostream & os, Indent indent ) const override;
103 
104 private:
105 
106  AffineImageToImageRegistrationMethod( const Self & ); // Purposely not implemented
107  void operator =( const Self & ); // Purposely not implemented
108 
109 };
110 
111 } // end namespace itk
112 
113 #ifndef ITK_MANUAL_INSTANTIATION
114 #include "itkAffineImageToImageRegistrationMethod.txx"
115 #endif
116 
117 #endif // __ImageToImageRegistrationMethod_h
OptimizedImageToImageRegistrationMethod< TImage > Superclass
AffineTransform< double, itkGetStaticConstMacro(ImageDimension)> AffineTransformType
Simplified inverse ITK transforms.
void SetInitialTransformParametersFromAffineTransform(const AffineTransformType *affine)
void PrintSelf(std::ostream &os, Indent indent) const override
itkStaticConstMacro(ImageDimension, unsigned int, TImage::ImageDimension)
itkTypeMacro(AffineImageToImageRegistrationMethod, OptimizedImageToImageRegistrationMethod)
AffineTransformPointer GetAffineTransform() const