Hello,
I need to use a lookup table to filter some BufferedImages. I looked at
a Sun example, which
puts negative values into a byte array by assigning values greater than
127.
byte chlut[] = new byte[256];
for ( int j=0;j<200 ;j++ )
chlut[j]=(byte)(256-j);
ByteLookupTable blut=new ByteLookupTable(0,chlut);
Can someone explain how this works, because I did the same thing, except
with short data,
and it doesn't appear quite right. Does Sun's ImagingLib class handle
these negative values?
Thanks.
jason
=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 2D Home Page: http://java.sun.com/products/java-media/2D/