22 #ifndef otbBoxAndWhiskerImageFilter_h
23 #define otbBoxAndWhiskerImageFilter_h
26 #include "itkUnaryFunctorImageFilter.h"
49 template <
class TInputImage>
55 typedef typename itk::InPlaceImageFilter<TInputImage>
Superclass;
77 typedef typename InputImageType::PixelType
PixelType;
78 typedef typename InputImageType::InternalPixelType
ValueType;
79 typedef typename InputImageType::SizeType
SizeType;
83 itkStaticConstMacro(InputImageDimension,
unsigned int, InputImageType::ImageDimension);
84 itkStaticConstMacro(OutputImageDimension,
unsigned int, OutputImageType::ImageDimension);
89 itkGetConstReferenceMacro(Radius,
SizeType);
93 itkGetConstMacro(Beta,
double);
94 itkSetMacro(Beta,
double);
95 itkGetConstMacro(NumberFound,
unsigned int);
105 void ThreadedGenerateData(
const OutputImageRegionType& outputRegionForThread, itk::ThreadIdType threadId)
override;
106 void GenerateOutputInformation()
override;
107 void AllocateOutputs()
override;
111 PixelType PerformBoxAndWhiskerDetection(
const PixelType& pixel);
115 void operator=(
const Self&);
125 #ifndef OTB_MANUAL_INSTANTIATION