|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object
|
+--java.lang.Thread
|
+--ImageDifference
ImageDifference is an algorithm to find the difference between two images
code.iface.imagediff| Fields inherited from class java.lang.Thread |
MAX_PRIORITY,
MIN_PRIORITY,
NORM_PRIORITY |
| Constructor Summary | |
ImageDifference(int firstwidth,
int secondwidth)
Constructs a new Image Difference |
|
| Method Summary | |
int[] |
imagedifference(int[] src1_1d,
int[] src2_1d,
int width,
int height,
float oset,
float scale,
boolean reverse)
Applies the image difference operator on the specified image arrays, with the specified offset and scale value |
int[] |
imagedifference(int[] src1_1d,
int width,
int height,
float oset,
float scale,
int constant)
Subtracts the specified constant value from the specified input image, also using offset and scale values |
int[] |
imagedifference(int constant,
int width,
int height,
float oset,
float scale,
int[] src1_1d)
Subtracts every pixel in the input image from the specified constant value, also using offset and scale values |
| 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 ImageDifference(int firstwidth,
int secondwidth)
firstwidth - The width of the first imagesecondwidth - The width of the second image| Method Detail |
public int[] imagedifference(int[] src1_1d,
int[] src2_1d,
int width,
int height,
float oset,
float scale,
boolean reverse)
src1_1d - The first source image as a pixel arraysrc2_1d - The second source image as a pixel arraywidth - width of the destination image in pixelsheight - height of the destination image in pixelsoset - The offset valuescale - The scale valuereverse - false if image2 - image 1
public int[] imagedifference(int[] src1_1d,
int width,
int height,
float oset,
float scale,
int constant)
src1_1d - The input pixel arraywidth - width of the destination image in pixelsheight - height of the destination image in pixelsoset - The offset valuescale - The scale valueconstant - The constant value to be subtracted from every pixel in the input array
public int[] imagedifference(int constant,
int width,
int height,
float oset,
float scale,
int[] src1_1d)
constant - The constant value to be subtracted from every pixel in the input arraywidth - width of the destination image in pixelsheight - height of the destination image in pixelsoset - The offset valuescale - The scale valuesrc1_1d - The input pixel array
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||