Re: Problem displaying images on 8 bit monitor [message #50559 is a reply to message #50557] |
Tue, 10 October 2006 08:12   |
Karl Schultz
Messages: 341 Registered: October 1999
|
Senior Member |
|
|
On Tue, 10 Oct 2006 04:54:36 -0600, David Fanning wrote:
> Mark writes:
>
>> This image is a screen-capture using TVRD() of the same variable
>> displayed in IDL using either TV and TVSCL.
>>
>> http://hem.passagen.se/fysikern/idl/idl_display.tif
>>
>>
>> The monitor I have is a CRT high-resolution mammography monitor (around
>> 1500x2500 pixels)
>>
>> Any helpful hints?
>
> I can reproduce the "screwy" image on my display with the
> following commands:
>
>
> IDL> Loadct, 0, NColors=32
> IDL> TV,BytScl( BytScl(bindgen(256) # bindgen(256), Top=31))
>
> I'm not sure what this means (it's not even 5AM in the US
> at the moment!), but the problem seems to do with a restricted
> number of colors. Your monitor would appear to be top-notch.
> A graphics driver problem? I really don't know.
>
> What does HELP, /DEVICE have to say?
>
> Cheers,
>
> David
The problem is that this is a DOME card/monitor that uses 12 bits per
pixel greyscale.
His "other" display programs probably are written specifically for this
card, and that's why the image looks smooth.
IDL isn't leveraging the 12-bit per pixel feature of this device and needs
to be modified to do so.
Mark should forward a request to ITTVIS Tech support, asking that IDL
support this device in 12-bit.
Karl
|
|
|