|
ITK
6.0.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkJoinImageFilter_h
19 #define itkJoinImageFilter_h
47 template <
typename TPixel1,
typename TPixel2>
100 template <
unsigned int VDimension>
124 for (
unsigned int i = 0; i <
Dimension1; i++, idx++)
126 out[idx] = static_cast<JoinValueType>(A[i]);
134 out[idx] = static_cast<JoinValueType>(A);
152 for (
unsigned int i = 0; i <
Dimension2; i++, idx++)
154 out[idx] = static_cast<JoinValueType>(B[i]);
162 out[idx] = static_cast<JoinValueType>(B);
167 template <
typename TImage1,
typename TImage2>
205 template <
typename TInputImage1,
typename TInputImage2>
209 typename Functor::MakeJoin<TInputImage1, TInputImage2>::ImageType>
237 #ifdef ITK_USE_CONCEPT_CHECKING
Vector< JoinValueType, Self::JoinDimension > JoinType
static constexpr unsigned int OutputImageDimension
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
bool operator==(const JoinFunctor &) const
Traits for a pixel that define the dimension and component type.
~JoinImageFilter() override=default
ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION(JoinFunctor)
Light weight base class for most itk classes.
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)