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

Home » Public Forums » archive » Re: Resizing Oddity
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: Resizing Oddity [message #37859 is a reply to message #37855] Thu, 29 January 2004 02:00 Go to previous message
Bringfried Stecklum is currently offline  Bringfried Stecklum
Messages: 75
Registered: January 1996
Member
David Fanning wrote:

> I have two questions. The first is for all of you.
>
> 1. Why do I have to deconstruct my image to get what I
> expected to get with a single line of code? What is
> Congrid doing in Window 3 that is different from what
> it is doing in Window 4?
>

Dear David,

a quick look at congrid.pro reveals that for 3D arrays, linear interpolation
is always done (INTERP and CUBIC do not have any effect). In case of
2D arrays, however, INTERP=0 will force congrid to behave like rebin
which gives you the desired blocky appearance.

2nd question. What about

tv,congrid(rebin(testdog,400,3,550,/sam),400,3,400),true=2

cheers,

Bringfried

Bringfried Stecklum
Th"uringer Landessternwarte Tautenburg
Sternwarte 5, D - 07778 Tautenburg, Germany
Phone: +49-36427-863-54, FAX: +49-36427-863-29
[Message index]
 
Read Message
Read Message
Previous Topic: Re: Array indexing problem: Appreciated
Next Topic: MacOSX: Xgrid+IDL Anyone?

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

Current Time: Wed Oct 08 18:58:49 PDT 2025

Total time taken to generate the page: 0.00423 seconds