Package org.itk.simple
Class DerivativeImageFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.DerivativeImageFilter
Computes the directional derivative of an image. The directional
derivative at each pixel location is computed by convolution with a
derivative operator of user-specified order.
SetOrder specifies the order of the derivative.
SetDirection specifies the direction of the derivative with respect to
the coordinate axes of the image.
See:
Image
Neighborhood
NeighborhoodOperator
NeighborhoodIterator
itk::simple::Derivative for the procedural interface
itk::DerivativeImageFilter for the Doxygen on the original ITK class.
C++ includes: sitkDerivativeImageFilter.h
-
Field Summary
Fields inherited from class org.itk.simple.ProcessObject
swigCMemOwn
-
Constructor Summary
ConstructorsModifierConstructorDescriptionitk::simple::DerivativeImageFilter::DerivativeImageFilter() Default Constructor that takes no arguments and initializes default parametersprotected
DerivativeImageFilter
(long cPtr, boolean cMemoryOwn) -
Method Summary
Modifier and TypeMethodDescriptionvoid
delete()
virtual itk::simple::DerivativeImageFilter::~DerivativeImageFilter() DestructorImage itk::simple::DerivativeImageFilter::Execute(const Image &image1) Execute the filter on the input imageprotected void
finalize()
protected static long
long
unsigned int itk::simple::DerivativeImageFilter::GetDirection() const The output pixel type must be signed.getName()
std::string itk::simple::DerivativeImageFilter::GetName() const Name of this classlong
getOrder()
unsigned int itk::simple::DerivativeImageFilter::GetOrder() const The output pixel type must be signed.boolean
bool itk::simple::DerivativeImageFilter::GetUseImageSpacing() const Set/Get whether or not the filter will use the spacing of the input image in its calculations.void
setDirection
(long Direction) Self& itk::simple::DerivativeImageFilter::SetDirection(unsigned int Direction) The output pixel type must be signed.void
setOrder
(long Order) Self& itk::simple::DerivativeImageFilter::SetOrder(unsigned int Order) The output pixel type must be signed.void
setUseImageSpacing
(boolean UseImageSpacing) Self& itk::simple::DerivativeImageFilter::SetUseImageSpacing(bool UseImageSpacing) Set/Get whether or not the filter will use the spacing of the input image in its calculations.protected static long
toString()
std::string itk::simple::DerivativeImageFilter::ToString() const Print ourselves outvoid
Self& itk::simple::DerivativeImageFilter::UseImageSpacingOff()void
Self& itk::simple::DerivativeImageFilter::UseImageSpacingOn() Set the value of UseImageSpacing to true or false respectfully.Methods inherited from class org.itk.simple.ImageFilter
getCPtr, swigRelease
Methods inherited from class org.itk.simple.ProcessObject
abort, addCommand, debugOff, debugOn, getCPtr, getDebug, getGlobalDefaultCoordinateTolerance, getGlobalDefaultDebug, getGlobalDefaultDirectionTolerance, getGlobalDefaultNumberOfThreads, getGlobalDefaultThreader, getGlobalWarningDisplay, getNumberOfThreads, getNumberOfWorkUnits, getProgress, globalDefaultDebugOff, globalDefaultDebugOn, globalWarningDisplayOff, globalWarningDisplayOn, hasCommand, removeAllCommands, setDebug, setGlobalDefaultCoordinateTolerance, setGlobalDefaultDebug, setGlobalDefaultDirectionTolerance, setGlobalDefaultNumberOfThreads, setGlobalDefaultThreader, setGlobalWarningDisplay, setNumberOfThreads, setNumberOfWorkUnits, swigRelease
-
Constructor Details
-
DerivativeImageFilter
protected DerivativeImageFilter(long cPtr, boolean cMemoryOwn) -
DerivativeImageFilter
public DerivativeImageFilter()itk::simple::DerivativeImageFilter::DerivativeImageFilter() Default Constructor that takes no arguments and initializes default parameters
-
-
Method Details
-
getCPtr
-
swigRelease
-
finalize
protected void finalize()- Overrides:
finalize
in classImageFilter
-
delete
public void delete()virtual itk::simple::DerivativeImageFilter::~DerivativeImageFilter() Destructor- Overrides:
delete
in classImageFilter
-
setDirection
public void setDirection(long Direction) Self& itk::simple::DerivativeImageFilter::SetDirection(unsigned int Direction) The output pixel type must be signed. Standard get/set macros for filter parameters. -
getDirection
public long getDirection()unsigned int itk::simple::DerivativeImageFilter::GetDirection() const The output pixel type must be signed. Standard get/set macros for filter parameters. -
setOrder
public void setOrder(long Order) Self& itk::simple::DerivativeImageFilter::SetOrder(unsigned int Order) The output pixel type must be signed. Standard get/set macros for filter parameters. -
getOrder
public long getOrder()unsigned int itk::simple::DerivativeImageFilter::GetOrder() const The output pixel type must be signed. Standard get/set macros for filter parameters. -
setUseImageSpacing
public void setUseImageSpacing(boolean UseImageSpacing) Self& itk::simple::DerivativeImageFilter::SetUseImageSpacing(bool UseImageSpacing) Set/Get whether or not the filter will use the spacing of the input image in its calculations. Use On to compute the derivatives in physical space; use Off to ignore the image spacing and to compute the derivatives in isotropic voxel space. Default is On. -
useImageSpacingOn
public void useImageSpacingOn()Self& itk::simple::DerivativeImageFilter::UseImageSpacingOn() Set the value of UseImageSpacing to true or false respectfully. -
useImageSpacingOff
public void useImageSpacingOff()Self& itk::simple::DerivativeImageFilter::UseImageSpacingOff() -
getUseImageSpacing
public boolean getUseImageSpacing()bool itk::simple::DerivativeImageFilter::GetUseImageSpacing() const Set/Get whether or not the filter will use the spacing of the input image in its calculations. Use On to compute the derivatives in physical space; use Off to ignore the image spacing and to compute the derivatives in isotropic voxel space. Default is On. -
getName
std::string itk::simple::DerivativeImageFilter::GetName() const Name of this class- Overrides:
getName
in classProcessObject
-
toString
std::string itk::simple::DerivativeImageFilter::ToString() const Print ourselves out- Overrides:
toString
in classProcessObject
-
execute
Image itk::simple::DerivativeImageFilter::Execute(const Image &image1) Execute the filter on the input image
-