18 #ifndef sitkGradientMagnitudeRecursiveGaussianImageFilter_h
19 #define sitkGradientMagnitudeRecursiveGaussianImageFilter_h
67 SITK_RETURN_SELF_TYPE_HEADER
SetSigma (
double Sigma ) { this->m_Sigma = Sigma;
return *
this; }
72 double GetSigma()
const {
return this->m_Sigma; }
77 SITK_RETURN_SELF_TYPE_HEADER
SetNormalizeAcrossScale (
bool NormalizeAcrossScale ) { this->m_NormalizeAcrossScale = NormalizeAcrossScale;
return *
this; }
88 std::string
GetName()
const {
return std::string (
"GradientMagnitudeRecursiveGaussianImageFilter"); }
91 std::string ToString()
const;
99 Image Execute (
const Image& image1,
double sigma,
bool normalizeAcrossScale );
106 typedef Image (Self::*MemberFunctionType)(
const Image& image1 );
107 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
#define SITKBasicFilters_EXPORT
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
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
bool m_NormalizeAcrossScale
Self & SetNormalizeAcrossScale(bool NormalizeAcrossScale)
std::string GetName() const
Image GradientMagnitudeRecursiveGaussian(const Image &image1, double sigma=1.0, bool normalizeAcrossScale=false)
Computes the Magnitude of the Gradient of an image by convolution with the first derivative of a Gaus...
Self & NormalizeAcrossScaleOff()
The main Image class for SimpleITK.
BasicPixelIDTypeList PixelIDTypeList
bool GetNormalizeAcrossScale() const
Self & NormalizeAcrossScaleOn()
GradientMagnitudeRecursiveGaussianImageFilter Self
Self & SetSigma(double Sigma)
Computes the Magnitude of the Gradient of an image by convolution with the first derivative of a Gaus...
The base interface for SimpleITK filters that take one input image.