21 #ifndef otbHuMomentsImageFunction_h
22 #define otbHuMomentsImageFunction_h
24 #include "itkImageFunction.h"
25 #include "itkFixedArray.h"
66 template <
class TInputImage,
class TCoordRep =
double>
68 :
public itk::ImageFunction<TInputImage, itk::FixedArray<typename itk::NumericTraits<typename TInputImage::PixelType>::RealType, 7>, TCoordRep>
73 typedef itk::ImageFunction<TInputImage, itk::FixedArray<typename itk::NumericTraits<typename TInputImage::PixelType>::RealType, 7>, TCoordRep>
Superclass;
95 itkStaticConstMacro(ImageDimension,
unsigned int, InputImageType::ImageDimension);
104 this->ConvertPointToNearestIndex(point, index);
105 return this->EvaluateAtIndex(index);
110 this->ConvertContinuousIndexToNearestIndex(cindex, index);
111 return this->EvaluateAtIndex(index);
118 itkSetMacro(NeighborhoodRadius,
unsigned int);
119 itkGetConstReferenceMacro(NeighborhoodRadius,
unsigned int);
127 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
131 void operator=(
const Self&) =
delete;
138 #ifndef OTB_MANUAL_INSTANTIATION