18 #ifndef sitkSpeckleNoiseImageFilter_h
19 #define sitkSpeckleNoiseImageFilter_h
65 SITK_RETURN_SELF_TYPE_HEADER
SetStandardDeviation (
double StandardDeviation ) { this->m_StandardDeviation = StandardDeviation;
return *
this; }
73 SITK_RETURN_SELF_TYPE_HEADER
SetSeed (
uint32_t Seed ) { this->m_Seed = Seed;
return *
this; }
79 std::string
GetName()
const {
return std::string (
"SpeckleNoiseImageFilter"); }
82 std::string ToString()
const;
97 typedef Image (Self::*MemberFunctionType)(
const Image& image1 );
98 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
101 template <
class TImageType>
Image ExecuteInternalVectorImage (
const Image& image );
BasicPixelIDTypeList PixelIDTypeList
Self & SetStandardDeviation(double StandardDeviation)
SpeckleNoiseImageFilter Self
#define SITKBasicFilters_EXPORT
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
std::string GetName() 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
Alter an image with speckle (multiplicative) noise.
double m_StandardDeviation
Self & SetSeed(uint32_t Seed)
Image SpeckleNoise(const Image &image1, double standardDeviation=1.0, uint32_t seed=(uint32_t) itk::simple::sitkWallClock)
Alter an image with speckle (multiplicative) noise.
The main Image class for SimpleITK.
double GetStandardDeviation() const
The base interface for SimpleITK filters that take one input image.