18 #ifndef itkBinaryFunctorImageFilter_h
19 #define itkBinaryFunctorImageFilter_h
49 template<
typename TInputImage1,
typename TInputImage2,
50 typename TOutputImage,
typename TFunction >
89 virtual void SetInput1(
const TInputImage1 *image1);
103 virtual void SetInput2(
const TInputImage2 *image2);
165 #ifdef ITK_USE_CONCEPT_CHECKING
199 void operator=(const Self &);
205 #ifndef ITK_MANUAL_INSTANTIATION
206 #include "itkBinaryFunctorImageFilter.hxx"
Input2ImageType::RegionType Input2ImageRegionType
OutputImageType::RegionType OutputImageRegionType
void SetFunctor(const FunctorType &functor)
InPlaceImageFilter< TInputImage1, TOutputImage > Superclass
TInputImage1 Input1ImageType
SimpleDataObjectDecorator< Input1ImagePixelType > DecoratedInput1ImagePixelType
virtual void SetConstant2(const Input2ImagePixelType &input2)
virtual ~BinaryFunctorImageFilter()
const FunctorType & GetFunctor() const
virtual const Input1ImagePixelType & GetConstant1() const
static const unsigned int InputImage1Dimension
virtual void SetInput2(const TInputImage2 *image2)
Base class for all process objects that output image data.
BinaryFunctorImageFilter()
Input1ImageType::ConstPointer Input1ImagePointer
static const unsigned int OutputImageDimension
OutputImageType::PixelType OutputImagePixelType
void SetConstant(Input2ImagePixelType ct)
void ThreadedGenerateData(const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId) override
virtual void GenerateOutputInformation() override
Input1ImageType::RegionType Input1ImageRegionType
Decorates any "simple" data type (data types without smart pointers) with a DataObject API...
SmartPointer< Self > Pointer
OutputImageType::Pointer OutputImagePointer
BinaryFunctorImageFilter Self
FunctorType & GetFunctor()
Input2ImageType::PixelType Input2ImagePixelType
Input1ImageType::PixelType Input1ImagePixelType
static const unsigned int InputImage2Dimension
virtual void SetConstant1(const Input1ImagePixelType &input1)
SimpleDataObjectDecorator< Input2ImagePixelType > DecoratedInput2ImagePixelType
virtual void Modified() const
virtual void SetInput1(const TInputImage1 *image1)
virtual const Input2ImagePixelType & GetConstant2() const
SmartPointer< const Self > ConstPointer
unsigned int ThreadIdType
TInputImage2 Input2ImageType
TOutputImage OutputImageType
const Input2ImagePixelType & GetConstant() const
Base class for filters that take an image as input and overwrite that image as the output...
#define itkConceptMacro(name, concept)
Input2ImageType::ConstPointer Input2ImagePointer
Implements pixel-wise generic operation of two images, or of an image and a constant.