|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Thread | +--ImageBitShift
ImageBitShift is an algorithm to apply arithmetic BitShift on a image
code.iface.imagebitshift
Fields inherited from class java.lang.Thread |
MAX_PRIORITY,
MIN_PRIORITY,
NORM_PRIORITY |
Constructor Summary | |
ImageBitShift(int firstwidth)
Constructs a new Image Operator |
Method Summary | |
int[] |
doBitShift(int[] src1_1d,
int constant,
boolean shiftleft,
boolean wrap,
int width,
int height,
float oset,
float scale)
BitShifts the specified input image by the constant, also adds offset and scales |
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 ImageBitShift(int firstwidth)
fistwidth
- The width of the input imageMethod Detail |
public int[] doBitShift(int[] src1_1d, int constant, boolean shiftleft, boolean wrap, int width, int height, float oset, float scale)
src1_1d
- The input pixel arrayconstant
- The constant value to shift every pixel value byshiftleft
- Boolean to specify a left or right bit shiftwrap
- Boolean to specify if the shifted values should be wrappedwidth
- width of the destination image in pixelsheight
- height of the destination image in pixelsoset
- The offset valuescale
- The scale value
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |