17 #ifndef __itkJoinImageFilter_h
18 #define __itkJoinImageFilter_h
21 #include "itkPixelTraits.h"
45 template <
class TPixel1,
class TPixel2>
56 typedef typename PixelTraits<TPixel1>::ValueType
ValueType1;
57 typedef typename PixelTraits<TPixel2>::ValueType
ValueType2;
58 typedef typename JoinTraits<ValueType1, ValueType2>::ValueType
JoinValueType;
62 PixelTraits<TPixel1>::Dimension);
64 PixelTraits<TPixel2>::Dimension);
77 return !(*
this != other);
102 template<
unsigned int VDimension>
122 JoinType& out,
unsigned int idx,
const TPixel1& A)
const
124 for (
unsigned int i=0; i <
Dimension1; i++, idx++)
132 JoinType& out,
unsigned int idx,
const TPixel1& A)
const
147 JoinType& out,
unsigned int idx,
const TPixel2& B)
const
149 for (
unsigned int i=0; i <
Dimension2; i++, idx++)
157 JoinType& out,
unsigned int idx,
const TPixel2& B)
const
163 template <
typename TImage1,
typename TImage2>
197 template <
class TInputImage1,
class TInputImage2>
202 Functor::MakeJoin<TInputImage1,
203 TInputImage2>::ImageType,
205 Functor::MakeJoin<TInputImage1,
206 TInputImage2>::FunctorType>
210 itkStaticConstMacro(OutputImageDimension,
unsigned int,
211 TInputImage1::ImageDimension);
235 #ifdef ITK_USE_CONCEPT_CHECKING
243 typename PixelTraits<typename TInputImage2::PixelType>::ValueType>));
253 void operator=(
const Self&);