18 #ifndef sitkSigmoidImageFilter_h
19 #define sitkSigmoidImageFilter_h
70 SITK_RETURN_SELF_TYPE_HEADER
SetAlpha (
double Alpha ) { this->m_Alpha = Alpha;
return *
this; }
74 double GetAlpha()
const {
return this->m_Alpha; }
78 SITK_RETURN_SELF_TYPE_HEADER
SetBeta (
double Beta ) { this->m_Beta = Beta;
return *
this; }
82 double GetBeta()
const {
return this->m_Beta; }
86 SITK_RETURN_SELF_TYPE_HEADER
SetOutputMaximum (
double OutputMaximum ) { this->m_OutputMaximum = OutputMaximum;
return *
this; }
94 SITK_RETURN_SELF_TYPE_HEADER
SetOutputMinimum (
double OutputMinimum ) { this->m_OutputMinimum = OutputMinimum;
return *
this; }
100 std::string
GetName()
const {
return std::string (
"SigmoidImageFilter"); }
103 std::string ToString()
const;
111 Image Execute (
const Image& image1,
double alpha,
double beta,
double outputMaximum,
double outputMinimum );
118 typedef Image (Self::*MemberFunctionType)(
const Image& image1 );
119 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
BasicPixelIDTypeList PixelIDTypeList
Computes the sigmoid function pixel-wise.
std::string GetName() const
#define SITKBasicFilters_EXPORT
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
Self & SetAlpha(double Alpha)
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
Self & SetOutputMinimum(double OutputMinimum)
Self & SetOutputMaximum(double OutputMaximum)
The main Image class for SimpleITK.
double GetOutputMinimum() const
Image Sigmoid(const Image &image1, double alpha=1, double beta=0, double outputMaximum=255, double outputMinimum=0)
Computes the sigmoid function pixel-wise.
The base interface for SimpleITK filters that take one input image.
Self & SetBeta(double Beta)
double GetOutputMaximum() const