Go to the documentation of this file.
18 #ifndef sitkSpeckleNoiseImageFilter_h
19 #define sitkSpeckleNoiseImageFilter_h
79 SITK_RETURN_SELF_TYPE_HEADER
SetStandardDeviation (
double StandardDeviation ) { this->m_StandardDeviation = StandardDeviation;
return *
this; }
88 SITK_RETURN_SELF_TYPE_HEADER
SetSeed ( uint32_t Seed ) { this->m_Seed = Seed;
return *
this; }
92 uint32_t
GetSeed()
const {
return this->m_Seed; }
95 std::string
GetName()
const {
return std::string (
"SpeckleNoiseImageFilter"); }
98 std::string ToString()
const;
112 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
114 template <
class TImageType>
Image ExecuteInternalVectorImage (
const Image& image );
121 double m_StandardDeviation{1.0};
126 bool m_InPlace{
false};
The Image class for SimpleITK.
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
std::string GetName() const
Image SpeckleNoise(Image &&image1, double standardDeviation=1.0, uint32_t seed=(uint32_t) itk::simple::sitkWallClock)
Alter an image with speckle (multiplicative) noise.
Image(Self::*)(const Image &image1) MemberFunctionType
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
BasicPixelIDTypeList PixelIDTypeList
#define SITKBasicFilters_EXPORT
Self & SetStandardDeviation(double StandardDeviation)
Alter an image with speckle (multiplicative) noise.
The base interface for SimpleITK filters that take one input image.
double GetStandardDeviation() const
Self & SetSeed(uint32_t Seed)