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

Home » Public Forums » archive » IDLgrImage and the channel keyword
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
IDLgrImage and the channel keyword [message #90167] Wed, 04 February 2015 13:02 Go to previous message
ronn kling[1] is currently offline  ronn kling[1]
Messages: 16
Registered: March 2014
Junior Member
All,

Has anyone figured out how to use the channel keyword for IDLgrImage?

If you try this

file = 'E:\Program Files\Exelis\IDL84\examples\data\rose.jpg'
im = read_image(file)
xobjview, obj_new('IDLgrImage',im, channel='ff0000'x)

What I expect to see is a red channel image, but instead I see cyan which is a combination of green and blue. So it is almost acting like a color subtraction. But if you try other hex combinations they don't work like subtractions either.

Any ideas????

Ronn Kling
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Locking graphics in GUI / disable resize, rotate or translate
Next Topic: Image Subset

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

Current Time: Wed Oct 08 09:19:33 PDT 2025

Total time taken to generate the page: 0.00467 seconds