|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Thread | +--ImageLabel
ImageLabel is an algorithm that applies Connected Component Labeling alogrithm to an input image. Only mono images are catered for.
code.iface.imagelabel
Fields inherited from class java.lang.Thread |
MAX_PRIORITY,
MIN_PRIORITY,
NORM_PRIORITY |
Constructor Summary | |
ImageLabel(int firstwidth)
Constructs a new Image Operator |
Method Summary | |
int[] |
doLabel(int[] src1_1d,
int width,
int height)
doLabel applies the Labeling alogrithm plus offset and scaling The input image is expected to be 8-bit mono 0=black everything else=white |
int |
getColours()
getColours |
int |
getNumberOfLabels()
Returns the number of labels. |
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 ImageLabel(int firstwidth)
firstwidth
- The width of the input imageMethod Detail |
public int[] doLabel(int[] src1_1d, int width, int height)
src1_1d
- The input pixel arraywidth
- width of the destination image in pixelsheight
- height of the destination image in pixelspublic int getColours()
public int getNumberOfLabels()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |