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(
void)
const;
106 const TInputImage *
GetInput(
unsigned int idx)
const;
158 #ifndef ITK_MANUAL_INSTANTIATION
159 #include "itkTestingComparisonImageFilter.hxx"
virtual void SetValidInput(const InputImageType *validImage)
OutputImageType::RegionType OutputImageRegionType
Array< OutputPixelType > m_ThreadMinimumDifference
virtual void SetTestInput(const InputImageType *testImage)
TOutputImage OutputImageType
const TInputImage * GetInput(void) const
ImageSource< TOutputImage > Superclass
AccumulateType m_TotalDifference
Base class for all process objects that output image data.
unsigned long SizeValueType
void BeforeThreadedGenerateData()
Array< OutputPixelType > m_ThreadMaximumDifference
void AfterThreadedGenerateData()
OutputPixelType m_DifferenceThreshold
NumericTraits< RealType >::AccumulateType AccumulateType
NumericTraits< OutputPixelType >::RealType RealType
TInputImage InputImageType
SizeValueType m_NumberOfPixelsWithDifferences
virtual void SetInput(const DataObjectIdentifierType &key, DataObject *input)
void operator=(const Self &)
OutputPixelType m_MinimumDifference
ComparisonImageFilter Self
Implements comparison between two images.
virtual void SetInput(const TInputImage *image)
Array< SizeValueType > m_ThreadNumberOfPixels
void ThreadedGenerateData(const OutputImageRegionType &threadRegion, ThreadIdType threadId)
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()
void PrintSelf(std::ostream &os, Indent indent) const
unsigned int ThreadIdType