18 #ifndef itkDifferenceImageFilter_h
19 #define itkDifferenceImageFilter_h
21 #include "itkConfigure.h"
22 #ifdef ITKV3_COMPATIBILITY
35 template<
typename TInputImage,
typename TOutputImage >
36 class DifferenceImageFilter:
37 public Testing::ComparisonImageFilter< TInputImage, TOutputImage >
41 typedef DifferenceImageFilter Self;
42 typedef Testing::ComparisonImageFilter< TInputImage, TOutputImage > Superclass;
50 itkTypeMacro(DifferenceImageFilter, Testing::ComparisonImageFilter);
53 typedef TInputImage InputImageType;
54 typedef TOutputImage OutputImageType;
55 typedef typename OutputImageType::PixelType OutputPixelType;
56 typedef typename OutputImageType::RegionType OutputImageRegionType;
60 DifferenceImageFilter() {}
61 virtual ~DifferenceImageFilter() {}
66 ITK_DISALLOW_COPY_AND_ASSIGN(DifferenceImageFilter);
71 #error For ITKv4 compatibility, use itk::Testing::ComparisonImageFilter instead of itk::DifferenceImageFilter