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 DynamicThreadedGenerateData(
const OutputImageRegionType& outputRegionForThread)
override;
130 #ifndef OTB_MANUAL_INSTANTIATION
Applies an averaging filter to an image.
InputImageType::RegionType InputImageRegionType
itk::ImageToImageFilter< InputImageType, OutputImageType > Superclass
TOutputImage OutputImageType
~VarianceImageFilter() override
OutputImageType::PixelType OutputPixelType
InputImageType::SizeType InputSizeType
VarianceImageFilter(const Self &)=delete
InputImageType::PixelType InputPixelType
itk::SmartPointer< const Self > ConstPointer
TInputImage InputImageType
OutputImageType::RegionType OutputImageRegionType
void operator=(const Self &)=delete
itk::SmartPointer< Self > Pointer
itk::NumericTraits< InputPixelType >::RealType InputRealType
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.