|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Thread | +--LineDetector
LineDetector is an algorithm to find the lines in an image
code.iface.linedet
Fields inherited from class java.lang.Thread |
MAX_PRIORITY,
MIN_PRIORITY,
NORM_PRIORITY |
Constructor Summary | |
LineDetector()
|
Method Summary | |
TwoImages |
apply_lineDetect(int[] src_1d,
int width,
int height,
int kernels,
int thresh,
boolean choice,
float scale,
float offset)
Applies the line detector to the input image |
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 LineDetector()
Method Detail |
public TwoImages apply_lineDetect(int[] src_1d, int width, int height, int kernels, int thresh, boolean choice, float scale, float offset)
src_1d
- The source image as a pixel arraywidth
- width of the destination image in pixelsheight
- height of the destination image in pixelskernels
- Integer which determines which kernels are applied :
1 = Kernel 1, 2 = Kernel 2, 4 = Kernel 3, 8 = Kernel 4.
These values are summed and the result is in kernelsthresh
- The threshold limit for kernel detectionchoice
- Boolean which specifies whether to apply thresholdingscale
- The scale value to apply to the outputoffset
- The offset to add to the output
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |