18 #ifndef sitkGradientRecursiveGaussianImageFilter_h
19 #define sitkGradientRecursiveGaussianImageFilter_h
56 typedef typelist::Append<BasicPixelIDTypeList, VectorPixelIDTypeList>::Type
PixelIDTypeList;
63 SITK_RETURN_SELF_TYPE_HEADER
SetSigma (
double Sigma ) { this->m_Sigma = Sigma;
return *
this; }
67 double GetSigma()
const {
return this->m_Sigma; }
72 SITK_RETURN_SELF_TYPE_HEADER
SetNormalizeAcrossScale (
bool NormalizeAcrossScale ) { this->m_NormalizeAcrossScale = NormalizeAcrossScale;
return *
this; }
86 SITK_RETURN_SELF_TYPE_HEADER
SetUseImageDirection (
bool UseImageDirection ) { this->m_UseImageDirection = UseImageDirection;
return *
this; }
97 std::string
GetName()
const {
return std::string (
"GradientRecursiveGaussianImageFilter"); }
100 std::string ToString()
const;
108 Image Execute (
const Image& image1,
double sigma,
bool normalizeAcrossScale,
bool useImageDirection );
114 typedef Image (Self::*MemberFunctionType)(
const Image& image1 );
115 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
#define SITKBasicFilters_EXPORT
Self & NormalizeAcrossScaleOn()
Computes the gradient of an image by convolution with the first derivative of a Gaussian.
Self & SetUseImageDirection(bool UseImageDirection)
Self & UseImageDirectionOff()
Self & UseImageDirectionOn()
bool GetUseImageDirection() const
GradientRecursiveGaussianImageFilter Self
std::string GetName() const
Self & SetNormalizeAcrossScale(bool NormalizeAcrossScale)
Self & SetSigma(double Sigma)
The Image class for SimpleITK.
bool m_NormalizeAcrossScale
Self & NormalizeAcrossScaleOff()
Image GradientRecursiveGaussian(const Image &image1, double sigma=1.0, bool normalizeAcrossScale=false, bool useImageDirection=false)
Computes the gradient of an image by convolution with the first derivative of a Gaussian.
bool GetNormalizeAcrossScale() const
typelist::Append< BasicPixelIDTypeList, VectorPixelIDTypeList >::Type PixelIDTypeList
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
The base interface for SimpleITK filters that take one input image.