|
ITK
5.2.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkSigmoidImageFilter_h
19 #define itkSigmoidImageFilter_h
52 template <
typename TInput,
typename TOutput>
80 return !(*
this != other);
87 const double e = 1.0 / (1.0 + std::exp(-x));
90 return static_cast<TOutput>(v);
149 template <
typename TInputImage,
typename TOutputImage>
153 Functor::Sigmoid<typename TInputImage::PixelType, typename TOutputImage::PixelType>>
244 #ifdef ITK_USE_CONCEPT_CHECKING
OutputPixelType GetOutputMaximum() const
typename TOutputImage::PixelType OutputPixelType
bool operator!=(const Sigmoid &other) const
Implements pixel-wise generic operation on one image.
void SetOutputMinimum(OutputPixelType min)
void SetBeta(double beta)
bool ExactlyEquals(const TInput1 &x1, const TInput2 &x2)
Return the result of an exact comparison between two scalar values of potentially different types.
static constexpr T min(const T &)
bool NotExactlyEquals(const TInput1 &x1, const TInput2 &x2)
Computes the sigmoid function pixel-wise.
void SetOutputMaximum(OutputPixelType max)
TOutput GetOutputMinimum() const
TOutput GetOutputMaximum() const
Base class for all process objects that output image data.
OutputPixelType GetOutputMinimum() const
SigmoidImageFilter()=default
bool operator==(const Sigmoid &other) const
void SetOutputMaximum(TOutput max)
void SetAlpha(double alpha)
static constexpr T max(const T &)
~SigmoidImageFilter() override=default
#define itkConceptMacro(name, concept)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
void SetOutputMinimum(TOutput min)
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
void SetAlpha(double alpha)
FunctorType & GetFunctor()
static constexpr double e
void SetBeta(double beta)
virtual void Modified() const
TOutput operator()(const TInput &A) const