|
OTB
9.0.0
Orfeo Toolbox
|
Go to the documentation of this file.
21 #ifndef otbWindowedSincInterpolateImageLanczosFunction_h
22 #define otbWindowedSincInterpolateImageLanczosFunction_h
25 #include "vnl/vnl_math.h"
42 template <
class TInput =
double,
class TOutput =
double>
66 double x =
static_cast<double>(A);
76 temp = std::sin(z) / z;
78 return (x == 0.0) ?
static_cast<TOutput
>(temp) :
static_cast<TOutput
>(temp * std::sin(px) / px);
103 template <
class TInputImage,
class TBoundaryCondition = itk::ConstantBoundaryCondition<TInputImage>,
class TCoordRep =
double,
104 class TInputInterpolator =
double,
class TOutputInterpolator =
double>
107 TBoundaryCondition, TCoordRep>
114 TBoundaryCondition, TCoordRep>
130 itkStaticConstMacro(ImageDimension,
unsigned int, Superclass::ImageDimension);
144 void PrintSelf(std::ostream& os, itk::Indent indent)
const override
146 Superclass::PrintSelf(os, indent);
151 void operator=(
const Self&) =
delete;
~WindowedSincInterpolateImageLanczosFunction() override
Superclass::InputImageType InputImageType
constexpr double CONST_PI
Superclass::IndexType IndexType
void PrintSelf(std::ostream &os, itk::Indent indent) const override
Superclass::SizeType SizeType
Superclass::RealType RealType
Superclass::IteratorType IteratorType
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
TOutput operator()(const TInput &A) const
Superclass::SizeType SizeType
Superclass::RealType RealType
Superclass::InputImageType InputImageType
Superclass::OutputType OutputType
Superclass::ContinuousIndexType ContinuousIndexType
Use the WindowedSincInterpolateImageFunctionBase with a Lanczos Function.
itk::SmartPointer< Self > Pointer
Superclass::IteratorType IteratorType
Superclass::IndexType IndexType
WindowedSincInterpolateImageFunctionBase< TInputImage, typename Function::LanczosWindowFunction< TInputInterpolator, TOutputInterpolator >, TBoundaryCondition, TCoordRep > Superclass
Window function for sinc interpolation.
unsigned int GetRadius() const
Superclass::OutputType OutputType
WindowedSincInterpolateImageLanczosFunction()
Superclass::ContinuousIndexType ContinuousIndexType
void SetRadius(unsigned int radius)
itk::SmartPointer< const Self > ConstPointer
WindowedSincInterpolateImageLanczosFunction Self
Use the windowed sinc function to interpolate.