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

Home » Public Forums » archive » Re: rebin but ignore zero
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: rebin but ignore zero [message #62661 is a reply to message #62660] Sun, 28 September 2008 14:13 Go to previous messageGo to previous message
David Klassen is currently offline  David Klassen
Messages: 27
Registered: December 2004
Junior Member
On Sep 26, 4:15 pm, David Fanning <n...@dfanning.com> wrote:
> David Klassen writes:
>
>> Is there a way to do a rebin that can ignore these "blank" pixels?
>
> In contrast to what the documentation says, REBIN insists on doing
> bilinear sampling when minifying a dimension. You can overcome
> this by setting the SAMPLE keyword. Then nearest-neighbor sampling
> will be enforced, and your data values won't change.

Interesting---so I have to do the opposite of the help. :)

OK, that does it for the most part. I guess the array is just too
sparse
because it is still zeroing out some points, but at least the values
seem
to be OK. Thanks!
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Image file creation file size too large
Next Topic: DUNK DUNK man DUNK women DUNK High man DUNK High women

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

Current Time: Sat Oct 11 23:21:13 PDT 2025

Total time taken to generate the page: 0.32163 seconds