|
ITK
6.0.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkSigmoidImageFilter_h
19 #define itkSigmoidImageFilter_h
52 template <
typename TInput,
typename TOutput>
81 const double e = 1.0 / (1.0 + std::exp(-x));
84 return static_cast<TOutput>(v);
143 template <
typename TInputImage,
typename TOutputImage>
147 Functor::Sigmoid<typename TInputImage::PixelType, typename TOutputImage::PixelType>>
238 #ifdef ITK_USE_CONCEPT_CHECKING
OutputPixelType GetOutputMaximum() const
typename TOutputImage::PixelType OutputPixelType
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 &)
ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION(Sigmoid)
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