The reason for this is that a standard computer monitor can only display pixel values between 0 and 255, on each RGB channel. IIMAGE, as well as the new IMAGE() function, will scale your image to across this range, in order to best display it on your monitor. Most monitors are incapable of displaying at a bit depth higher than this range, so you wouldn't be able to see it anyway.
For example, if you had a float array, with values that ranged from 0.0 to 10.0, you may have a wide range of values in this range, but your monitor is only capable of displaying integer values. And so the data would be binned into each pixel value from 0 to 10, which would result in a very dark image.
Was there something specific you had in mind?
-Josh
ITTVIS
|