|
Hi,
Why java display gray image with a big shift to bright side.
I have posted this to JAI but they suggested to try here.
To expose it I attach the code and a
image. You can put code and image in the same directory and run java
MainFrame. My run environment is Windows 2000, Java 1.4.1_01, JAI 1.1.2-beta,
JAI Image I/O 1.0.
The image is a raw image, 8 bit, height = 10,
width=256, for each image line pixel value runs from 0 to 255; When you move
mouse cursor on the image. you will find how JAI display it. Here in my
computer, they are:
image value screen
value
0
0
1 13
2 22
3
28
........
253
254
254
255
255
255
From above result you can see heavy Java haze on
image.
Thanks
|
MainFrame.java
Description: Binary data
test.raw
Description: Binary data
