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

Home » Public Forums » archive » Re: Array indices and lookup tables
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: Array indices and lookup tables [message #39755 is a reply to message #39754] Wed, 09 June 2004 06:42 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Haje Korth writes:

> I am working on a coordinate transformation for a map and I have a simple
> problem. My mind is alreay blocked early in the morning and I could use some
> input: I have an rgb image of dimensions [3,1440, 720]. I need to rearranged
> the pixel in the image according to a lookup table of dimension
> [2,1440,360], which contains the column and row of the new pixel assigned to
> a location. Is there a magic way to do this without looping through each
> pixel in IDL?

Oh, dear. Come back after I've had a couple of cups
of coffee, would you. :-(

Cheers,

David

P.S. With the (what!?) thousand different map projections
now in IDL, are you *sure* you need a look-up table? :-)

--
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
Read Message
Read Message
Previous Topic: Object Graphics Fonts
Next Topic: IsoSurface Contour projection

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

Current Time: Sat Oct 11 10:10:36 PDT 2025

Total time taken to generate the page: 0.80060 seconds