18 #ifndef itkDivideOrZeroOutImageFilter_h
19 #define itkDivideOrZeroOutImageFilter_h
40 template<
typename TInputImage1,
41 typename TInputImage2=TInputImage1,
42 typename TOutputImage=TInputImage1 >
45 Functor::DivideOrZeroOut<
46 typename TInputImage1::PixelType,
47 typename TInputImage2::PixelType,
48 typename TOutputImage::PixelType > >
55 typename TInputImage1::PixelType,
56 typename TInputImage2::PixelType,
75 os << indent <<
"Threshold: " <<
GetThreshold() << std::endl;
TInputImage2::PixelType DenominatorPixelType
void SetConstant(OutputPixelType constant)
SmartPointer< Self > Pointer
void SetThreshold(DenominatorPixelType threshold)
Base class for all process objects that output image data.
virtual void PrintSelf(std::ostream &os, Indent indent) const override
FunctorType & GetFunctor()
DivideOrZeroOutImageFilter Self
TOutputImage::PixelType OutputPixelType
bool NotExactlyEquals(const TInput1 &x1, const TInput2 &x2)
virtual void Modified() const
virtual ~DivideOrZeroOutImageFilter() override
DivideOrZeroOutImageFilter()
TInputImage1::PixelType NumeratorPixelType
OutputPixelType GetConstant() const
BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, Functor::DivideOrZeroOut< typename TInputImage1::PixelType, typename TInputImage2::PixelType, typename TOutputImage::PixelType > > Superclass
SmartPointer< const Self > ConstPointer
Control indentation during Print() invocation.
DenominatorPixelType GetThreshold() const
void PrintSelf(std::ostream &os, Indent indent) const override
Implements pixel-wise generic operation of two images, or of an image and a constant.