19#ifndef rtkSoftThresholdImageFilter_h
20#define rtkSoftThresholdImageFilter_h
22#include "rtkConfiguration.h"
44template <
class TInput,
class TOutput>
65 return !(*
this != other);
79template <
class TInputImage,
class TOutputImage>
84 Functor::SoftThreshold<typename TInputImage::PixelType, typename TOutputImage::PixelType>>
129#ifndef ITK_MANUAL_INSTANTIATION
130# include "rtkSoftThresholdImageFilter.hxx"
static const T ITKCommon_EXPORT Zero
Decorates any "simple" data type (data types without smart pointers) with a DataObject API.
Implements transparent reference counting.
Implements pixel-wise generic operation on one image.
TOutput operator()(const TInput &A) const
void SetThreshold(const TInput &thresh)
bool operator!=(const SoftThreshold &other) const
bool operator==(const SoftThreshold &other) const
virtual void SetThreshold(InputPixelType threshold)
typename InputImageType::PixelType InputPixelType
SoftThresholdImageFilter Self
itk::SmartPointer< Self > Pointer
itk::UnaryFunctorImageFilter< InputImageType, InputImageType, Functor::SoftThreshold< typename InputImageType::PixelType, typename InputImageType::PixelType > > Superclass
itk::SimpleDataObjectDecorator< InputPixelType > InputPixelObjectType
itk::SmartPointer< const Self > ConstPointer
SoftThresholdImageFilter()
typename InputImageType::PixelType OutputPixelType
~SoftThresholdImageFilter() override=default
#define itkConceptMacro(name, conceptType)
Compile-time check that a template argument satisfies an itk::Concept.
constexpr int sgn(T x)
Sign of a value: -1, 0, or +1.