21 #ifndef __otbBoxAndWhiskerImageFilter_h
22 #define __otbBoxAndWhiskerImageFilter_h
45 template <
class TInputImage>
74 typedef typename InputImageType::PixelType
PixelType;
75 typedef typename InputImageType::InternalPixelType
ValueType;
76 typedef typename InputImageType::SizeType
SizeType;
80 itkStaticConstMacro(InputImageDimension,
unsigned int, InputImageType::ImageDimension);
81 itkStaticConstMacro(OutputImageDimension,
unsigned int, OutputImageType::ImageDimension);
85 itkGetConstReferenceMacro(Radius,
SizeType);
88 itkGetConstMacro(Beta,
double);
89 itkSetMacro(Beta,
double);
90 itkGetConstMacro(NumberFound,
unsigned int);
97 virtual void ThreadedGenerateData(
const OutputImageRegionType& outputRegionForThread,
int threadId);
98 virtual void GenerateOutputInformation();
99 virtual void AllocateOutputs();
102 PixelType PerformBoxAndWhiskerDetection(
const PixelType& pixel);
106 void operator =(
const Self&);
116 #ifndef OTB_MANUAL_INSTANTIATION