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

Home » Public Forums » archive » Resample (neighborhood averaging) a 3D array with missing data
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Resample (neighborhood averaging) a 3D array with missing data [message #86762] Sun, 01 December 2013 17:51 Go to previous message
zhangj.sdu is currently offline  zhangj.sdu
Messages: 6
Registered: December 2013
Junior Member
Hello, everyone:

I want to resample a 128x20000x32 (sample,line, band) image with missing data into a 32x5000x32 image, using neighborhood averaging over 4x4 pixels.
The REBIN function cannot help, since it has no NaN keyword like MEAN; The "Average Arrays with Missing Data" tip in the "Examples To Illuminate the IDL Way" is for two arrays (http://www.idlcoyote.com/idl_way/smallexamples.html).

The total amount of images is hundreds of gigabytes. Is there any fast solution to this?

Thanks.
Clark
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDL 8.3???
Next Topic: Color Data with Colorbar OOB Colors

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

Current Time: Wed Oct 08 15:07:26 PDT 2025

Total time taken to generate the page: 0.00397 seconds