|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Thread | +--Thin
Thin is an algorithm to thin a binary image using a 3x3 kernel.
Fields inherited from class java.lang.Thread |
MAX_PRIORITY,
MIN_PRIORITY,
NORM_PRIORITY |
Constructor Summary | |
Thin()
The default constructor with no parameters. |
Method Summary | |
static BinaryFast |
thin_image(BinaryFast binary,
int[] kernel,
int iterations)
Takes an image and a kernel and thins it the specified number of times. |
static BinaryFast |
ThinBinaryRep(BinaryFast b,
int[] kernel)
Takes an image and a kernel and thins it once. |
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 |
public Thin()
Method Detail |
public static BinaryFast ThinBinaryRep(BinaryFast b, int[] kernel)
b
- the BinaryFast input imagekernel
- the thinning kernelpublic static BinaryFast thin_image(BinaryFast binary, int[] kernel, int iterations)
b
- the BinaryFast input imagekernel
- the thinning kerneliterations
- required
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |