21 #ifndef otbHistogramOfOrientedGradientCovariantImageFunction_h
22 #define otbHistogramOfOrientedGradientCovariantImageFunction_h
24 #include "itkImageFunction.h"
25 #include "itkFixedArray.h"
70 template <
class TInputImage,
class TOutputPrecision =
double,
class TCoordRep =
double>
72 :
public itk::ImageFunction<TInputImage, std::vector<std::vector<TOutputPrecision>>, TCoordRep>
77 typedef itk::ImageFunction<TInputImage, std::vector<std::vector<TOutputPrecision>>, TCoordRep>
Superclass;
100 itkStaticConstMacro(ImageDimension,
unsigned int, InputImageType::ImageDimension);
109 this->ConvertPointToNearestIndex(point, index);
110 return this->EvaluateAtIndex(index);
115 this->ConvertContinuousIndexToNearestIndex(cindex, index);
116 return this->EvaluateAtIndex(index);
123 itkSetMacro(NeighborhoodRadius,
unsigned int);
124 itkGetConstReferenceMacro(NeighborhoodRadius,
unsigned int);
129 itkSetMacro(NumberOfOrientationBins,
unsigned int);
130 itkGetConstReferenceMacro(NumberOfOrientationBins,
unsigned int);
139 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
143 void operator=(
const Self&) =
delete;
154 #ifndef OTB_MANUAL_INSTANTIATION