Re: map_image and latmin/latmax, lonmin/lonmax - edges or centres? [message #86052 is a reply to message #86050] |
Thu, 26 September 2013 10:08   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
David Fanning writes:
> I think that is what is happening here. The five values of our image are
> analogous to the locations of five vertical lines that we are using to
> "separate" the colors. We can only separate them into four colors with
> five lines. So, I think this is just the way interpolation works.
This is one reason, of course, why most people who work with images and
map projections would NEVER think of using Map_Proj_Image or Map_Image,
either. Interpolation fools around with your very hard to acquire and
expensive image pixel values.
It makes MUCH more sense to associate a map projection with the image
itself. In other words, leave the image alone, and just associate the
map projection with the image. This allows you to annotate the image
with map information without actually changing the shape or pixel values
of the image itself.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
|
|
|