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

Home » Public Forums » archive » summation of bands
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: summation of bands [message #76033 is a reply to message #75953] Fri, 13 May 2011 04:09 Go to previous message
corinnefrey is currently offline  corinnefrey
Messages: 18
Registered: November 2006
Junior Member
Hi

try something like this

outdata = yourdata[*,*,0]

FOR i = 1, N_ELEMENTS(yourdata[0,0,*]) -1 DO BEGIN
outdata = outdata + yourdata[*,*,i]
ENDFOR

maybe there is a faster way to do it, but i am not aware of.

cheers,
corinne



On 5 Mai, 07:42, PRABHJOT KAUR <prabh....@gmail.com> wrote:
> I have to do summation or integration of 37 bands of an hyperspectral
> image in IDL to get final none output image. I tried with total
> command but its not giving any result. Please help me as I am new in
> this field.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Multiple Window
Next Topic: Re: Loading Sorted Images into a 3D array

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

Current Time: Sat Oct 11 09:24:38 PDT 2025

Total time taken to generate the page: 0.32339 seconds