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

Home » Public Forums » archive » Re: 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 #47548 is a reply to message #47547] Thu, 16 February 2006 20:20 Go to previous messageGo to previous message
Greg Hennessy is currently offline  Greg Hennessy
Messages: 45
Registered: November 2005
Member
On 2006-02-17, David Fanning <davidf@dfanning.com> wrote:
> I thought Wayne was saying that the center of the first
> pixel was at [0,0], which would mean the pixel spanned
> the distance (on my ruler) of -0.5 to 0.5. JD seems to
> contradict this.

Well, Wayne is right in that FITS convention says [1,1] is the center
of the pixel. JD argues that saying [0.5,0.5] makes sense, and likens
it to a ruler.

It comes down to history. If you do arrays like Fortran, you say that
[1,1] is the center of the pixel. Fortran programmers say the new
millennium started in 2001.

C programers say the center of the pixel is [0.5,0.5], and that the
millennium started in 2000.
[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
Previous Topic: naming PS plots: variable+ string?
Next Topic: IDLWAVE 6.0 -- idlwave.org

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

Current Time: Wed Oct 08 13:20:49 PDT 2025

Total time taken to generate the page: 0.00405 seconds