18 #ifndef itkCompose2DVectorImageFilter_h
19 #define itkCompose2DVectorImageFilter_h
20 #if !defined( ITK_LEGACY_REMOVE )
29 template<
typename TInput >
33 typedef Vector< TInput, 2 > OutputType;
41 bool operator==(
const Compose2DVector & other)
const
43 return !( *
this != other );
46 inline OutputType operator()(
const TInput & s1,
47 const TInput & s2)
const
70 template<
typename TInputImage,
71 typename TOutputImage =
72 Image< Vector< typename TInputImage::PixelType, 2 >,
73 TInputImage::ImageDimension > >
74 class Compose2DVectorImageFilter:
76 BinaryFunctorImageFilter< TInputImage, TInputImage,
78 Functor::Compose2DVector< typename TInputImage::PixelType > >
82 typedef Compose2DVectorImageFilter Self;
83 typedef BinaryFunctorImageFilter<
84 TInputImage, TInputImage,
86 Functor::Compose2DVector<
87 typename TInputImage::PixelType > > Superclass;
92 typedef typename Superclass::OutputImageType OutputImageType;
98 itkTypeMacro(Compose2DVectorImageFilter,
99 BinaryFunctorImageFilter);
101 #ifdef ITK_USE_CONCEPT_CHECKING
104 ( Concept::HasNumericTraits< typename TInputImage::PixelType > ) );
109 Compose2DVectorImageFilter() {}
110 virtual ~Compose2DVectorImageFilter() {}
113 Compose2DVectorImageFilter(
const Self &);
114 void operator=(
const Self &);
118 #endif //#if !defined( ITK_LEGACY_REMOVE )
bool operator!=(const ImageRegionCopier< D1, D2 > &c1, const ImageRegionCopier< D1, D2 > &c2)
#define itkConceptMacro(name, concept)