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

Home » Public Forums » archive » Re: Legend creation on an image
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: Legend creation on an image [message #48899] Sat, 03 June 2006 07:40 Go to previous message
elsueniero is currently offline  elsueniero
Messages: 5
Registered: May 2006
Junior Member
It took me a while to realize that those function are not standar ENVI,
but yours.

Indeed, the solution with them was much more easier!
Thank you a lot

Juan

David Fanning wrote:
> elsueniero@gmail.com writes:
>
>> And the result is a grayscale RGB 1,1,1 to 20,20,20 bar. Not the
>> desired result, using the colors I set on the first line.
>>
>> What could be wrong?
>
> This command:
>
> out = TVRD()
>
> Now you have the variable out as an 8-bit image. So,
> you have to Set_Plot to WIN, re-load your colors,
> and set color decomposition OFF to see colors:
>
> Set_Plot, 'WIN"
> Loadct, colors, 1
> Device, Decomposed=0, Get_Decomposed=curState
> TV, out
> Device, Decomposed=curState
>
> Of course, you *could* use TVREAD and TVIMAGE and you
> wouldn't have to worry about most of this. :-)
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: HELP!!!!! How to use IDL to create a move?
Next Topic: how to open three single-band files simultaneously

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

Current Time: Fri Oct 10 04:26:36 PDT 2025

Total time taken to generate the page: 0.64098 seconds