Is this the same question:
http://www.javaprogrammingforums.com/whats-wrong-my-code/21829-get-pixel-value-16-bit-grayscale-image.html