comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » tvrd failure on v5 on win95
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: tvrd failure on v5 on win95 [message #9244 is a reply to message #9112] Wed, 04 June 1997 00:00 Go to previous message
Mirko Vukovic is currently offline  Mirko Vukovic
Messages: 124
Registered: January 1996
Senior Member
Struan Gray wrote:
>
> Mirko Vukovic, mirko.vukovic@grc.varian.com writes:
>
>> (some of you may recognize it as part of Struan's
>> surface plotting tutorial).
>
> I thought it looked familiar :-)
>
>> _depending_ on the color table loaded with LOADCT (I
>> tried 6 and 25), clr_surf contains a severely defficient
>> image. Do a tv,clr_surf, and you will get either only the
>> axes drawn (for color table 25) or a surface image but with
>> colors that do not correspond to the original (for color
>> table 6)
>
> It could be a bug in v5.0 but I would guess you are doing this on
> a 16-bit or 24-bit display where TVRD doesn't return the colour index
> used to plot the image, but instead gives you whichever of the red,
> green and blue values for each pixel is largest. With some colour
> tables this can give very different results from what you get on an
> 8-bit display.

I'll look into that, but I am doubtfull, since I am already specifying
device,/decomposed=0 (to enforce the 8bit mode).

thanks
--
Mirko Vukovic, Ph.D 3075 Hansen Way M/S K-109
Varian Associates Palo Alto, CA, 94304
415/424-4969 mirko.vukovic@varian.grc.com
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDL signal processing procedures
Next Topic: Re: Gradient of an Image in IDL

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Oct 09 20:00:54 PDT 2025

Total time taken to generate the page: 0.00393 seconds