#include <itkSigmoidImageFilter.h>
Computes the sigmoid function pixel-wise.
A linear transformation is applied first on the argument of the sigmoid function. The resulting total transform is given by
\[f(x) = (Max-Min) \cdot \frac{1}{\left(1+e^{- \frac{ x - \beta }{\alpha}}\right)} + Min \]
Every output pixel is equal to f(x). Where x is the intensity of the homologous input pixel, and alpha and beta are user-provided constants.
Definition at line 143 of file itkSigmoidImageFilter.h.
Static Public Member Functions | |
static Pointer | New () |
![]() | |
static Pointer | New () |
![]() | |
static double | GetGlobalDefaultCoordinateTolerance () |
static double | GetGlobalDefaultDirectionTolerance () |
static void | SetGlobalDefaultCoordinateTolerance (double) |
static void | SetGlobalDefaultDirectionTolerance (double) |
![]() | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool val) |
![]() | |
static void | BreakOnError () |
static Pointer | New () |
Additional Inherited Members | |
![]() | |
static constexpr unsigned int | InputImageDimension |
static constexpr unsigned int | InputImageDimension |
static constexpr unsigned int | OutputImageDimension |
static constexpr unsigned int | OutputImageDimension |
![]() | |
static constexpr unsigned int | InputImageDimension = TInputImage::ImageDimension |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
![]() | |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
![]() | |
using | InputToOutputRegionCopierType |
using | OutputToInputRegionCopierType |
![]() | |
static const ImageRegionSplitterBase * | GetGlobalDefaultSplitter () |
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION | ThreaderCallback (void *arg) |
![]() | |
template<typename TSourceObject> | |
static void | MakeRequiredOutputs (TSourceObject &sourceObject, const DataObjectPointerArraySizeType numberOfRequiredOutputs) |
static constexpr float | progressFixedToFloat (uint32_t fixed) |
static uint32_t | progressFloatToFixed (float f) |
![]() | |
bool | m_DynamicMultiThreading { true } |
![]() | |
TimeStamp | m_OutputInformationMTime {} |
bool | m_Updating {} |
![]() | |
std::atomic< int > | m_ReferenceCount {} |
using itk::SigmoidImageFilter< TInputImage, TOutputImage >::ConstPointer = SmartPointer<const Self> |
Definition at line 159 of file itkSigmoidImageFilter.h.
using itk::SigmoidImageFilter< TInputImage, TOutputImage >::OutputPixelType = typename TOutputImage::PixelType |
Definition at line 161 of file itkSigmoidImageFilter.h.
using itk::SigmoidImageFilter< TInputImage, TOutputImage >::Pointer = SmartPointer<Self> |
Definition at line 158 of file itkSigmoidImageFilter.h.
using itk::SigmoidImageFilter< TInputImage, TOutputImage >::Self = SigmoidImageFilter |
Standard class type aliases.
Definition at line 152 of file itkSigmoidImageFilter.h.
using itk::SigmoidImageFilter< TInputImage, TOutputImage >::Superclass |
Definition at line 153 of file itkSigmoidImageFilter.h.
|
protecteddefault |
Referenced by GetNameOfClass().
|
overrideprotecteddefault |
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::Object.
|
inline |
Definition at line 181 of file itkSigmoidImageFilter.h.
References itk::Functor::Sigmoid< TInput, TOutput >::GetAlpha(), and itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::Sigmoid< TInputImage::PixelType, TOutputImage::PixelType > >::GetFunctor().
Referenced by SetAlpha().
|
inline |
Definition at line 198 of file itkSigmoidImageFilter.h.
References itk::Functor::Sigmoid< TInput, TOutput >::GetBeta(), and itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::Sigmoid< TInputImage::PixelType, TOutputImage::PixelType > >::GetFunctor().
Referenced by SetBeta().
|
overridevirtual |
Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >.
References SigmoidImageFilter().
|
inline |
Definition at line 232 of file itkSigmoidImageFilter.h.
References itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::Sigmoid< TInputImage::PixelType, TOutputImage::PixelType > >::GetFunctor(), and itk::Functor::Sigmoid< TInput, TOutput >::GetOutputMaximum().
Referenced by SetOutputMaximum().
|
inline |
Definition at line 215 of file itkSigmoidImageFilter.h.
References itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::Sigmoid< TInputImage::PixelType, TOutputImage::PixelType > >::GetFunctor(), and itk::Functor::Sigmoid< TInput, TOutput >::GetOutputMinimum().
Referenced by SetOutputMinimum().
|
static |
Method for creation through the object factory.
|
inline |
Definition at line 170 of file itkSigmoidImageFilter.h.
References itk::Math::ExactlyEquals(), GetAlpha(), itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::Sigmoid< TInputImage::PixelType, TOutputImage::PixelType > >::GetFunctor(), itk::Object::Modified(), and itk::Functor::Sigmoid< TInput, TOutput >::SetAlpha().
|
inline |
Definition at line 187 of file itkSigmoidImageFilter.h.
References itk::Math::ExactlyEquals(), GetBeta(), itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::Sigmoid< TInputImage::PixelType, TOutputImage::PixelType > >::GetFunctor(), itk::Object::Modified(), and itk::Functor::Sigmoid< TInput, TOutput >::SetBeta().
|
inline |
Definition at line 221 of file itkSigmoidImageFilter.h.
References itk::Math::ExactlyEquals(), itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::Sigmoid< TInputImage::PixelType, TOutputImage::PixelType > >::GetFunctor(), GetOutputMaximum(), itk::Object::Modified(), and itk::Functor::Sigmoid< TInput, TOutput >::SetOutputMaximum().
|
inline |
Definition at line 204 of file itkSigmoidImageFilter.h.
References itk::Math::ExactlyEquals(), itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::Sigmoid< TInputImage::PixelType, TOutputImage::PixelType > >::GetFunctor(), GetOutputMinimum(), itk::Object::Modified(), and itk::Functor::Sigmoid< TInput, TOutput >::SetOutputMinimum().