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

Home » Public Forums » archive » Re: Neither CONGRID nor REBIN...?
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: Neither CONGRID nor REBIN...? [message #48700] Wed, 17 May 2006 10:52 Go to previous message
news.verizon.net is currently offline  news.verizon.net
Messages: 47
Registered: August 2003
Member
The /INTERP keyword to CONGRID does use linear interpolation but as the
documentation notes:

REBIN averages multiple points when shrinking an array, while CONGRID
just resamples the array.

For example, if you are shrinking to a size that is an exact multiple
(e.g. from 500 x 500 to 100 x 100) then adding the /INTERP keyword to
CONGRID does absolutely nothing, since each pixel in the output image
can be precisely mapped to a pixel on the input image. If you are
not shrinking to an exact mulitple of the input size (e.g. 500 x 500 to
99 x 99) , then /INTERP provides more precise sampling, but still only
samples every ~5th pixel rather than averaging.

--Wayne
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: ENVI_OUTPUT_TO_EXTERNAL_FORMAT
Next Topic: Subscription of array (the *-problem)

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

Current Time: Wed Oct 08 15:06:47 PDT 2025

Total time taken to generate the page: 0.00450 seconds