Package org.itk.simple
Class BinaryThinningImageFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.BinaryThinningImageFilter
This filter computes one-pixel-wide edges of the input image.
This class is parameterized over the type of the input image and the
type of the output image.
The input is assumed to be a binary image. If the foreground pixels of
the input image do not have a value of 1, they are rescaled to 1
internally to simplify the computation.
The filter will produce a skeleton of the object. The output
background values are 0, and the foreground values are 1.
This filter is a sequential thinning algorithm and known to be
computational time dependable on the image size. The algorithm
corresponds with the 2D implementation described in:
Rafael C. Gonzales and Richard E. Woods. Digital Image Processing. Addison Wesley, 491-494, (1993).
To do: Make this filter ND.
See:
MorphologyImageFilter
itk::simple::BinaryThinning for the procedural interface
itk::BinaryThinningImageFilter for the Doxygen on the original ITK class.
C++ includes: sitkBinaryThinningImageFilter.h
-
Field Summary
Fields inherited from class org.itk.simple.ProcessObject
swigCMemOwn
-
Constructor Summary
ConstructorsModifierConstructorDescriptionitk::simple::BinaryThinningImageFilter::BinaryThinningImageFilter() Default Constructor that takes no arguments and initializes default parametersprotected
BinaryThinningImageFilter
(long cPtr, boolean cMemoryOwn) -
Method Summary
Modifier and TypeMethodDescriptionvoid
delete()
virtual itk::simple::BinaryThinningImageFilter::~BinaryThinningImageFilter() DestructorImage itk::simple::BinaryThinningImageFilter::Execute(const Image &image1) Execute the filter on the input imageprotected void
finalize()
protected static long
getName()
std::string itk::simple::BinaryThinningImageFilter::GetName() const Name of this classprotected static long
toString()
std::string itk::simple::BinaryThinningImageFilter::ToString() const Print ourselves outMethods 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
-
BinaryThinningImageFilter
protected BinaryThinningImageFilter(long cPtr, boolean cMemoryOwn) -
BinaryThinningImageFilter
public BinaryThinningImageFilter()itk::simple::BinaryThinningImageFilter::BinaryThinningImageFilter() 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::BinaryThinningImageFilter::~BinaryThinningImageFilter() Destructor- Overrides:
delete
in classImageFilter
-
getName
std::string itk::simple::BinaryThinningImageFilter::GetName() const Name of this class- Overrides:
getName
in classProcessObject
-
toString
std::string itk::simple::BinaryThinningImageFilter::ToString() const Print ourselves out- Overrides:
toString
in classProcessObject
-
execute
Image itk::simple::BinaryThinningImageFilter::Execute(const Image &image1) Execute the filter on the input image
-