|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Thread | +--AdapThresh
AdapThresh is an algorithm to apply adaptive thresholding to an image.
code.iface.adapthresh
Fields inherited from class java.lang.Thread |
MAX_PRIORITY,
MIN_PRIORITY,
NORM_PRIORITY |
Constructor Summary | |
AdapThresh()
|
Method Summary | |
int[] |
mean_thresh(int[] src,
int width,
int height,
int size,
int con)
Applies the adaptive thresholding operator to the specified image array using the mean function to find the threshold value |
int[] |
meanMaxMin_thresh(int[] src,
int width,
int height,
int size,
int con)
Applies the adaptive thresholding operator to the specified image array using the mean of max & min function to find the threshold value |
int[] |
median_thresh(int[] src,
int width,
int height,
int size,
int con)
Applies the adaptive thresholding operator to the specified image array using the median function to find the threshold value |
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 AdapThresh()
Method Detail |
public int[] mean_thresh(int[] src, int width, int height, int size, int con)
src
- pixel array representing image to be thresholdedwidth
- width of the image in pixelsheight
- height of the image in pixelssize
- the size of the neigbourhood used in finding the thresholdcon
- the constant value subtracted from the meanpublic int[] median_thresh(int[] src, int width, int height, int size, int con)
src
- pixel array representing image to be thresholdedwidth
- width of the image in pixelsheight
- height of the image in pixelssize
- the size of the neigbourhood used in finding the thresholdcon
- the constant value subtracted from the medianpublic int[] meanMaxMin_thresh(int[] src, int width, int height, int size, int con)
src
- pixel array representing image to be thresholdedwidth
- width of the image in pixelsheight
- height of the image in pixelssize
- the size of the neigbourhood used in finding the thresholdcon
- the constant value subtracted from the mean
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |