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

Home » Public Forums » archive » Re: Finding the median of a set of images
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: Finding the median of a set of images [message #6142 is a reply to message #6136] Thu, 18 April 1996 00:00 Go to previous message
David Foster is currently offline  David Foster
Messages: 341
Registered: January 1996
Senior Member
Dyer Lytle <dlytle@as.arizona.edu> wrote:
>
> Hello all,
>
> Does anyone have an algorithm for finding the median at each pixel
> position for a set of equal size 2-D images? Currently the only way
> I have to do this is to extract all the values for a given pixel
> position into a 1-D array and find the median on that.

This sounds like a good candidate for using CALL_EXTERNAL to
call a routine coded in C or Fortran! If someone can think
of an array-based way to do this in IDL I would be very
impressed.

If you are unfamiliar with using CALL_EXTERNAL zap me an
email and I'll send you some sample code using C routines.
The manual also has some examples, in the Advanced Development
Guide (RSI will send you one [free!] by request only).

Sorry this isn't what you wanted to hear.

Dave Foster
UCSD Brain Image Analysis Lab
foster@bial1.ucsd.edu
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: High color on window95
Next Topic: Correlation analysis routine

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

Current Time: Sat Oct 11 02:17:20 PDT 2025

Total time taken to generate the page: 0.31994 seconds