X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 20 Jun 2011 11:39 AM by  anon
display an image without bytscl it?
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
20 Jun 2011 11:39 AM
    Whenever I display an image using iimage, or a volume using iVolume, IDL is bytscl the image/volume, and that downgrade the image quality, is there a way to display an image/volume in full resolution (data maybe float, wider range that 0-255)? Thanks

    Deleted User



    New Member


    Posts:
    New Member


    --
    22 Jun 2011 11:39 AM
    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
    You are not authorized to post a reply.