Re: Display and Navigate Image in IDL 8.2 [message #81366 is a reply to message #81350] |
Tue, 11 September 2012 01:03   |
lecacheux.alain
Messages: 325 Registered: January 2008
|
Senior Member |
|
|
Le lundi 10 septembre 2012 23:44:42 UTC+2, David Fanning a écrit :
> I wrote earlier today:
>
>
>
>> I learned today, with some help from the folks at ExcelisVIS,
>
>> how to add a box axis to the image.
>
>>
>
>> The secret is to NOT use the LIMIT and BOX_AXES
>
>> keywords when you create the map projection, since
>
>> this results in a blank window. (I don't know why
>
>> I didn't think of this!)
>
>>
>
>> Rather, you should set the LIMIT and BOX_AXES
>
>> properties on your map projection sometime after
>
>> you display the image and sometime before you
>
>> throw the goddamn computer out the window.
>
>
>
> As I was writing this up for my article on the topic
>
> I noticed that setting the LIMIT like this after the
>
> fact will blur the image substantially. I think this
>
> is because the image will be warped into the map
>
> projection space, which is the thing I am trying
>
> desperately to avoid. :-(
>
>
>
> You can see this by comparing the Coyote Graphics
>
> version of this plot with the Function Graphics
>
> version in this article:
>
>
>
> http://www.idlcoyote.com/ng_tips/mapnogrid.php
>
>
>
> Or, you can run the code in this example and compare
>
> the two results:
>
>
>
> http://www.idlcoyote.com/tip_examples/mapnogrid.pro
>
>
>
> 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.")
> As I was writing this up for my article on the topic
> I noticed that setting the LIMIT like this after the
> fact will blur the image substantially. I think this
> is because the image will be warped into the map
> projection space, which is the thing I am trying
> desperately to avoid. :-(
You should avoid any warping if you simply OVERLAY the image and the map grid calculated by using exactly the SAME projection as the one which was used when the (projected) image was computed.
|
|
|