Go to the documentation of this file.
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 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
128 template <
class TImageType>
Image ExecuteInternalVectorImage (
const Image& image );
The main Image class for SimpleITK.
typelist::MakeTypeList< BasicPixelID< float >, BasicPixelID< double > >::Type RealPixelIDTypeList
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...
Self & SetDirection(unsigned int Direction)
unsigned int GetOrder() const
Self & SetOrder(unsigned int Order)
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
#define SITKBasicFilters_EXPORT
unsigned int GetDirection() const
bool GetUseImageSpacing() const
Self & SetUseImageSpacing(bool UseImageSpacing)
std::string GetName() const
The base interface for SimpleITK filters that take one input image.
Base class for SimpleITK classes based on ProcessObject.
Computes the directional derivative of an image. The directional derivative at each pixel location is...
Self & UseImageSpacingOn()
RealPixelIDTypeList PixelIDTypeList
DerivativeImageFilter Self
Self & UseImageSpacingOff()