18 #ifndef sitkNoiseImageFilter_h
19 #define sitkNoiseImageFilter_h
68 SITK_RETURN_SELF_TYPE_HEADER
SetRadius (
const std::vector<unsigned int> & Radius ) { this->m_Radius = Radius;
return *
this; }
71 SITK_RETURN_SELF_TYPE_HEADER
SetRadius(
unsigned int value ) { this->m_Radius = std::vector<unsigned int>(3, value);
return *
this; }
76 std::vector<unsigned int>
GetRadius()
const {
return this->m_Radius; }
78 std::string
GetName()
const {
return std::string (
"NoiseImageFilter"); }
81 std::string ToString()
const;
89 Image Execute (
const Image& image1,
const std::vector<unsigned int> & radius );
95 typedef Image (Self::*MemberFunctionType)(
const Image& image1 );
96 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
98 template <
class TImageType>
Image ExecuteInternalVectorImage (
const Image& image );
BasicPixelIDTypeList PixelIDTypeList
#define SITKBasicFilters_EXPORT
std::vector< unsigned int > GetRadius() 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
Calculate the local noise in an image.
std::vector< unsigned int > m_Radius
std::string GetName() const
Self & SetRadius(const std::vector< unsigned int > &Radius)
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
The Image class for SimpleITK.
Self & SetRadius(unsigned int value)
Image Noise(const Image &image1, const std::vector< unsigned int > &radius=std::vector< unsigned int >(3, 1))
Calculate the local noise in an image.
The base interface for SimpleITK filters that take one input image.