18#ifndef itkDivideOrZeroOutImageFilter_h
19#define itkDivideOrZeroOutImageFilter_h
39template <
typename TInputImage1,
typename TInputImage2 = TInputImage1,
typename TOutputImage = TInputImage1>
53 typename TInputImage2::PixelType,
54 typename TOutputImage::PixelType>;
71 os << indent <<
"Threshold: " <<
GetThreshold() << std::endl;
BinaryGeneratorImageFilter()
void SetFunctor(const std::function< ConstRefFunctionType > &f)
DenominatorPixelType GetThreshold() const
DivideOrZeroOutImageFilter()=default
typename TInputImage1::PixelType NumeratorPixelType
DivideOrZeroOutImageFilter Self
void SetThreshold(DenominatorPixelType threshold)
typename TInputImage2::PixelType DenominatorPixelType
SmartPointer< Self > Pointer
virtual const FunctorType & GetFunctor() const
void PrintSelf(std::ostream &os, Indent indent) const override
FunctorType & GetFunctor()
typename TOutputImage::PixelType OutputPixelType
Functor::DivideOrZeroOut< typename TInputImage1::PixelType, typename TInputImage2::PixelType, typename TOutputImage::PixelType > FunctorType
void BeforeThreadedGenerateData() override
~DivideOrZeroOutImageFilter() override=default
void SetConstant(OutputPixelType constant)
OutputPixelType GetConstant() const
SmartPointer< const Self > ConstPointer
BinaryGeneratorImageFilter< TInputImage1, TInputImage2, TOutputImage > Superclass
void PrintSelf(std::ostream &os, Indent indent) const override
Control indentation during Print() invocation.
virtual void Modified() const
Implements transparent reference counting.
bool NotExactlyEquals(const TInput1 &x1, const TInput2 &x2)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....