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);
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;
151 void operator=(const
Self &) ITK_DELETE_FUNCTION;
158 #ifndef ITK_MANUAL_INSTANTIATION
159 #include "itkTestingComparisonImageFilter.hxx"
Array class with size defined at construction time.
virtual void SetValidInput(const InputImageType *validImage)
OutputImageType::RegionType OutputImageRegionType
Array< OutputPixelType > m_ThreadMinimumDifference
virtual void SetTestInput(const InputImageType *testImage)
TOutputImage OutputImageType
void PrintSelf(std::ostream &os, Indent indent) const override
void ThreadedGenerateData(const OutputImageRegionType &threadRegion, ThreadIdType threadId) override
ImageSource< TOutputImage > Superclass
AccumulateType m_TotalDifference
Base class for all process objects that output image data.
unsigned long SizeValueType
Array< OutputPixelType > m_ThreadMaximumDifference
const TInputImage * GetInput() const
OutputPixelType m_DifferenceThreshold
NumericTraits< RealType >::AccumulateType AccumulateType
NumericTraits< OutputPixelType >::RealType RealType
TInputImage InputImageType
SizeValueType m_NumberOfPixelsWithDifferences
void BeforeThreadedGenerateData() override
void AfterThreadedGenerateData() override
virtual void SetInput(const DataObjectIdentifierType &key, DataObject *input)
Protected method for setting indexed and named inputs.
OutputPixelType m_MinimumDifference
ComparisonImageFilter Self
unsigned int ThreadIdType
Implements comparison between two images.
virtual void SetInput(const TInputImage *image)
Array< SizeValueType > m_ThreadNumberOfPixels
Array< AccumulateType > m_ThreadDifferenceSum
OutputPixelType m_MaximumDifference
RealType m_MeanDifference
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
bool m_IgnoreBoundaryPixels
virtual ~ComparisonImageFilter()