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

Home » Public Forums » archive » Fractional Pixels Origin?
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: Fractional Pixels Origin? [message #47628 is a reply to message #47583] Fri, 17 February 2006 14:28 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
JD Smith writes:

> Sorry, I had it backwards, FITS centers the first pixel at [1,1], and
> the Nasa library uses [0,0] (which is called "IDL convention"). If
> you have a choice, don't choose the FITS standard ([1,1]), or the "IDL
> convention" ([0,0]), but the natural "I'm a tiny ant living on the
> surface of your detector and measuring pixel positions from the edge
> with my tiny little ruler": [0.5,0.5]. The only disadvantage is all
> pixel centers are now fractional.
>
> Wayne is very careful to document the convention in all of the NasaLib
> routines, so if confused be sure to read the useful doc headers (as I
> just did to remedy my confusion!).

Do you think there is such a thing as knowing too much about
a subject? Two days ago as was as happy as a clam. Now I'm
paranoid as hell. :-(

Cheers,

David
--
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
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Processing getting slower and slower?
Next Topic: how to get scale info from a transform matrix?

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

Current Time: Fri Oct 10 12:02:56 PDT 2025

Total time taken to generate the page: 0.08251 seconds