18 #ifndef itkTestingComparisonImageFilter_h
19 #define itkTestingComparisonImageFilter_h
41 template<
typename TInputImage,
typename TOutputImage >
75 itkSetMacro(ToleranceRadius,
int);
76 itkGetConstMacro(ToleranceRadius,
int);
88 itkSetMacro(IgnoreBoundaryPixels,
bool);
89 itkGetConstMacro(IgnoreBoundaryPixels,
bool);
96 itkGetConstMacro(MeanDifference,
RealType);
98 itkGetConstMacro(NumberOfPixelsWithDifferences,
SizeValueType);
102 using Superclass::SetInput;
103 virtual void SetInput(
const TInputImage *image);
104 virtual void SetInput(
unsigned int,
const TInputImage *image);
105 const TInputImage * GetInput()
const;
106 const TInputImage * GetInput(
unsigned int idx)
const;
113 void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
124 void ThreadedGenerateData(
const OutputImageRegionType & threadRegion,
127 void BeforeThreadedGenerateData() ITK_OVERRIDE;
129 void AfterThreadedGenerateData() ITK_OVERRIDE;
141 int m_ToleranceRadius;
152 bool m_IgnoreBoundaryPixels;
157 #ifndef ITK_MANUAL_INSTANTIATION
158 #include "itkTestingComparisonImageFilter.hxx"
Array class with size defined at construction time.
OutputImageType::RegionType OutputImageRegionType
TOutputImage OutputImageType
ImageSource< TOutputImage > Superclass
Base class for all process objects that output image data.
unsigned long SizeValueType
NumericTraits< RealType >::AccumulateType AccumulateType
NumericTraits< OutputPixelType >::RealType RealType
TInputImage InputImageType
ComparisonImageFilter Self
unsigned int ThreadIdType
Implements comparison between two images.
Control indentation during Print() invocation.
OutputImageType::PixelType OutputPixelType
SmartPointer< Self > Pointer
InputImageType::PixelType InputPixelType
Define additional traits for native types such as int or float.
SmartPointer< const Self > ConstPointer
virtual ~ComparisonImageFilter()