Orfeo Toolbox  4.0
otbNCCRegistrationFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ORFEO Toolbox
4  Language: C++
5  Date: $Date$
6  Version: $Revision$
7 
8 
9  Copyright (c) Centre National d'Etudes Spatiales. All rights reserved.
10  See OTBCopyright.txt for details.
11 
12 
13  This software is distributed WITHOUT ANY WARRANTY; without even
14  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15  PURPOSE. See the above copyright notices for more information.
16 
17 =========================================================================*/
18 #ifndef __otbNCCRegistrationFilter_h
19 #define __otbNCCRegistrationFilter_h
20 
23 
24 namespace otb
25 {
26 
66 template<class TFixedImage, class TMovingImage, class TDisplacementField>
67 class ITK_EXPORT NCCRegistrationFilter :
68  public itk::PDEDeformableRegistrationFilter<TFixedImage, TMovingImage,
69  TDisplacementField>
70 {
71 public:
75  TFixedImage, TMovingImage, TDisplacementField> Superclass;
78 
80  itkNewMacro(Self);
81 
83  itkTypeMacro(NCCRegistrationFilter,
85 
87  typedef typename Superclass::TimeStepType TimeStepType;
88 
92 
96 
98  typedef typename Superclass::DisplacementFieldType
100  typedef typename Superclass::DisplacementFieldPointer
102 
106 
110 
112 
119  virtual double GetMetric() const;
120 
125  virtual void SetNCCRadius(RadiusType radius);
126 
131  virtual RadiusType GetNCCRadius() const;
132 
133 protected:
136  void PrintSelf(std::ostream& os, itk::Indent indent) const;
137 
139  virtual void InitializeIteration();
140 
142  virtual void ApplyUpdate(TimeStepType dt);
143 
145  virtual void GenerateInputRequestedRegion();
146 
147 private:
148  NCCRegistrationFilter(const Self &); //purposely not implemented
149  void operator =(const Self&); //purposely not implemented
150 
151 };
152 
153 } // end namespace otb
154 
155 #ifndef OTB_MANUAL_INSTANTIATION
157 #endif
158 
159 #endif

Generated at Sat Mar 8 2014 16:10:54 for Orfeo Toolbox with doxygen 1.8.3.1