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

Home » Public Forums » archive » Re: RGB False color
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: RGB False color [message #56345] Thu, 18 October 2007 12:14
ianpaul.freeley is currently offline  ianpaul.freeley
Messages: 18
Registered: March 2007
Junior Member
You need to scale the data somehow since you can only display 256
colors. To take matters into your own hands, use bytscl and set the
range of values you want scaled. For example stick this before your
current code:
final_blu=bytscl(final_blu > 0 < 1000) ;or whatever range of values
you like
final_grn=bytscl(final_grn > 0 < 1000)
final_red=bytscl(final_red > 0 < 1000)

now if you use tv, the red intensity should be the same in both
final_image and final_red. It also kind of sounds like you want the
intensity of all the colors to scale with the red channel. I'd just
try multiplying the images by final_red (before the bytscl) to make
that happen.

cheers,
IP Freeley
[Message index]
 
Read Message
Previous Topic: Re: is there any IDL code for 6S atmosphere model?
Next Topic: Problems with visual depth of 24 in IDL 6.1

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

Current Time: Fri Oct 10 13:02:59 PDT 2025

Total time taken to generate the page: 0.47779 seconds