21 #ifndef otbHaralickTexturesImageFunction_h
22 #define otbHaralickTexturesImageFunction_h
25 #include "itkImageToImageFilter.h"
26 #include "itkImageFunction.h"
27 #include "itkFixedArray.h"
94 template <
class TInputImage,
class TCoordRep =
double>
96 :
public itk::ImageFunction<TInputImage, itk::FixedArray<typename itk::NumericTraits<typename TInputImage::PixelType>::RealType, 8>, TCoordRep>
101 typedef itk::ImageFunction<TInputImage, itk::FixedArray<typename itk::NumericTraits<typename TInputImage::PixelType>::RealType, 8>, TCoordRep>
Superclass;
120 typedef typename InputRegionType::SizeType
SizeType;
140 itkStaticConstMacro(ImageDimension,
unsigned int, InputImageType::ImageDimension);
149 this->ConvertPointToNearestIndex(point, index);
150 return this->EvaluateAtIndex(index);
155 this->ConvertContinuousIndexToNearestIndex(cindex, index);
156 return this->EvaluateAtIndex(index);
164 itkSetMacro(NeighborhoodRadius,
unsigned int);
170 itkGetConstReferenceMacro(NeighborhoodRadius,
unsigned int);
173 itkSetMacro(Offset, OffsetType);
176 itkGetMacro(Offset, OffsetType);
179 itkSetMacro(NumberOfBinsPerAxis,
unsigned int);
182 itkGetMacro(NumberOfBinsPerAxis,
unsigned int);
185 itkSetMacro(InputImageMinimum, InputPixelType);
188 itkGetMacro(InputImageMinimum, InputPixelType);
191 itkSetMacro(InputImageMaximum, InputPixelType);
194 itkGetMacro(InputImageMaximum, InputPixelType);
201 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
205 void operator=(
const Self&) =
delete;
231 #ifndef OTB_MANUAL_INSTANTIATION