Go to the documentation of this file.
18 #ifndef sitkSigmoidImageFilter_h
19 #define sitkSigmoidImageFilter_h
63 SITK_RETURN_SELF_TYPE_HEADER
SetAlpha (
double Alpha ) { this->m_Alpha = Alpha;
return *
this; }
67 double GetAlpha()
const {
return this->m_Alpha; }\
71 SITK_RETURN_SELF_TYPE_HEADER
SetBeta (
double Beta ) { this->m_Beta = Beta;
return *
this; }
75 double GetBeta()
const {
return this->m_Beta; }\
79 SITK_RETURN_SELF_TYPE_HEADER
SetOutputMaximum (
double OutputMaximum ) { this->m_OutputMaximum = OutputMaximum;
return *
this; }
87 SITK_RETURN_SELF_TYPE_HEADER
SetOutputMinimum (
double OutputMinimum ) { this->m_OutputMinimum = OutputMinimum;
return *
this; }
94 std::string
GetName()
const {
return std::string (
"SigmoidImageFilter"); }
97 std::string ToString()
const;
111 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
125 double m_OutputMaximum{255};
127 double m_OutputMinimum{0};
130 bool m_InPlace{
false};
Self & SetOutputMinimum(double OutputMinimum)
The Image class for SimpleITK.
Image Sigmoid(Image &&image1, double alpha=1, double beta=0, double outputMaximum=255, double outputMinimum=0)
Computes the sigmoid function pixel-wise.
std::string GetName() const
Self & SetAlpha(double Alpha)
Computes the sigmoid function pixel-wise.
Self & SetOutputMaximum(double OutputMaximum)
double GetOutputMinimum() const
typelist::MakeTypeList< BasicPixelID< int8_t >, BasicPixelID< uint8_t >, BasicPixelID< int16_t >, BasicPixelID< uint16_t >, BasicPixelID< int32_t >, BasicPixelID< uint32_t >, BasicPixelID< float >, BasicPixelID< double > >::Type BasicPixelIDTypeList
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
Image(Self::*)(const Image &image1) MemberFunctionType
double GetOutputMaximum() const
#define SITKBasicFilters_EXPORT
BasicPixelIDTypeList PixelIDTypeList
The base interface for SimpleITK filters that take one input image.
Self & SetBeta(double Beta)