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

Home » Public Forums » archive » Re: Image subtraction values
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: Image subtraction values [message #71573] Sat, 03 July 2010 22:46 Go to previous message
cgguido is currently offline  cgguido
Messages: 195
Registered: August 2005
Senior Member
I am not sure, but it seems strange that you're calculating imageMean
inside the loop, as you fill Volume up with images.... so imageMean is
different for each value of i... is that what you want?


I think you want to loop over i and fill Volume all the way. Then:

imageMean = total(Volume, 3)/nImages ;;;<-- nImages is the same as
count, right?
meanVol=rebin(imageMean, ns, nl, count)
devVol=Volume-meanVol

then write each slice of devVol out to a file...

but I could have misunderstood what you want to do...

G
[Message index]
 
Read Message
Read Message
Previous Topic: REGRESS and sky background
Next Topic: how to define size of image in common case

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

Current Time: Fri Oct 10 17:24:34 PDT 2025

Total time taken to generate the page: 1.36053 seconds