Go to the documentation of this file.
18 #ifndef sitkDerivativeImageFilter_h
19 #define sitkDerivativeImageFilter_h
73 SITK_RETURN_SELF_TYPE_HEADER
SetDirection (
unsigned int Direction ) { this->m_Direction = Direction;
return *
this; }
83 SITK_RETURN_SELF_TYPE_HEADER
SetOrder (
unsigned int Order ) { this->m_Order = Order;
return *
this; }
88 unsigned int GetOrder()
const {
return this->m_Order; }\
93 SITK_RETURN_SELF_TYPE_HEADER
SetUseImageSpacing (
bool UseImageSpacing ) { this->m_UseImageSpacing = UseImageSpacing;
return *
this; }
105 std::string
GetName()
const {
return std::string (
"DerivativeImageFilter"); }
108 std::string ToString()
const;
120 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
122 template <
class TImageType>
Image ExecuteInternalVectorImage (
const Image& image );
129 unsigned int m_Direction{0u};
131 unsigned int m_Order{1u};
133 bool m_UseImageSpacing{
true};
The Image class for SimpleITK.
typelist::MakeTypeList< BasicPixelID< float >, BasicPixelID< double > >::Type 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()