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 #71661 is a reply to message #71573] Mon, 05 July 2010 20:52 Go to previous message
beardown911 is currently offline  beardown911
Messages: 21
Registered: March 2007
Junior Member
On Jul 4, 12:46 am, Gianguido Cianci <gianguido.cia...@gmail.com>
wrote:
> 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

Hi Gianguido,

Thanks for your suggestion.
But I've got exactly same results though.
I've calculated few files using envi bandmath individually, and the
bandmath seems to give right values.
I will keep studying what's wrong on my code is.

Thanks,
Hojin
[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: Sat Oct 11 11:50:40 PDT 2025

Total time taken to generate the page: 0.24228 seconds