18 #ifndef sitkDerivativeImageFilter_h
19 #define sitkDerivativeImageFilter_h
71 SITK_RETURN_SELF_TYPE_HEADER
SetDirection (
unsigned int Direction ) { this->m_Direction = Direction;
return *
this; }
81 SITK_RETURN_SELF_TYPE_HEADER
SetOrder (
unsigned int Order ) { this->m_Order = Order;
return *
this; }
86 unsigned int GetOrder()
const {
return this->m_Order; }
91 SITK_RETURN_SELF_TYPE_HEADER
SetUseImageSpacing (
bool UseImageSpacing ) { this->m_UseImageSpacing = UseImageSpacing;
return *
this; }
102 std::string
GetName()
const {
return std::string (
"DerivativeImageFilter"); }
105 std::string ToString()
const;
113 Image Execute (
const Image& image1,
unsigned int direction,
unsigned int order,
bool useImageSpacing );
119 typedef Image (Self::*MemberFunctionType)(
const Image& image1 );
120 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
122 template <
class TImageType>
Image ExecuteInternalVectorImage (
const Image& image );
Self & SetOrder(unsigned int Order)
Self & UseImageSpacingOn()
Computes the directional derivative of an image. The directional derivative at each pixel location is...
#define SITKBasicFilters_EXPORT
Image Derivative(const Image &image1, unsigned int direction=0u, unsigned int order=1u, bool useImageSpacing=true)
Computes the directional derivative of an image. The directional derivative at each pixel location is...
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
DerivativeImageFilter Self
Self & SetUseImageSpacing(bool UseImageSpacing)
typelist::MakeTypeList< BasicPixelID< float >, BasicPixelID< double > >::Type RealPixelIDTypeList
unsigned int GetOrder() const
RealPixelIDTypeList PixelIDTypeList
Self & SetDirection(unsigned int Direction)
The Image class for SimpleITK.
std::string GetName() const
Self & UseImageSpacingOff()
bool GetUseImageSpacing() const
The base interface for SimpleITK filters that take one input image.
unsigned int GetDirection() const