21 #ifndef otbFlusserMomentsImageFunction_h
22 #define otbFlusserMomentsImageFunction_h
24 #include "itkImageFunction.h"
25 #include "itkFixedArray.h"
70 template <
class TInputImage,
class TCoordRep =
double>
72 :
public itk::ImageFunction<TInputImage, itk::FixedArray<typename itk::NumericTraits<typename TInputImage::PixelType>::RealType, 11>, TCoordRep>
77 typedef itk::ImageFunction<TInputImage, itk::FixedArray<typename itk::NumericTraits<typename TInputImage::PixelType>::RealType, 11>, TCoordRep>
Superclass;
99 itkStaticConstMacro(ImageDimension,
unsigned int, InputImageType::ImageDimension);
108 this->ConvertPointToNearestIndex(point, index);
109 return this->EvaluateAtIndex(index);
114 this->ConvertContinuousIndexToNearestIndex(cindex, index);
115 return this->EvaluateAtIndex(index);
122 itkSetMacro(NeighborhoodRadius,
unsigned int);
123 itkGetConstReferenceMacro(NeighborhoodRadius,
unsigned int);
131 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
142 #ifndef OTB_MANUAL_INSTANTIATION
Calculate the Flusser's invariant parameters.
itk::SmartPointer< Self > Pointer
Superclass::ContinuousIndexType ContinuousIndexType
~FlusserMomentsImageFunction() override
OutputType::ValueType ScalarRealType
Superclass::OutputType OutputType
FlusserMomentsImageFunction Self
Superclass::IndexType IndexType
Superclass::PointType PointType
void operator=(const Self &)=delete
unsigned int m_NeighborhoodRadius
OutputType Evaluate(const PointType &point) const override
FlusserMomentsImageFunction(const Self &)=delete
TInputImage InputImageType
itk::ImageFunction< TInputImage, itk::FixedArray< typename itk::NumericTraits< typename TInputImage::PixelType >::RealType, 11 >, TCoordRep > Superclass
OutputType EvaluateAtContinuousIndex(const ContinuousIndexType &cindex) const override
itk::SmartPointer< const Self > ConstPointer
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.