18 #ifndef sitkGradientMagnitudeRecursiveGaussianImageFilter_h
19 #define sitkGradientMagnitudeRecursiveGaussianImageFilter_h
61 SITK_RETURN_SELF_TYPE_HEADER
SetSigma (
double Sigma ) { this->m_Sigma = Sigma;
return *
this; }
66 double GetSigma()
const {
return this->m_Sigma; }
71 SITK_RETURN_SELF_TYPE_HEADER
SetNormalizeAcrossScale (
bool NormalizeAcrossScale ) { this->m_NormalizeAcrossScale = NormalizeAcrossScale;
return *
this; }
82 std::string
GetName()
const {
return std::string (
"GradientMagnitudeRecursiveGaussianImageFilter"); }
85 std::string ToString()
const;
93 Image Execute (
const Image& image1,
double sigma,
bool normalizeAcrossScale );
99 typedef Image (Self::*MemberFunctionType)(
const Image& image1 );
100 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 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.