|
ITK
5.2.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkDivideOrZeroOutImageFilter_h
19 #define itkDivideOrZeroOutImageFilter_h
40 template <
typename TInputImage1,
typename TInputImage2 = TInputImage1,
typename TOutputImage = TInputImage1>
53 typename TInputImage2::PixelType,
54 typename TOutputImage::PixelType>;
71 os << indent <<
"Threshold: " <<
GetThreshold() << std::endl;
void PrintSelf(std::ostream &os, Indent indent) const override
typename TInputImage2::PixelType DenominatorPixelType
FunctorType & GetFunctor()
DivideOrZeroOutImageFilter()=default
virtual const FunctorType & GetFunctor() const
~DivideOrZeroOutImageFilter() override=default
Implements pixel-wise generic operation of two images, or of an image and a constant.
Control indentation during Print() invocation.
bool NotExactlyEquals(const TInput1 &x1, const TInput2 &x2)
DenominatorPixelType GetThreshold() const
void SetThreshold(DenominatorPixelType threshold)
Base class for all process objects that output image data.
OutputPixelType GetConstant() const
void PrintSelf(std::ostream &os, Indent indent) const override
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
typename TInputImage1::PixelType NumeratorPixelType
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
typename TOutputImage::PixelType OutputPixelType
void SetConstant(OutputPixelType constant)
void BeforeThreadedGenerateData() override
virtual void Modified() const
void SetFunctor(const std::function< ConstRefFunctionType > &f)
Functor::DivideOrZeroOut< typename TInputImage1::PixelType, typename TInputImage2::PixelType, typename TOutputImage::PixelType > FunctorType