18#ifndef itkTestingComparisonImageFilter_h
19#define itkTestingComparisonImageFilter_h
42template <
typename TInputImage,
typename TOutputImage>
77 itkSetMacro(VerifyInputInformation,
bool);
78 itkGetConstMacro(VerifyInputInformation,
bool);
79 itkBooleanMacro(VerifyInputInformation);
84 itkSetMacro(ToleranceRadius,
int);
85 itkGetConstMacro(ToleranceRadius,
int);
97 itkSetMacro(IgnoreBoundaryPixels,
bool);
98 itkGetConstMacro(IgnoreBoundaryPixels,
bool);
99 itkBooleanMacro(IgnoreBoundaryPixels);
133 itkExceptionMacro(
"This class requires threadId so it must use classic multi-threading model");
150 bool m_VerifyInputInformation{};
156 int m_ToleranceRadius{};
165 bool m_IgnoreBoundaryPixels{};
170#ifndef ITK_MANUAL_INSTANTIATION
171# include "itkTestingComparisonImageFilter.hxx"
Base class for all process objects that output image data.
typename OutputImageType::RegionType OutputImageRegionType
TOutputImage OutputImageType
Base class for filters that take an image as input and produce an image as output.
TInputImage InputImageType
Control indentation during Print() invocation.
Define additional traits for native types such as int or float.
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Implements comparison between two images.
typename OutputImageType::PixelType OutputPixelType
void VerifyInputInformation() const override
Verifies that the input images occupy the same physical space and the each index is at the same physi...
typename InputImageType::PixelType InputPixelType
void DynamicThreadedGenerateData(const OutputImageRegionType &) override
void BeforeThreadedGenerateData() override
typename NumericTraits< RealType >::AccumulateType AccumulateType
~ComparisonImageFilter() override=default
itkSetInputMacro(ValidInput, InputImageType)
itkSetInputMacro(TestInput, InputImageType)
void PrintSelf(std::ostream &os, Indent indent) const override
typename NumericTraits< OutputPixelType >::RealType RealType
void AfterThreadedGenerateData() override
void ThreadedGenerateData(const OutputImageRegionType &threadRegion, ThreadIdType threadId) override
ImageBaseType::RegionType RegionType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
unsigned int ThreadIdType
unsigned long SizeValueType