18 #ifndef sitkGradientRecursiveGaussianImageFilter_h
19 #define sitkGradientRecursiveGaussianImageFilter_h
62 typedef typelist::Append<BasicPixelIDTypeList, VectorPixelIDTypeList>::Type
PixelIDTypeList;
69 SITK_RETURN_SELF_TYPE_HEADER
SetSigma (
double Sigma ) { this->m_Sigma = Sigma;
return *
this; }
73 double GetSigma()
const {
return this->m_Sigma; }
78 SITK_RETURN_SELF_TYPE_HEADER
SetNormalizeAcrossScale (
bool NormalizeAcrossScale ) { this->m_NormalizeAcrossScale = NormalizeAcrossScale;
return *
this; }
92 SITK_RETURN_SELF_TYPE_HEADER
SetUseImageDirection (
bool UseImageDirection ) { this->m_UseImageDirection = UseImageDirection;
return *
this; }
103 std::string
GetName()
const {
return std::string (
"GradientRecursiveGaussianImageFilter"); }
106 std::string ToString()
const;
114 Image Execute (
const Image& image1,
double sigma,
bool normalizeAcrossScale,
bool useImageDirection );
121 typedef Image (Self::*MemberFunctionType)(
const Image& image1 );
122 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 main 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.