invert[j] = (byte)(255-j);
ordered[j] = (byte)j;
}
if (op.equals("lookup1byte")) {
ictx.bufImgOp =
new LookupOp(new ByteLookupTable(0, invert),
null);
} else { // (op.equals("lookup3byte"))
byte[][] yellowInvert =
new byte[][] { invert, invert, ordered };
ictx.bufImgOp =
new LookupOp(new ByteLookupTable(0, yellowInvert),
null);
}
} else { // (op.endsWith("short"))
short invert[] = new short[256];
short ordered[] = new short[256];