18#ifndef itkBinaryFunctorImageFilter_h
19#define itkBinaryFunctorImageFilter_h
52template <
typename TInputImage1,
typename TInputImage2,
typename TOutputImage,
typename TFunction>
124 const Input2ImagePixelType &
133 virtual const Input2ImagePixelType &
211#ifndef ITK_MANUAL_INSTANTIATION
212# include "itkBinaryFunctorImageFilter.hxx"
TOutputImage OutputImageType
SimpleDataObjectDecorator< Input1ImagePixelType > DecoratedInput1ImagePixelType
virtual void SetInput1(const Input1ImagePixelType &input1)
InPlaceImageFilter< TInputImage1, TOutputImage > Superclass
typename OutputImageType::Pointer OutputImagePointer
typename OutputImageType::PixelType OutputImagePixelType
virtual void SetConstant1(const Input1ImagePixelType &input1)
TInputImage1 Input1ImageType
FunctorType & GetFunctor()
const Input2ImagePixelType & GetConstant() const
virtual void SetInput1(const TInputImage1 *image1)
~BinaryFunctorImageFilter() override=default
typename Input1ImageType::RegionType Input1ImageRegionType
virtual void SetInput2(const TInputImage2 *image2)
virtual void SetInput1(const DecoratedInput1ImagePixelType *input1)
typename OutputImageType::RegionType OutputImageRegionType
typename Input1ImageType::ConstPointer Input1ImagePointer
virtual void SetConstant2(const Input2ImagePixelType &input2)
virtual const Input1ImagePixelType & GetConstant1() const
TInputImage2 Input2ImageType
typename Input1ImageType::PixelType Input1ImagePixelType
void DynamicThreadedGenerateData(const OutputImageRegionType &outputRegionForThread) override
typename Input2ImageType::ConstPointer Input2ImagePointer
static constexpr unsigned int InputImage2Dimension
virtual void SetInput2(const DecoratedInput2ImagePixelType *input2)
typename Input2ImageType::RegionType Input2ImageRegionType
BinaryFunctorImageFilter Self
virtual void SetInput2(const Input2ImagePixelType &input2)
void GenerateOutputInformation() override
virtual const Input2ImagePixelType & GetConstant2() const
SmartPointer< Self > Pointer
void SetConstant(Input2ImagePixelType ct)
SimpleDataObjectDecorator< Input2ImagePixelType > DecoratedInput2ImagePixelType
BinaryFunctorImageFilter()
typename Input2ImageType::PixelType Input2ImagePixelType
SmartPointer< const Self > ConstPointer
static constexpr unsigned int InputImage1Dimension
const FunctorType & GetFunctor() const
static constexpr unsigned int OutputImageDimension
void SetFunctor(const FunctorType &functor)
InPlaceImageFilter()=default
virtual void Modified() const
Decorates any "simple" data type (data types without smart pointers) with a DataObject API.
Implements transparent reference counting.
Functor::Add2< typename TInputImage1::PixelType, typename TInputImage2::PixelType, typename TOutputImage::PixelType > FunctorType
#define itkConceptMacro(name, concept)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....