18#ifndef itkTernaryFunctorImageFilter_h
19#define itkTernaryFunctorImageFilter_h
38template <
typename TInputImage1,
39 typename TInputImage2,
40 typename TInputImage3,
41 typename TOutputImage,
120 if (!(functor == m_Functor))
129 static constexpr unsigned int Input1ImageDimension = TInputImage1::ImageDimension;
130 static constexpr unsigned int Input2ImageDimension = TInputImage2::ImageDimension;
131 static constexpr unsigned int Input3ImageDimension = TInputImage3::ImageDimension;
132 static constexpr unsigned int OutputImageDimension = TOutputImage::ImageDimension;
134#ifdef ITK_USE_CONCEPT_CHECKING
170#ifndef ITK_MANUAL_INSTANTIATION
171# include "itkTernaryFunctorImageFilter.hxx"
Base class for all process objects that output image data.
typename OutputImageType::PixelType OutputImagePixelType
typename OutputImageType::RegionType OutputImageRegionType
TOutputImage OutputImageType
typename OutputImageType::Pointer OutputImagePointer
Base class for filters that take an image as input and overwrite that image as the output.
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Implements pixel-wise generic operation of three images.
void BeforeThreadedGenerateData() override
TInputImage3 Input3ImageType
TInputImage1 Input1ImageType
void SetInput2(const TInputImage2 *image2)
typename Input1ImageType::PixelType Input1ImagePixelType
const FunctorType & GetFunctor() const
FunctorType & GetFunctor()
TernaryFunctorImageFilter()
typename Input2ImageType::RegionType Input2ImageRegionType
typename Input2ImageType::ConstPointer Input2ImagePointer
void SetInput1(const TInputImage1 *image1)
typename Input1ImageType::ConstPointer Input1ImagePointer
typename Input2ImageType::PixelType Input2ImagePixelType
typename Input1ImageType::RegionType Input1ImageRegionType
typename Input3ImageType::ConstPointer Input3ImagePointer
typename Input3ImageType::PixelType Input3ImagePixelType
void SetFunctor(const FunctorType &functor)
typename Input3ImageType::RegionType Input3ImageRegionType
TInputImage2 Input2ImageType
void SetInput3(const TInputImage3 *image3)
void DynamicThreadedGenerateData(const OutputImageRegionType &outputRegionForThread) override
~TernaryFunctorImageFilter() override=default
Functor::Add2< typename TInputImage1::PixelType, typename TInputImage2::PixelType, typename TOutputImage::PixelType > FunctorType
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
#define itkConceptMacro(name, concept)
ImageBaseType::RegionType RegionType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....