18 #ifndef sitkGradientMagnitudeImageFilter_h
19 #define sitkGradientMagnitudeImageFilter_h
67 SITK_RETURN_SELF_TYPE_HEADER
SetUseImageSpacing (
bool UseImageSpacing ) { this->m_UseImageSpacing = UseImageSpacing;
return *
this; }
78 std::string
GetName()
const {
return std::string (
"GradientMagnitudeImageFilter"); }
81 std::string ToString()
const;
89 Image Execute (
const Image& image1,
bool useImageSpacing );
95 typedef Image (Self::*MemberFunctionType)(
const Image& image1 );
96 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
GradientMagnitudeImageFilter Self
Image GradientMagnitude(const Image &image1, bool useImageSpacing=true)
Computes the gradient magnitude of an image region at each pixel.
#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
BasicPixelIDTypeList PixelIDTypeList
Computes the gradient magnitude of an image region at each pixel.
std::string GetName() const
Self & UseImageSpacingOn()
The Image class for SimpleITK.
Self & UseImageSpacingOff()
Self & SetUseImageSpacing(bool UseImageSpacing)
bool GetUseImageSpacing() const
The base interface for SimpleITK filters that take one input image.