21 #ifndef otbBCOInterpolateImageFunction_h 22 #define otbBCOInterpolateImageFunction_h 24 #include <boost/version.hpp> 25 #if BOOST_VERSION >= 105800 26 #include <boost/container/small_vector.hpp> 28 #include "vnl/vnl_vector.h" 31 #include "itkInterpolateImageFunction.h" 61 template <
class TInputImage,
class TCoordRep =
double>
67 typedef itk::InterpolateImageFunction<TInputImage, TCoordRep>
Superclass;
73 typedef typename Superclass::OutputType
OutputType;
85 itkStaticConstMacro(ImageDimension,
unsigned int, Superclass::ImageDimension);
98 #if BOOST_VERSION >= 105800 109 virtual void SetRadius(
unsigned int radius);
110 virtual unsigned int GetRadius()
const;
114 virtual void SetAlpha(
double alpha);
115 virtual double GetAlpha()
const;
126 OutputType EvaluateAtContinuousIndex(
const ContinuousIndexType& index)
const override = 0;
131 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
133 CoefContainerType EvaluateCoef(
const ContinuousIndexValueType& indexValue)
const;
146 void operator=(
const Self&) =
delete;
150 template <
class TInputImage,
class TCoordRep =
double>
162 itkStaticConstMacro(ImageDimension,
unsigned int, Superclass::ImageDimension);
174 OutputType EvaluateAtContinuousIndex(
const ContinuousIndexType& index)
const override;
179 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
183 void operator=(
const Self&) =
delete;
187 template <
typename TPixel,
unsigned int VImageDimension,
class TCoordRep>
200 itkStaticConstMacro(ImageDimension,
unsigned int, Superclass::ImageDimension);
212 OutputType EvaluateAtContinuousIndex(
const ContinuousIndexType& index)
const override;
217 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
221 void operator=(
const Self&) =
delete;
226 #ifndef OTB_MANUAL_INSTANTIATION Superclass::InputImageType InputImageType
Superclass::InputPixelType InputPixelType
BCOInterpolateImageFunction Self
itk::Index< Monteverdi_DIMENSION > IndexType
Superclass::IndexValueType IndexValueType
Creation of an "otb" vector image which contains metadata.
BCOInterpolateImageFunction()
itk::SmartPointer< const Self > ConstPointer
Superclass::RealType RealType
Superclass::IndexType IndexType
Superclass::IndexValueType IndexValueType
Superclass::InputPixelType InputPixelType
itk::InterpolateImageFunction< TInputImage, TCoordRep > Superclass
BCOInterpolateImageFunctionBase< otb::VectorImage< TPixel, VImageDimension >, TCoordRep > Superclass
BCOInterpolateImageFunctionBase< TInputImage, TCoordRep > Superclass
itk::SmartPointer< Self > Pointer
Interpolate an image at specified positions using bicubic interpolation.
Superclass::RealType RealType
Superclass::ContinuousIndexType ContinuousIndexType
Superclass::InputImageType InputImageType
~BCOInterpolateImageFunctionBase() override
Superclass::ContinuousIndexType ContinuousIndexType
Superclass::IndexType IndexType
BCOInterpolateImageFunctionBase()
Superclass::RealType RealType
BCOInterpolateImageFunction()
Superclass::PointType PointType
~BCOInterpolateImageFunction() override
vnl_vector< double > CoefContainerType
Monteverdi_FLOATING_TYPE RealType
Superclass::InputImageType InputImageType
itk::SmartPointer< Self > Pointer
Superclass::IndexValueType IndexValueType
BCOInterpolateImageFunction Self
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
~BCOInterpolateImageFunction() override
Superclass::OutputType OutputType
Superclass::InputPixelType InputPixelType
TCoordRep ContinuousIndexValueType
Superclass::PointType PointType
Superclass::PointType PointType
Superclass::CoefContainerType CoefContainerType
Superclass::ContinuousIndexType ContinuousIndexType
Superclass::IndexType IndexType
itk::SmartPointer< const Self > ConstPointer
Superclass::OutputType OutputType
VectorImageType::PointType PointType
Superclass::OutputType OutputType
Superclass::CoefContainerType CoefContainerType
BCOInterpolateImageFunctionBase Self