Go to the documentation of this file.
18 #ifndef sitkDerivativeImageFilter_h
19 #define sitkDerivativeImageFilter_h
72 SITK_RETURN_SELF_TYPE_HEADER
SetDirection (
unsigned int Direction ) { this->m_Direction = Direction;
return *
this; }
82 SITK_RETURN_SELF_TYPE_HEADER
SetOrder (
unsigned int Order ) { this->m_Order = Order;
return *
this; }
87 unsigned int GetOrder()
const {
return this->m_Order; }\
92 SITK_RETURN_SELF_TYPE_HEADER
SetUseImageSpacing (
bool UseImageSpacing ) { this->m_UseImageSpacing = UseImageSpacing;
return *
this; }
104 std::string
GetName()
const {
return std::string (
"DerivativeImageFilter"); }
107 std::string ToString()
const;
119 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
121 template <
class TImageType>
Image ExecuteInternalVectorImage (
const Image& image );
128 unsigned int m_Direction{0u};
130 unsigned int m_Order{1u};
132 bool m_UseImageSpacing{
true};
The Image class for SimpleITK.
typelist2::typelist< BasicPixelID< float >, BasicPixelID< double > > RealPixelIDTypeList
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
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)
Image(Self::*)(const Image &image1) MemberFunctionType
unsigned int GetOrder() const
Self & SetOrder(unsigned int Order)
RealPixelIDTypeList PixelIDTypeList
#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.
Computes the directional derivative of an image. The directional derivative at each pixel location is...
Self & UseImageSpacingOn()
Self & UseImageSpacingOff()