21 #ifndef otbDifferenceImageFilter_h
22 #define otbDifferenceImageFilter_h
25 #include "itkNumericTraits.h"
44 template <
class TInputImage,
class TOutputImage>
50 typedef itk::ImageToImageFilter<TInputImage, TOutputImage>
Superclass;
65 typedef typename itk::NumericTraits<OutputPixelType>::RealType
RealType;
66 typedef typename itk::NumericTraits<RealType>::AccumulateType
AccumulateType;
67 typedef typename itk::NumericTraits<OutputPixelType>::ScalarRealType
ScalarRealType;
77 itkSetMacro(ToleranceRadius,
int);
78 itkGetMacro(ToleranceRadius,
int);
88 itkGetMacro(MeanDifference,
RealType);
90 itkGetMacro(NumberOfPixelsWithDifferences,
unsigned long);
93 void Synthetize(
void)
override;
94 void Reset(
void)
override;
100 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
113 void ThreadedGenerateData(
const OutputImageRegionType& threadRegion, itk::ThreadIdType threadId)
override;
115 void GenerateOutputInformation()
override;
128 void operator=(
const Self&) =
delete;
133 #ifndef OTB_MANUAL_INSTANTIATION