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

Home » Public Forums » archive » Fast way to collapse data cube with median
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Fast way to collapse data cube with median [message #85133] Tue, 09 July 2013 09:08 Go to previous message
stefan.meingast is currently offline  stefan.meingast
Messages: 30
Registered: June 2012
Member
Hey

I am doing a lot of image processing and very often I have a data cube like with the x/y axes corresponding to image coordinates and the z component corresponding to the individual images.

I simply want to calculate the median at each pixel stack and so far I always loop through all pixels and determine the median for each stack. This, of course, can be quite slow for large images since it involves two loops and I was wondering if someone here might have a fancy idea of how to collapse such a cube faster.

thank a lot
:)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Peak detection
Next Topic: CURVEFIT function

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

Current Time: Wed Oct 08 15:13:03 PDT 2025

Total time taken to generate the page: 0.00411 seconds