18 #ifndef sitkSmoothingRecursiveGaussianImageFilter_h
19 #define sitkSmoothingRecursiveGaussianImageFilter_h
56 typedef typelist::Append<BasicPixelIDTypeList, VectorPixelIDTypeList>::Type
PixelIDTypeList;
63 SITK_RETURN_SELF_TYPE_HEADER
SetSigma (
const std::vector<double> & Sigma ) { this->m_Sigma = Sigma;
return *
this; }
66 SITK_RETURN_SELF_TYPE_HEADER
SetSigma(
double value ) { this->m_Sigma = std::vector<double>(3, value);
return *
this; }
72 std::vector<double>
GetSigma()
const {
return this->m_Sigma; }
79 SITK_RETURN_SELF_TYPE_HEADER
SetNormalizeAcrossScale (
bool NormalizeAcrossScale ) { this->m_NormalizeAcrossScale = NormalizeAcrossScale;
return *
this; }
92 std::string
GetName()
const {
return std::string (
"SmoothingRecursiveGaussianImageFilter"); }
95 std::string ToString()
const;
103 Image Execute (
const Image& image1,
const std::vector<double> & sigma,
bool normalizeAcrossScale );
109 typedef Image (Self::*MemberFunctionType)(
const Image& image1 );
110 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
Computes the smoothing of an image by convolution with the Gaussian kernels implemented as IIR filter...
#define SITKBasicFilters_EXPORT
Self & SetSigma(double value)
typelist::Append< BasicPixelIDTypeList, VectorPixelIDTypeList >::Type PixelIDTypeList
bool GetNormalizeAcrossScale() const
bool m_NormalizeAcrossScale
Self & NormalizeAcrossScaleOn()
Self & SetNormalizeAcrossScale(bool NormalizeAcrossScale)
Self & NormalizeAcrossScaleOff()
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
std::vector< double > GetSigma() const
SmoothingRecursiveGaussianImageFilter Self
Image SmoothingRecursiveGaussian(const Image &image1, double sigma, bool normalizeAcrossScale=false)
Computes the smoothing of an image by convolution with the Gaussian kernels implemented as IIR filter...
Self & SetSigma(const std::vector< double > &Sigma)
std::string GetName() const
The Image class for SimpleITK.
std::vector< double > m_Sigma
The base interface for SimpleITK filters that take one input image.