|
ITK
5.2.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkJoinImageFilter_h
19 #define itkJoinImageFilter_h
47 template <
typename TPixel1,
typename TPixel2>
80 return !(*
this != other);
107 template <
unsigned int VDimension>
131 for (
unsigned int i = 0; i <
Dimension1; i++, idx++)
133 out[idx] = static_cast<JoinValueType>(A[i]);
141 out[idx] = static_cast<JoinValueType>(A);
159 for (
unsigned int i = 0; i <
Dimension2; i++, idx++)
161 out[idx] = static_cast<JoinValueType>(B[i]);
169 out[idx] = static_cast<JoinValueType>(B);
174 template <
typename TImage1,
typename TImage2>
212 template <
typename TInputImage1,
typename TInputImage2>
216 typename Functor::MakeJoin<TInputImage1, TInputImage2>::ImageType>
244 #ifdef ITK_USE_CONCEPT_CHECKING
Vector< JoinValueType, Self::JoinDimension > JoinType
static constexpr unsigned int OutputImageDimension
bool operator!=(const JoinFunctor &) const
void SecondCopier(JoinType &out, unsigned int idx, const TPixel2 &B) const
void FirstCopier(CopierDispatchBase, JoinType &out, unsigned int idx, const TPixel1 &A) const
A templated class holding a n-Dimensional vector.
Join two images, resulting in an image where each pixel has the components of the first image followe...
Implements pixel-wise generic operation of two images, or of an image and a constant.
typename Functor::MakeJoin< TInputImage1, TInputImage2 >::FunctorType FunctorType
typename PixelTraits< TPixel2 >::ValueType ValueType2
typename JoinTraits< ValueType1, ValueType2 >::ValueType JoinValueType
Traits for a pixel that define the dimension and component type.
~JoinImageFilter() override=default
Light weight base class for most itk classes.
bool operator==(const JoinFunctor &other) const
void SecondCopier(CopierDispatch< 1 >, JoinType &out, unsigned int idx, const TPixel2 &B) const
static constexpr unsigned int JoinDimension
Join the components of two pixel types into a single pixel type.
static constexpr unsigned int Dimension2
typename PixelTraits< TPixel1 >::ValueType ValueType1
void FirstCopier(CopierDispatch< 1 >, JoinType &out, unsigned int idx, const TPixel1 &A) const
typename FunctorType::JoinType OutputImagePixelType
typename Functor::MakeJoin< TInputImage1, TInputImage2 >::ImageType OutputImageType
typename TPixelType::ValueType ValueType
#define itkConceptMacro(name, concept)
void SecondCopier(CopierDispatchBase, JoinType &out, unsigned int idx, const TPixel2 &B) const
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
void FirstCopier(JoinType &out, unsigned int idx, const TPixel1 &A) const
Templated n-dimensional image class.
JoinType operator()(const TPixel1 &A, const TPixel2 &B) const
static constexpr unsigned int Dimension1
void SetFunctor(const std::function< ConstRefFunctionType > &f)