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

Home » Public Forums » archive » Color conversions
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 Conversion [message #80944 is a reply to message #61247] Fri, 20 July 2012 12:30 Go to previous messageGo to previous message
Marc[1] is currently offline  Marc[1]
Messages: 2
Registered: July 2012
Junior Member
On Friday, July 20, 2012 12:53:30 PM UTC-4, David Fanning wrote:
> Marc writes:
>
> > I am currently working with a 3D array defined by (longitude, latitude, color), with the color dimension being of size 3 representing an RGB color scale. This, however, is causing me some problems since I need to scale the color value to the value that it actually represents on the (longitude, latitude) grid for later conversion, and so I ultimately want a 2D array with the RGB color scale converted to a color index scale from 0 to 255, with 0 as black and 255 as white.
> Any thoughts or suggestions on how to go about doing this process?
> >
>
> http://www.idlcoyote.com/ip_tips/color2gray.html
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

I got it. Thanks for the help!
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: question about trigrid?
Next Topic: plot

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

Current Time: Wed Oct 08 19:55:31 PDT 2025

Total time taken to generate the page: 0.00502 seconds