Go to the documentation of this file.
18 #ifndef sitkSigmoidImageFilter_h
19 #define sitkSigmoidImageFilter_h
62 SITK_RETURN_SELF_TYPE_HEADER
SetAlpha (
double Alpha ) { this->m_Alpha = Alpha;
return *
this; }
66 double GetAlpha()
const {
return this->m_Alpha; }\
70 SITK_RETURN_SELF_TYPE_HEADER
SetBeta (
double Beta ) { this->m_Beta = Beta;
return *
this; }
74 double GetBeta()
const {
return this->m_Beta; }\
78 SITK_RETURN_SELF_TYPE_HEADER
SetOutputMaximum (
double OutputMaximum ) { this->m_OutputMaximum = OutputMaximum;
return *
this; }
86 SITK_RETURN_SELF_TYPE_HEADER
SetOutputMinimum (
double OutputMinimum ) { this->m_OutputMinimum = OutputMinimum;
return *
this; }
93 std::string
GetName()
const {
return std::string (
"SigmoidImageFilter"); }
96 std::string ToString()
const;
110 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
124 double m_OutputMaximum{255};
126 double m_OutputMinimum{0};
129 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.
typelist2::typelist< BasicPixelID< int8_t >, BasicPixelID< uint8_t >, BasicPixelID< int16_t >, BasicPixelID< uint16_t >, BasicPixelID< int32_t >, BasicPixelID< uint32_t >, BasicPixelID< float >, BasicPixelID< double > > BasicPixelIDTypeList
Self & SetOutputMaximum(double OutputMaximum)
double GetOutputMinimum() const
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)