|
OTB
9.0.0
Orfeo Toolbox
|
Go to the documentation of this file.
21 #ifndef otbWindowedSincInterpolateImageBlackmanFunction_h
22 #define otbWindowedSincInterpolateImageBlackmanFunction_h
25 #include "vnl/vnl_math.h"
40 template <
class TInput =
double,
class TOutput =
double>
69 double x =
static_cast<double>(A);
72 return (x == 0.0) ?
static_cast<TOutput
>(temp) :
static_cast<TOutput
>(temp * std::sin(px) / px);
99 template <
class TInputImage,
class TBoundaryCondition = itk::ConstantBoundaryCondition<TInputImage>,
class TCoordRep =
double,
100 class TInputInterpolator =
double,
class TOutputInterpolator =
double>
103 TBoundaryCondition, TCoordRep>
110 TBoundaryCondition, TCoordRep>
126 itkStaticConstMacro(ImageDimension,
unsigned int, Superclass::ImageDimension);
140 void PrintSelf(std::ostream& os, itk::Indent indent)
const override
142 Superclass::PrintSelf(os, indent);
147 void operator=(
const Self&) =
delete;
Window function for sinc interpolation.
Superclass::ContinuousIndexType ContinuousIndexType
itk::SmartPointer< Self > Pointer
Superclass::InputImageType InputImageType
constexpr double CONST_PI
Superclass::IndexType IndexType
Superclass::OutputType OutputType
void SetRadius(unsigned int radius)
Superclass::SizeType SizeType
Superclass::RealType RealType
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
void PrintSelf(std::ostream &os, itk::Indent indent) const override
Superclass::RealType RealType
Superclass::IndexType IndexType
Superclass::OutputType OutputType
Superclass::ContinuousIndexType ContinuousIndexType
WindowedSincInterpolateImageBlackmanFunction Self
Superclass::InputImageType InputImageType
Superclass::IteratorType IteratorType
unsigned int GetRadius() const
TOutput operator()(const TInput &A) const
itk::SmartPointer< const Self > ConstPointer
Use the WindowedSincInterpolateImageFunctionBase with a Blackman Function.
WindowedSincInterpolateImageFunctionBase< TInputImage, typename Function::BlackmanWindowFunction< TInputInterpolator, TOutputInterpolator >, TBoundaryCondition, TCoordRep > Superclass
Use the windowed sinc function to interpolate.
WindowedSincInterpolateImageBlackmanFunction()
Superclass::SizeType SizeType
Superclass::IteratorType IteratorType
~WindowedSincInterpolateImageBlackmanFunction() override