X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 12 Dec 2005 06:17 PM by  anon
help on Image/spectral math
 0 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
12 Dec 2005 06:17 PM
    I want to do a simple ratio of image(*, cols, rows) over spectral (*) using ENVI. I have a IDL code as below, but it does not work through band math function. Any help will be appreciated it. function atmc, b1, s1 ; do the ratio of image to atmos correction spectra imgdim=size(b1,/dimensions) cols=imgdim[1] rows=imgdim[2] for i = 0, rows -1 do begin for m = 0, cols - 1 do begin result = b1(*, m, i) / s1(*) endfor endfor return, result end
    You are not authorized to post a reply.