Sounds like you are trying to display a DICOM image
Currently this is not possible. You have to scale down the image depth to 8bits/channel. Just modify your window function to return values from range 0 -255. We discussed various solutions here http://forums.adobe.com/thread/875413. Vote on this issue in the bug tracker
I have seen this discussion yet but I still have a problem. I need to store the original pixel values because I have to modify the brightness of the image in real time so I need to work with the original pixel values (in 16 bits) and apply the brightness algorithm and after that convert to 8 bits
My problem is work with signed pixel values. My image pixel are signed, so a pixel value can be -100 and I have to display in Bitmap
Does anyone know how to do it?
I think there are 2 ways to do this.
1. You can store original pixel values in a vector, and after each window change modify pixels in the image.
2. If you need speed - split your 16 bit pixel value to 2 8bit parts, save them in a standard image channels, and write a pixelbender shader.