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

Home » Public Forums » archive » Re: Overlaying where data
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: Overlaying where data [message #58367 is a reply to message #58284] Fri, 25 January 2008 10:27 Go to previous message
jtmcahill is currently offline  jtmcahill
Messages: 26
Registered: October 2007
Junior Member
On Jan 24, 4:15 pm, David Fanning <n...@dfanning.com> wrote:
> jtmcah...@gmail.com writes:
>> Ok, great! Now do you have a method of doing marking multiple areas
>> at the same time?
>
> LoadCT, 0, NColors=250
> TVLCT, FSC_COLOR(['teal', 'dark green' 'plum','khaki'], /TRIPLE), 250
> I_1 = Where(image ...)
> I_2 = Where(image ...)
> ...
> scaledImage = BytScl(image, Top=249)
> scaledImage[I_1] = 250 ; teal
> scaledImage[I_2] = 251 ; dark green
>
> You can probably spot the pattern evolving here... :-)
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

David,

Great! Thanks! I had to download your library to get some of the
functions of tvlct to work but it works great. Now, I might be
pushing my luck here, but each data area has a range of values as
well. Basically, I modeled a multispectral image array and the areas
I'm highlighting have results of my modeling. If I want to, can I
overlay a false colored tvscl image in a similar manner?

Thanks!
Josh
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: asynchonous/nonblocking IDLnetURL
Next Topic: Long command line wordwrap

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

Current Time: Fri Oct 10 03:57:55 PDT 2025

Total time taken to generate the page: 0.47974 seconds