18 #ifndef __itkExpNegativeImageFilter_h
19 #define __itkExpNegativeImageFilter_h
22 #include "vnl/vnl_math.h"
33 template<
typename TInput,
typename TOutput >
52 return !( *
this != other );
57 return static_cast< TOutput
>( std::exp( -
m_Factor * static_cast< double >( A ) ) );
87 template<
typename TInputImage,
typename TOutputImage >
92 typename TInputImage::PixelType,
93 typename TOutputImage::PixelType > >
99 TInputImage, TOutputImage,
127 #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)
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()
void operator=(const Self &)