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

Home » Public Forums » archive » Re: color pixel by index
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: color pixel by index [message #55953 is a reply to message #55952] Mon, 24 September 2007 14:04 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
rpertaub@gmail.com writes:

> However, this seems to combine the 3 masks onto one. I am trying to
> use the 3 masks combined onto a 4th image which ...
> i am essentially taking monochromator images at R,G,B and then color
> image, and want to false color my image using the 3 masks...not sure
> if I am making sense

Maybe you just want image 4 to start out as image 4, and then
my example will work. Instead of this:

image4 = Bytarr(s[0], s[1], 3)

Try this:

image4 = [[[image4]],[[image4]],[[image4]]]

Then, the rest of it.

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
Read Message
Read Message
Previous Topic: ITK and IDL interface
Next Topic: Mosaic_doit

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

Current Time: Sun Oct 12 11:14:31 PDT 2025

Total time taken to generate the page: 2.07920 seconds