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

Home » Public Forums » archive » Re: Adding a stack of array in quadrature sum
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: Adding a stack of array in quadrature sum [message #65630] Sat, 14 March 2009 09:54 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
joerhee@gmail.com writes:

> I'm working on a stack of image array in which I need to calculate
> quadrature sum of each pixel. I'd like to know if there is any
> program that does it or if anybody know an efficient way to do it.

Assuming that a "quadrature sum" is the square root
of the sum of the squares, I think something like this
would work:

qsum = SQRT( Total(stack^2, 3) )

This assumes that the third dimension is the number of
images in the stack.

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Previous Topic: Re: dfanning widbarb.pro
Next Topic: VISualize 2009 summary

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

Current Time: Thu Oct 09 21:03:29 PDT 2025

Total time taken to generate the page: 1.36229 seconds