OTB  10.0.0
Orfeo Toolbox
otbWindowedSincInterpolateImageFunctionBase.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2005-2024 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 
159 
161  itkStaticConstMacro(ImageDimension, unsigned int, Superclass::ImageDimension);
162 
165  typedef typename Superclass::SizeType SizeType;
166  typedef typename Superclass::RealType RealType;
169  // typedef typename TWindowFunction 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
Generic interpolation of an otb::Image.
itk::ConstNeighborhoodIterator< InputImageType, TBoundaryCondition > IteratorType
WindowedSincInterpolateImageFunctionBase(const Self &)=delete
GenericInterpolateImageFunction< TInputImage, TWindowFunction, TBoundaryCondition, TCoordRep > Superclass
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.