21 #ifndef otbVarianceImageFilter_h
22 #define otbVarianceImageFilter_h
24 #include "itkImageToImageFilter.h"
26 #include "itkNumericTraits.h"
46 template <
class TInputImage,
class TOutputImage>
51 itkStaticConstMacro(InputImageDimension,
unsigned int, TInputImage::ImageDimension);
52 itkStaticConstMacro(OutputImageDimension,
unsigned int, TOutputImage::ImageDimension);
61 typedef itk::ImageToImageFilter<InputImageType, OutputImageType>
Superclass;
74 typedef typename itk::NumericTraits<InputPixelType>::RealType
InputRealType;
93 void GenerateInputRequestedRegion()
override;
95 #ifdef ITK_USE_CONCEPT_CHECKING
97 itkConceptMacro(InputHasNumericTraitsCheck, (itk::Concept::HasNumericTraits<InputPixelType>));
107 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
119 void ThreadedGenerateData(
const OutputImageRegionType& outputRegionForThread, itk::ThreadIdType threadId)
override;
123 void operator=(
const Self&) =
delete;
130 #ifndef OTB_MANUAL_INSTANTIATION