Go to the documentation of this file.
18 #ifndef sitkNoiseImageFilter_h
19 #define sitkNoiseImageFilter_h
69 SITK_RETURN_SELF_TYPE_HEADER
SetRadius ( std::vector<unsigned int> Radius ) { this->m_Radius = std::move(Radius);
return *
this; }
72 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; }
79 std::string
GetName()
const {
return std::string (
"NoiseImageFilter"); }
82 std::string ToString()
const;
94 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
96 template <
class TImageType>
Image ExecuteInternalVectorImage (
const Image& image );
104 std::vector<unsigned int> m_Radius{std::vector<unsigned int>(3, 1)};
The Image class for SimpleITK.
Self & SetRadius(unsigned int value)
std::string GetName() const
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
Calculate the local noise in an image.
Image Noise(const Image &image1, std::vector< unsigned int > radius=std::vector< unsigned int >(3, 1))
Calculate the local noise in an image.
Self & SetRadius(std::vector< unsigned int > Radius)
Image(Self::*)(const Image &image1) MemberFunctionType
#define SITKBasicFilters_EXPORT
BasicPixelIDTypeList PixelIDTypeList
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
std::vector< unsigned int > GetRadius() const
The base interface for SimpleITK filters that take one input image.