Class Mat

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--Mat

public class Mat
extends java.lang.Thread

The medial axis transform operator.

Author:
Simon Horne.

Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
Mat()
          Default no-args constructor.
 
Method Summary
 BinaryFast mat_image(BinaryFast binary, double scale, double offset, boolean threshold)
          Takes an image and applies the medial axis transform algorithm by doing a distance transform and then skeletonising the result to remove all unwanted pixels.
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, run, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Mat

public Mat()
Default no-args constructor.
Method Detail

mat_image

public BinaryFast mat_image(BinaryFast binary,
                            double scale,
                            double offset,
                            boolean threshold)
Takes an image and applies the medial axis transform algorithm by doing a distance transform and then skeletonising the result to remove all unwanted pixels.
Parameters:
binary - the BinaryFast input image
Returns:
the new output image