18 #ifndef sitkSigmoidImageFilter_h
19 #define sitkSigmoidImageFilter_h
64 SITK_RETURN_SELF_TYPE_HEADER
SetAlpha (
double Alpha ) { this->m_Alpha = Alpha;
return *
this; }
68 double GetAlpha()
const {
return this->m_Alpha; }
72 SITK_RETURN_SELF_TYPE_HEADER
SetBeta (
double Beta ) { this->m_Beta = Beta;
return *
this; }
76 double GetBeta()
const {
return this->m_Beta; }
80 SITK_RETURN_SELF_TYPE_HEADER
SetOutputMaximum (
double OutputMaximum ) { this->m_OutputMaximum = OutputMaximum;
return *
this; }
88 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;
105 Image Execute (
const Image& image1,
double alpha,
double beta,
double outputMaximum,
double outputMinimum );
111 typedef Image (Self::*MemberFunctionType)(
const Image& image1 );
112 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 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