18 #ifndef sitkShotNoiseImageFilter_h
19 #define sitkShotNoiseImageFilter_h
96 SITK_RETURN_SELF_TYPE_HEADER
SetScale (
double Scale ) { this->m_Scale = Scale;
return *
this; }
105 SITK_RETURN_SELF_TYPE_HEADER
SetSeed (
uint32_t Seed ) { this->m_Seed = Seed;
return *
this; }
111 std::string
GetName()
const {
return std::string (
"ShotNoiseImageFilter"); }
114 std::string ToString()
const;
128 typedef Image (Self::*MemberFunctionType)(
const Image& image1 );
129 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
131 template <
class TImageType>
Image ExecuteInternalVectorImage (
const Image& image );
#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
Alter an image with shot noise.
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
BasicPixelIDTypeList PixelIDTypeList
The Image class for SimpleITK.
ShotNoiseImageFilter Self
Self & SetScale(double Scale)
std::string GetName() const
Self & SetSeed(uint32_t Seed)
Image ShotNoise(const Image &image1, double scale=1.0, uint32_t seed=(uint32_t) itk::simple::sitkWallClock)
Alter an image with shot noise.
The base interface for SimpleITK filters that take one input image.