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,
116 if ( factor == this->GetFunctor().
GetFactor() )
120 this->GetFunctor().SetFactor(factor);
125 return this->GetFunctor().GetFactor();
128 #ifdef ITK_USE_CONCEPT_CHECKING 143 void operator=(
const Self &) ITK_DELETE_FUNCTION;
bool operator!=(const ExpNegative &other) const
SmartPointer< const Self > ConstPointer
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
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)
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()