ITK
6.0.0
Insight Toolkit
|
#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 144 of file itkSigmoidImageFilter.h.
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 | 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 = ImageToImageFilterDetail::ImageRegionCopier< Self::OutputImageDimension, Self::InputImageDimension > |
using | OutputToInputRegionCopierType = ImageToImageFilterDetail::ImageRegionCopier< Self::InputImageDimension, Self::OutputImageDimension > |
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 160 of file itkSigmoidImageFilter.h.
using itk::SigmoidImageFilter< TInputImage, TOutputImage >::OutputPixelType = typename TOutputImage::PixelType |
Definition at line 162 of file itkSigmoidImageFilter.h.
using itk::SigmoidImageFilter< TInputImage, TOutputImage >::Pointer = SmartPointer<Self> |
Definition at line 159 of file itkSigmoidImageFilter.h.
using itk::SigmoidImageFilter< TInputImage, TOutputImage >::Self = SigmoidImageFilter |
Standard class type aliases.
Definition at line 153 of file itkSigmoidImageFilter.h.
using itk::SigmoidImageFilter< TInputImage, TOutputImage >::Superclass = UnaryFunctorImageFilter<TInputImage, TOutputImage, Functor::Sigmoid<typename TInputImage::PixelType, typename TOutputImage::PixelType> > |
Definition at line 154 of file itkSigmoidImageFilter.h.
|
protecteddefault |
|
overrideprotecteddefault |
|
inline |
Definition at line 182 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 itk::SigmoidImageFilter< TInputImage, TOutputImage >::SetAlpha().
|
inline |
Definition at line 199 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 itk::SigmoidImageFilter< TInputImage, TOutputImage >::SetBeta().
|
overridevirtual |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
|
inline |
Definition at line 233 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 itk::SigmoidImageFilter< TInputImage, TOutputImage >::SetOutputMaximum().
|
inline |
Definition at line 216 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 itk::SigmoidImageFilter< TInputImage, TOutputImage >::SetOutputMinimum().
|
static |
Method for creation through the object factory.
|
inline |
Definition at line 171 of file itkSigmoidImageFilter.h.
References itk::Math::ExactlyEquals(), itk::SigmoidImageFilter< TInputImage, TOutputImage >::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 188 of file itkSigmoidImageFilter.h.
References itk::Math::ExactlyEquals(), itk::SigmoidImageFilter< TInputImage, TOutputImage >::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 222 of file itkSigmoidImageFilter.h.
References itk::Math::ExactlyEquals(), itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::Sigmoid< TInputImage::PixelType, TOutputImage::PixelType > >::GetFunctor(), itk::SigmoidImageFilter< TInputImage, TOutputImage >::GetOutputMaximum(), itk::Object::Modified(), and itk::Functor::Sigmoid< TInput, TOutput >::SetOutputMaximum().
|
inline |
Definition at line 205 of file itkSigmoidImageFilter.h.
References itk::Math::ExactlyEquals(), itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::Sigmoid< TInputImage::PixelType, TOutputImage::PixelType > >::GetFunctor(), itk::SigmoidImageFilter< TInputImage, TOutputImage >::GetOutputMinimum(), itk::Object::Modified(), and itk::Functor::Sigmoid< TInput, TOutput >::SetOutputMinimum().