18 #ifndef sitkDiscreteGaussianImageFilter_h
19 #define sitkDiscreteGaussianImageFilter_h
80 SITK_RETURN_SELF_TYPE_HEADER
SetVariance (
double Variance ) { this->m_Variance = Variance;
return *
this; }
90 SITK_RETURN_SELF_TYPE_HEADER
SetMaximumKernelWidth (
unsigned int MaximumKernelWidth ) { this->m_MaximumKernelWidth = MaximumKernelWidth;
return *
this; }
99 SITK_RETURN_SELF_TYPE_HEADER
SetMaximumError (
double MaximumError ) { this->m_MaximumError = MaximumError;
return *
this; }
109 SITK_RETURN_SELF_TYPE_HEADER
SetUseImageSpacing (
bool UseImageSpacing ) { this->m_UseImageSpacing = UseImageSpacing;
return *
this; }
120 std::string
GetName()
const {
return std::string (
"DiscreteGaussianImageFilter"); }
123 std::string ToString()
const;
131 Image Execute (
const Image& image1,
double variance,
unsigned int maximumKernelWidth,
double maximumError,
bool useImageSpacing );
138 typedef Image (Self::*MemberFunctionType)(
const Image& image1 );
139 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
Self & SetVariance(double Variance)
bool GetUseImageSpacing() const
#define SITKBasicFilters_EXPORT
Self & UseImageSpacingOff()
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
Self & UseImageSpacingOn()
Self & SetUseImageSpacing(bool UseImageSpacing)
BasicPixelIDTypeList PixelIDTypeList
unsigned int GetMaximumKernelWidth() const
double GetVariance() const
std::string GetName() const
The main Image class for SimpleITK.
Self & SetMaximumKernelWidth(unsigned int MaximumKernelWidth)
Image DiscreteGaussian(const Image &image1, double variance=1.0, unsigned int maximumKernelWidth=32u, double maximumError=0.01, bool useImageSpacing=true)
Blurs an image by separable convolution with discrete gaussian kernels. This filter performs Gaussian...
DiscreteGaussianImageFilter Self
double GetMaximumError() const
Blurs an image by separable convolution with discrete gaussian kernels. This filter performs Gaussian...
Self & SetMaximumError(double MaximumError)
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
unsigned int m_MaximumKernelWidth
The base interface for SimpleITK filters that take one input image.