|
ITK
5.2.0
Insight Toolkit
|
Go to the documentation of this file.
28 #ifndef itkBoundedReciprocalImageFilter_h
29 #define itkBoundedReciprocalImageFilter_h
46 template <
typename TInput,
typename TOutput>
61 return !(*
this != other);
67 return static_cast<TOutput>(1.0 / (1.0 + static_cast<double>(A)));
72 template <
typename TInputImage,
typename TOutputImage>
91 #ifdef ITK_USE_CONCEPT_CHECKING
101 #if !defined(ITK_WRAPPING_PARSER)
Functor::BoundedReciprocal< typename TInputImage::PixelType, typename TOutputImage::PixelType > FunctorType
void SetFunctor(const std::function< ConstRefFunctionType > &f)
Implements pixel-wise generic "operation" on one image.
TOutput operator()(const TInput &A) const
Computes 1/(1+x) for each pixel in the image.
Base class for all process objects that output image data.
bool operator==(const BoundedReciprocal &other) const
BoundedReciprocal()=default
BoundedReciprocalImageFilter()
#define itkConceptMacro(name, concept)
bool operator!=(const BoundedReciprocal &) const
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
~BoundedReciprocalImageFilter() override=default
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
~BoundedReciprocal()=default