#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 140 of file itkSigmoidImageFilter.h.
Inheritance diagram for itk::SigmoidImageFilter< TInputImage, TOutputImage >:
Collaboration diagram for itk::SigmoidImageFilter< TInputImage, TOutputImage >:Static Public Member Functions | |
| static Pointer | New () |
Static Public Member Functions inherited from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::Sigmoid< TInputImage::PixelType, TOutputImage::PixelType > > | |
| static Pointer | New () |
Static Public Member Functions inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
| static double | GetGlobalDefaultCoordinateTolerance () |
| static double | GetGlobalDefaultDirectionTolerance () |
| static void | SetGlobalDefaultCoordinateTolerance (double) |
| static void | SetGlobalDefaultDirectionTolerance (double) |
Static Public Member Functions inherited from itk::Object | |
| static bool | GetGlobalWarningDisplay () |
| static void | GlobalWarningDisplayOff () |
| static void | GlobalWarningDisplayOn () |
| static Pointer | New () |
| static void | SetGlobalWarningDisplay (bool val) |
Static Public Member Functions inherited from itk::LightObject | |
| static void | BreakOnError () |
| static Pointer | New () |
Additional Inherited Members | |
Static Public Attributes inherited from itk::InPlaceImageFilter< TInputImage, TOutputImage > | |
| static constexpr unsigned int | InputImageDimension |
| static constexpr unsigned int | InputImageDimension |
| static constexpr unsigned int | OutputImageDimension |
| static constexpr unsigned int | OutputImageDimension |
Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
| static constexpr unsigned int | InputImageDimension = TInputImage::ImageDimension |
| static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageSource< TOutputImage > | |
| static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Protected Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
| using | InputToOutputRegionCopierType |
| using | OutputToInputRegionCopierType |
Static Protected Member Functions inherited from itk::ImageSource< TOutputImage > | |
| static const ImageRegionSplitterBase * | GetGlobalDefaultSplitter () |
| static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION | ThreaderCallback (void *arg) |
Static Protected Member Functions inherited from itk::ProcessObject | |
| template<typename TSourceObject> | |
| static void | MakeRequiredOutputs (TSourceObject &sourceObject, const DataObjectPointerArraySizeType numberOfRequiredOutputs) |
| static constexpr float | progressFixedToFloat (uint32_t fixed) |
| static uint32_t | progressFloatToFixed (float f) |
Protected Attributes inherited from itk::ImageSource< TOutputImage > | |
| bool | m_DynamicMultiThreading { true } |
Protected Attributes inherited from itk::ProcessObject | |
| TimeStamp | m_OutputInformationMTime {} |
| bool | m_Updating {} |
Protected Attributes inherited from itk::LightObject | |
| std::atomic< int > | m_ReferenceCount {} |
| using itk::SigmoidImageFilter< TInputImage, TOutputImage >::ConstPointer = SmartPointer<const Self> |
Definition at line 156 of file itkSigmoidImageFilter.h.
| using itk::SigmoidImageFilter< TInputImage, TOutputImage >::OutputPixelType = typename TOutputImage::PixelType |
Definition at line 158 of file itkSigmoidImageFilter.h.
| using itk::SigmoidImageFilter< TInputImage, TOutputImage >::Pointer = SmartPointer<Self> |
Definition at line 155 of file itkSigmoidImageFilter.h.
| using itk::SigmoidImageFilter< TInputImage, TOutputImage >::Self = SigmoidImageFilter |
Standard class type aliases.
Definition at line 149 of file itkSigmoidImageFilter.h.
| using itk::SigmoidImageFilter< TInputImage, TOutputImage >::Superclass |
Definition at line 150 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.
|
inlinenodiscard |
Definition at line 178 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().
|
inlinenodiscard |
Definition at line 195 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().
|
virtual |
|
inline |
Definition at line 229 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 212 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 167 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 184 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 218 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 201 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().