18#ifndef itkJoinImageFilter_h
19#define itkJoinImageFilter_h
47template <
typename TPixel1,
typename TPixel2>
100 template <
unsigned int VDimension>
124 for (
unsigned int i = 0; i <
Dimension1; i++, idx++)
152 for (
unsigned int i = 0; i <
Dimension2; i++, idx++)
167template <
typename TImage1,
typename TImage2>
205template <
typename TInputImage1,
typename TInputImage2>
209 typename Functor::MakeJoin<TInputImage1, TInputImage2>::ImageType>
237#ifdef ITK_USE_CONCEPT_CHECKING
Implements pixel-wise generic operation of two images, or of an image and a constant.
void SetFunctor(const std::function< ConstRefFunctionType > &f)
Join the components of two pixel types into a single pixel type.
typename PixelTraits< TPixel2 >::ValueType ValueType2
void FirstCopier(CopierDispatch< 1 >, JoinType &out, unsigned int idx, const TPixel1 &A) const
void SecondCopier(CopierDispatch< 1 >, JoinType &out, unsigned int idx, const TPixel2 &B) const
JoinType operator()(const TPixel1 &A, const TPixel2 &B) const
void FirstCopier(JoinType &out, unsigned int idx, const TPixel1 &A) const
static constexpr unsigned int JoinDimension
bool operator==(const JoinFunctor &) const
static constexpr unsigned int Dimension2
void SecondCopier(JoinType &out, unsigned int idx, const TPixel2 &B) const
ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION(JoinFunctor)
void SecondCopier(CopierDispatchBase, JoinType &out, unsigned int idx, const TPixel2 &B) const
typename JoinTraits< ValueType1, ValueType2 >::ValueType JoinValueType
typename PixelTraits< TPixel1 >::ValueType ValueType1
static constexpr unsigned int Dimension1
void FirstCopier(CopierDispatchBase, JoinType &out, unsigned int idx, const TPixel1 &A) const
Templated n-dimensional image class.
Join two images, resulting in an image where each pixel has the components of the first image followe...
static constexpr unsigned int OutputImageDimension
typename Functor::MakeJoin< TInputImage1, TInputImage2 >::FunctorType FunctorType
~JoinImageFilter() override=default
typename Functor::MakeJoin< TInputImage1, TInputImage2 >::ImageType OutputImageType
typename FunctorType::JoinType OutputImagePixelType
Light weight base class for most itk classes.
Traits for a pixel that define the dimension and component type.
typename TPixelType::ValueType ValueType
A templated class holding a n-Dimensional vector.
#define itkConceptMacro(name, concept)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....