18 #ifndef __itkDifferenceImageFilter_h
19 #define __itkDifferenceImageFilter_h
21 #include "itkConfigure.h"
22 #ifdef ITKV3_COMPATIBILITY
35 template<
class TInputImage,
class TOutputImage >
36 class ITK_EXPORT DifferenceImageFilter:
37 public Testing::ComparisonImageFilter< TInputImage, TOutputImage >
41 typedef DifferenceImageFilter Self;
42 typedef Testing::ComparisonImageFilter< TInputImage, TOutputImage > Superclass;
43 typedef SmartPointer< Self > Pointer;
44 typedef SmartPointer< const Self > ConstPointer;
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 DifferenceImageFilter(
const Self &);
67 void operator=(
const Self &);
72 #error For ITKv4 compatibility, use itk::Testing::ComparisonImageFilter instead of itk::DifferenceImageFilter