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

Home » Public Forums » archive » Re: Fractional SHIFT
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 SHIFT [message #28345 is a reply to message #28336] Mon, 03 December 2001 19:55 Go to previous messageGo to previous message
Mark Rivers is currently offline  Mark Rivers
Messages: 49
Registered: February 2000
Member
trouble <the_cacc@hotmail.com> wrote in message
news:5f9f0a23.0112030945.2df9d992@posting.google.com...
> Hi,
>
> Does anyone have a method for doing non-integer shifts ? Interpolate
> doesn't wrap in the way SHIFT does and my hack (based on MOD) is a bit
> dodgy.

> Does anyone know a robust way ?

I use the IDL POLY_2D function for shifting 2-D arrays by fractional pixels
in either direction. I think it will work for 1-D arrays also, but I have
not tested it.

Mark Rivers
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: DICOM writer
Next Topic: Windows XP

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

Current Time: Sat Oct 11 05:47:52 PDT 2025

Total time taken to generate the page: 1.03945 seconds