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 #47637 is a reply to message #47549] Fri, 17 February 2006 05:36 Go to previous messageGo to previous message
mmiller3 is currently offline  mmiller3
Messages: 81
Registered: January 2002
Member
>>>> > "David" == David Fanning <davidf@dfanning.com> writes:

> Then, JD Smith writes:

>> I'd urge those of you making the choice for your programs
>> to save the world confusion, and adopt the "natural"
>> choice: pixels centered on [a.5,b.5].

Here, here! JD - if you were running for office on that platform,
I'd vote for you!

> I'm not sure when (if ever) I am going to *use* fractional
> pixels, but I would like to understand it. :-)

I used to feel the same way, but then I started working on
multimodality medical image registration. In nut shell, I create
registration transformations for each image from pixel
cooridinates to space coordinates. When I want any image
intensity at any point in space, I use the inverse transforms to
take my space coordinates to pixel coordinates and then
interpolate the original data at those pixel coordinates. If I
use integer pixel coordinates, I natually get nearest neighbor
interpolation. If I want to use some other interpolation method,
I need to use fractional pixel coordinates.

Now my main problem is that every time I see a discussion like
this, I have an anxiety attack about whether or not my code
consistently does what I think it does!

Mike
[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:53 PDT 2025

Total time taken to generate the page: 0.00370 seconds