18 #ifndef itkExpNegativeImageFilter_h
19 #define itkExpNegativeImageFilter_h
34 template<
typename TInput,
typename TOutput >
53 return !( *
this != other );
58 return static_cast< TOutput
>( std::exp( -
m_Factor * static_cast< double >( A ) ) );
88 template<
typename TInputImage,
typename TOutputImage >
93 typename TInputImage::PixelType,
94 typename TOutputImage::PixelType > >
100 TInputImage, TOutputImage,
128 #ifdef ITK_USE_CONCEPT_CHECKING
bool operator!=(const ExpNegative &other) const
SmartPointer< const Self > ConstPointer
Base class for all process objects that output image data.
ExpNegativeImageFilter Self
SmartPointer< Self > Pointer
bool operator==(const ExpNegative &other) const
Computes the function exp(-K.x) for each input pixel.
void SetFactor(double factor)
bool NotExactlyEquals(const TInput1 &x1, const TInput2 &x2)
virtual void Modified() const
FunctorType & GetFunctor()
Implements pixel-wise generic operation on one image.
UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::ExpNegative< typename TInputImage::PixelType, typename TOutputImage::PixelType > > Superclass
void SetFactor(double factor)
TOutput operator()(const TInput &A) const
#define itkConceptMacro(name, concept)
virtual ~ExpNegativeImageFilter() override