18 #ifndef sitkGradientImageFilter_h
19 #define sitkGradientImageFilter_h
71 SITK_RETURN_SELF_TYPE_HEADER
SetUseImageSpacing (
bool UseImageSpacing ) { this->m_UseImageSpacing = UseImageSpacing;
return *
this; }
84 SITK_RETURN_SELF_TYPE_HEADER
SetUseImageDirection (
bool UseImageDirection ) { this->m_UseImageDirection = UseImageDirection;
return *
this; }
95 std::string
GetName()
const {
return std::string (
"GradientImageFilter"); }
98 std::string ToString()
const;
106 Image Execute (
const Image& image1,
bool useImageSpacing,
bool useImageDirection );
113 typedef Image (Self::*MemberFunctionType)(
const Image& image1 );
114 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
bool GetUseImageSpacing() const
#define SITKBasicFilters_EXPORT
Self & UseImageSpacingOn()
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
Self & SetUseImageSpacing(bool UseImageSpacing)
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
Self & UseImageDirectionOff()
Image Gradient(const Image &image1, bool useImageSpacing=true, bool useImageDirection=false)
Computes the gradient of an image using directional derivatives.
std::string GetName() const
Computes the gradient of an image using directional derivatives.
Self & UseImageSpacingOff()
Self & SetUseImageDirection(bool UseImageDirection)
The main Image class for SimpleITK.
Self & UseImageDirectionOn()
bool GetUseImageDirection() const
The base interface for SimpleITK filters that take one input image.