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

Home » Public Forums » archive » Re: Confusions with map_image!
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: Confusions with map_image! [message #66858 is a reply to message #66857] Fri, 12 June 2009 08:05 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
hethomas writes:

> I am not surprised by the results that are in my original grid (the
> one that I made as an amalgamation of my data). The thing that is
> surprising me is that when I use map_image on the image, the values
> change significantly, depending on the window size (and more
> obviously, whether the bilinear keyword is set) etc. It is this that
> has made me wonder how valid the results of Map_image are and what
> variables I should be using to get a "correct" result!

Well, yes, if you are using BILINEAR your results
*will* change with the size of the window! Those
extra pixel values have to come from somewhere.
BILINEAR interpolation will make them up for you.
(Often in the way you *wish* they were, rather than
the way they are.) Better in your case to use
nearest-neighbor interpolation so pixels are
replicated, but original values are not changed.

MAP_IMAGE is really a *display* technique (and a
poor one at that). It would probably be much better
to fit a map coordinate system to your image, rather
than fit the image to your coordinate system. There
are lots of articles on my web page and in the archives
of this newsgroup that address this issue. (Including
one this morning that points out how impossible this
is to do!)

But I would steer well clear of MAP_SET and any of
its associated routines if you really care about map
projected images. :-)

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Checking version number
Next Topic: Confusions with map_image!

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

Current Time: Fri Oct 10 11:39:18 PDT 2025

Total time taken to generate the page: 1.20160 seconds