OTB  9.0.0
Orfeo Toolbox
otbWindowedSincInterpolateImageFunctionBase.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2005-2022 Centre National d'Etudes Spatiales (CNES)
3  *
4  * This file is part of Orfeo Toolbox
5  *
6  * https://www.orfeo-toolbox.org/
7  *
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  *
12  * http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  */
20 
21 #ifndef otbWindowedSincInterpolateImageFunctionBase_h
22 #define otbWindowedSincInterpolateImageFunctionBase_h
23 
25 #include "itkSize.h"
26 #include "otbMath.h"
27 #include "vnl/vnl_math.h"
28 
29 namespace otb
30 {
139 template <class TInputImage, class TWindowFunction, class TBoundaryCondition = itk::ZeroFluxNeumannBoundaryCondition<TInputImage>, class TCoordRep = double>
140 class ITK_EXPORT WindowedSincInterpolateImageFunctionBase : public GenericInterpolateImageFunction<TInputImage, TWindowFunction, TBoundaryCondition, TCoordRep>
141 {
142 public:
143 
147  typedef itk::SmartPointer<Self> Pointer;
148  typedef itk::SmartPointer<const Self> ConstPointer;
149 
152 
154  itkNewMacro(Self);
155 
157  typedef typename Superclass::InputImageType InputImageType;
158  typedef typename Superclass::OutputType OutputType;
159 
161  itkStaticConstMacro(ImageDimension, unsigned int, Superclass::ImageDimension);
162 
164  typedef typename Superclass::IndexType IndexType;
165  typedef typename Superclass::SizeType SizeType;
166  typedef typename Superclass::RealType RealType;
167  typedef typename Superclass::IteratorType IteratorType;
168  typedef typename Superclass::ContinuousIndexType ContinuousIndexType;
169  // typedef typename TWindowFunction FunctionType;
170  typedef typename Superclass::FunctionType FunctionType;
171  typedef typename std::vector<double> VectorType;
172 
174  // virtual void ComputeResampledWindowedSincProfil();
175 
176 protected:
179  void PrintSelf(std::ostream& os, itk::Indent indent) const override;
180 
181 private:
183  void operator=(const Self&) = delete;
184 };
185 
186 } // end namespace itk
187 
188 #ifndef OTB_MANUAL_INSTANTIATION
190 #endif
191 
192 #endif
otb::WindowedSincInterpolateImageFunctionBase::InputImageType
Superclass::InputImageType InputImageType
Definition: otbWindowedSincInterpolateImageFunctionBase.h:154
otb::WindowedSincInterpolateImageFunctionBase::VectorType
std::vector< double > VectorType
Definition: otbWindowedSincInterpolateImageFunctionBase.h:171
otb::WindowedSincInterpolateImageFunctionBase::IndexType
Superclass::IndexType IndexType
Definition: otbWindowedSincInterpolateImageFunctionBase.h:164
otb::WindowedSincInterpolateImageFunctionBase::Self
WindowedSincInterpolateImageFunctionBase Self
Definition: otbWindowedSincInterpolateImageFunctionBase.h:145
otb::GenericInterpolateImageFunction
Generic interpolation of an otb::Image.
Definition: otbGenericInterpolateImageFunction.h:44
otb::WindowedSincInterpolateImageFunctionBase::SizeType
Superclass::SizeType SizeType
Definition: otbWindowedSincInterpolateImageFunctionBase.h:165
otb::WindowedSincInterpolateImageFunctionBase::RealType
Superclass::RealType RealType
Definition: otbWindowedSincInterpolateImageFunctionBase.h:166
otbMath.h
otb
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
Definition: otbJoinContainer.h:32
otbWindowedSincInterpolateImageFunctionBase.hxx
otb::WindowedSincInterpolateImageFunctionBase::OutputType
Superclass::OutputType OutputType
Definition: otbWindowedSincInterpolateImageFunctionBase.h:158
otbGenericInterpolateImageFunction.h
otb::WindowedSincInterpolateImageFunctionBase::ConstPointer
itk::SmartPointer< const Self > ConstPointer
Definition: otbWindowedSincInterpolateImageFunctionBase.h:148
otb::WindowedSincInterpolateImageFunctionBase::ContinuousIndexType
Superclass::ContinuousIndexType ContinuousIndexType
Definition: otbWindowedSincInterpolateImageFunctionBase.h:168
otb::WindowedSincInterpolateImageFunctionBase::IteratorType
Superclass::IteratorType IteratorType
Definition: otbWindowedSincInterpolateImageFunctionBase.h:167
otb::WindowedSincInterpolateImageFunctionBase::FunctionType
Superclass::FunctionType FunctionType
Definition: otbWindowedSincInterpolateImageFunctionBase.h:170
otb::WindowedSincInterpolateImageFunctionBase
Use the windowed sinc function to interpolate.
Definition: otbWindowedSincInterpolateImageFunctionBase.h:140
otb::WindowedSincInterpolateImageFunctionBase::Pointer
itk::SmartPointer< Self > Pointer
Definition: otbWindowedSincInterpolateImageFunctionBase.h:147
otb::WindowedSincInterpolateImageFunctionBase::Superclass
GenericInterpolateImageFunction< TInputImage, TWindowFunction, TBoundaryCondition, TCoordRep > Superclass
Definition: otbWindowedSincInterpolateImageFunctionBase.h:146