18 #ifndef sitkDerivativeImageFilter_h
19 #define sitkDerivativeImageFilter_h
77 SITK_RETURN_SELF_TYPE_HEADER
SetDirection (
unsigned int Direction ) { this->m_Direction = Direction;
return *
this; }
87 SITK_RETURN_SELF_TYPE_HEADER
SetOrder (
unsigned int Order ) { this->m_Order = Order;
return *
this; }
92 unsigned int GetOrder()
const {
return this->m_Order; }
97 SITK_RETURN_SELF_TYPE_HEADER
SetUseImageSpacing (
bool UseImageSpacing ) { this->m_UseImageSpacing = UseImageSpacing;
return *
this; }
108 std::string
GetName()
const {
return std::string (
"DerivativeImageFilter"); }
111 std::string ToString()
const;
119 Image Execute (
const Image& image1,
unsigned int direction,
unsigned int order,
bool useImageSpacing );
126 typedef Image (Self::*MemberFunctionType)(
const Image& image1 );
127 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
130 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 main 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