28 #ifndef itkBoundedReciprocalImageFilter_h
29 #define itkBoundedReciprocalImageFilter_h
46 template<
typename TInput,
typename TOutput >
59 return !( *
this != other );
64 return static_cast< TOutput
>( 1.0 / ( 1.0 +
static_cast< double >( A ) ) );
69 template<
typename TInputImage,
typename TOutputImage >
73 Functor::BoundedReciprocal<
74 typename TInputImage::PixelType,
75 typename TOutputImage::PixelType > >
82 typename TInputImage::PixelType,
83 typename TOutputImage::PixelType >
96 #ifdef ITK_USE_CONCEPT_CHECKING
BoundedReciprocalImageFilter()
bool operator!=(const BoundedReciprocal &) const
UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::BoundedReciprocal< typename TInputImage::PixelType, typename TOutputImage::PixelType > > Superclass
BoundedReciprocalImageFilter Self
Base class for all process objects that output image data.
SmartPointer< Self > Pointer
SmartPointer< const Self > ConstPointer
Computes 1/(1+x) for each pixel in the image.
bool operator==(const BoundedReciprocal &other) const
Implements pixel-wise generic operation on one image.
virtual ~BoundedReciprocalImageFilter() override
TOutput operator()(const TInput &A) const
#define itkConceptMacro(name, concept)