18#ifndef itkExpNegativeImageFilter_h
19#define itkExpNegativeImageFilter_h
33template <
typename TInput,
typename TOutput>
53 return static_cast<TOutput
>(std::exp(-
m_Factor *
static_cast<double>(A)));
87template <
typename TInputImage,
typename TOutputImage>
92 Functor::ExpNegative<typename TInputImage::PixelType, typename TOutputImage::PixelType>>
129#ifdef ITK_USE_CONCEPT_CHECKING
Computes the function exp(-K.x) for each input pixel.
ExpNegativeImageFilter()=default
~ExpNegativeImageFilter() override=default
void SetFactor(double factor)
TOutput operator()(const TInput &A) const
ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION(ExpNegative)
bool operator==(const ExpNegative &other) const
void SetFactor(double factor)
Base class for all process objects that output image data.
virtual void Modified() const
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Implements pixel-wise generic operation on one image.
FunctorType & GetFunctor()
#define itkConceptMacro(name, concept)
bool ExactlyEquals(const TInput1 &x1, const TInput2 &x2)
Return the result of an exact comparison between two scalar values of potentially different types.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....