18 #ifndef itkJoinImageFilter_h
19 #define itkJoinImageFilter_h
47 template<
typename TPixel1,
typename TPixel2 >
78 return !( *
this != other );
103 template<
unsigned int VDimension >
123 JoinType & out,
unsigned int idx,
const TPixel1 & A)
const
125 for (
unsigned int i = 0; i <
Dimension1; i++, idx++ )
134 JoinType & out,
unsigned int idx,
const TPixel1 & A)
const
149 JoinType & out,
unsigned int idx,
const TPixel2 & B)
const
151 for (
unsigned int i = 0; i <
Dimension2; i++, idx++ )
160 JoinType & out,
unsigned int idx,
const TPixel2 & B)
const
167 template<
typename TImage1,
typename TImage2 >
170 typename TImage2::PixelType >;
172 TImage1 ::ImageDimension >;
204 template<
typename TInputImage1,
typename TInputImage2 >
209 Functor::MakeJoin< TInputImage1,
210 TInputImage2 >::ImageType >
225 TInputImage2 >::ImageType;
240 #ifdef ITK_USE_CONCEPT_CHECKING
void SecondCopier(CopierDispatch< 1 >, JoinType &out, unsigned int idx, const TPixel2 &B) const
Light weight base class for most itk classes.
static constexpr unsigned int Dimension2
JoinType operator()(const TPixel1 &A, const TPixel2 &B) const
void FirstCopier(JoinType &out, unsigned int idx, const TPixel1 &A) const
static constexpr unsigned int Dimension1
typename PixelTraits< TPixel2 >::ValueType ValueType2
typename FunctorType::JoinType OutputImagePixelType
bool operator!=(const JoinFunctor &) const
bool operator==(const JoinFunctor &other) const
Vector< JoinValueType, Self::JoinDimension > JoinType
static constexpr unsigned int OutputImageDimension
Traits for a pixel that define the dimension and component type.
typename TPixelType::ValueType ValueType
typename JoinTraits< ValueType1, ValueType2 >::ValueType JoinValueType
Join two images, resulting in an image where each pixel has the components of the first image followe...
A templated class holding a n-Dimensional vector.
void SecondCopier(CopierDispatchBase, JoinType &out, unsigned int idx, const TPixel2 &B) const
Implements pixel-wise generic operation of two images, or of an image and a constant.
void SecondCopier(JoinType &out, unsigned int idx, const TPixel2 &B) const
static constexpr unsigned int JoinDimension
typename Functor::MakeJoin< TInputImage1, TInputImage2 >::ImageType OutputImageType
void SetFunctor(const std::function< ConstRefFunctionType > &f)
void FirstCopier(CopierDispatch< 1 >, JoinType &out, unsigned int idx, const TPixel1 &A) const
Join the components of two pixel types into a single pixel type.
typename Functor::MakeJoin< TInputImage1, TInputImage2 >::FunctorType FunctorType
#define itkConceptMacro(name, concept)
void FirstCopier(CopierDispatchBase, JoinType &out, unsigned int idx, const TPixel1 &A) const
~JoinImageFilter() override=default
typename PixelTraits< TPixel1 >::ValueType ValueType1
Templated n-dimensional image class.