|
OTB
9.0.0
Orfeo Toolbox
|
Go to the documentation of this file.
21 #ifndef otbWindowedSincInterpolateImageGaussianFunction_h
22 #define otbWindowedSincInterpolateImageGaussianFunction_h
25 #include "vnl/vnl_math.h"
40 template <
class TInput =
double,
class TOutput =
double>
64 double x =
static_cast<double>(A);
66 double temp = std::exp(px * px *
m_Factor);
67 return (x == 0.0) ?
static_cast<TOutput
>(temp) :
static_cast<TOutput
>(temp * std::sin(px) / px);
92 template <
class TInputImage,
class TBoundaryCondition = itk::ZeroFluxNeumannBoundaryCondition<TInputImage>,
class TCoordRep =
double,
93 class TInputInterpolator =
double,
class TOutputInterpolator =
double>
96 TBoundaryCondition, TCoordRep>
103 TBoundaryCondition, TCoordRep>
119 itkStaticConstMacro(ImageDimension,
unsigned int, Superclass::ImageDimension);
133 void PrintSelf(std::ostream& os, itk::Indent indent)
const override
135 Superclass::PrintSelf(os, indent);
140 void operator=(
const Self&) =
delete;
Superclass::InputImageType InputImageType
unsigned int GetRadius() const
constexpr double CONST_PI
Superclass::IndexType IndexType
Superclass::OutputType OutputType
Superclass::SizeType SizeType
Use the WindowedSincInterpolateImageFunctionBase with a Gaussian Function.
Superclass::RealType RealType
Superclass::RealType RealType
WindowedSincInterpolateImageGaussianFunction Self
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
itk::SmartPointer< Self > Pointer
void SetRadius(unsigned int radius)
Superclass::IndexType IndexType
Superclass::OutputType OutputType
Superclass::SizeType SizeType
Superclass::ContinuousIndexType ContinuousIndexType
Superclass::IteratorType IteratorType
void PrintSelf(std::ostream &os, itk::Indent indent) const override
WindowedSincInterpolateImageGaussianFunction()
Superclass::ContinuousIndexType ContinuousIndexType
~WindowedSincInterpolateImageGaussianFunction() override
Gaussian interpolation windowing function.
itk::SmartPointer< const Self > ConstPointer
TOutput operator()(const TInput &A) const
WindowedSincInterpolateImageFunctionBase< TInputImage, typename Function::GaussianWindowFunction< TInputInterpolator, TOutputInterpolator >, TBoundaryCondition, TCoordRep > Superclass
Superclass::IteratorType IteratorType
Use the windowed sinc function to interpolate.
Superclass::InputImageType InputImageType