18 #ifndef itkTernaryFunctorImageFilter_h
19 #define itkTernaryFunctorImageFilter_h
38 template<
typename TInputImage1,
typename TInputImage2,
39 typename TInputImage3,
typename TOutputImage,
typename TFunction >
78 void SetInput1(
const TInputImage1 *image1);
81 void SetInput2(
const TInputImage2 *image2);
84 void SetInput3(
const TInputImage3 *image3);
109 if ( !( functor == m_Functor ) )
118 static constexpr
unsigned int Input1ImageDimension = TInputImage1::ImageDimension;
119 static constexpr
unsigned int Input2ImageDimension = TInputImage2::ImageDimension;
120 static constexpr
unsigned int Input3ImageDimension = TInputImage3::ImageDimension;
121 static constexpr
unsigned int OutputImageDimension = TOutputImage::ImageDimension;
123 #ifdef ITK_USE_CONCEPT_CHECKING
140 void BeforeThreadedGenerateData()
override;
160 #ifndef ITK_MANUAL_INSTANTIATION
161 #include "itkTernaryFunctorImageFilter.hxx"
typename OutputImageType::Pointer OutputImagePointer
Light weight base class for most itk classes.
typename Input3ImageType::ConstPointer Input3ImagePointer
typename Input2ImageType::ConstPointer Input2ImagePointer
typename Input1ImageType::PixelType Input1ImagePixelType
typename Input2ImageType::RegionType Input2ImageRegionType
typename Input1ImageType::RegionType Input1ImageRegionType
Implements pixel-wise generic operation of three images.
const FunctorType & GetFunctor() const
typename OutputImageType::PixelType OutputImagePixelType
typename Input2ImageType::PixelType Input2ImagePixelType
typename Input1ImageType::ConstPointer Input1ImagePointer
typename OutputImageType::RegionType OutputImageRegionType
void SetFunctor(const FunctorType &functor)
FunctorType & GetFunctor()
typename Input3ImageType::PixelType Input3ImagePixelType
typename Input3ImageType::RegionType Input3ImageRegionType
Base class for filters that take an image as input and overwrite that image as the output...
ImageBaseType::RegionType RegionType
#define itkConceptMacro(name, concept)