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

Home » Public Forums » archive » Re: RESIZE_DOIT with INTERP=1 shifts image !!!
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: RESIZE_DOIT with INTERP=1 shifts image !!! [message #51271] Fri, 10 November 2006 06:20
Josip Krizan is currently offline  Josip Krizan
Messages: 5
Registered: November 2006
Junior Member
On Fri, 10 Nov 2006 14:58:53 +0100, Josip Krizan wrote:

> Hi!
>
> I have problem with applying RESIZE_DOIT procedure with bilinear resampling
> on georeferenced images. It seems to me that resulting image is shifted for
> half size of pixel of original image to right and down, for any rfact<1. Is
> it by design or there is a bug or am i doing something wrong.
> I wrote small test routine to demonstrate this. If someone can just look at
> it ...
>
> Thanks,
>
> Code:
>

Just more...
In help it says that in case of downsampling (RFACT>1.0), you cannot use
bilinear and cubic interpolation, and in case you put INTERP=1 it will be
done as if it were INTERP=0. I put RFACT=1.5 in routine I sent and it is
not true!!! Resized images are different! But there is no shifting of
coordinates.

Forget to tell: ENVI4.3 on Windows XP.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: RESIZE_DOIT with INTERP=1 shifts image !!!
Next Topic: Plot 3-D markers in iPlot

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

Current Time: Thu Oct 09 20:51:21 PDT 2025

Total time taken to generate the page: 0.40053 seconds