X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 23 Jan 2015 01:48 PM by  anon
variation on flat field correction
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



Basic Member


Posts:228
Basic Member


--
23 Jan 2015 01:48 PM
    ENVI's flat-field correction applies the equation: sample/white reference (where sample = pixel spectrum). But I want to use the equation [sample-dark]/[white-dark]. I have heard about using band math to accomplish this, but I am not sure how to go about it with the images I have.

    Deleted User



    Basic Member


    Posts:228
    Basic Member


    --
    23 Jan 2015 01:51 PM
    nstead of Band Math, I think you would want to use the Spectral Math tool. The expression would be something like: (float(s1)-float(s2))/(float(s3)-float(2)) . . . where you set s1 equal to the whole spectral image, s2 equal to the dark spectrum, and s3 equal to the white spectrum. So, you would first open your spectral image. Then you'd bring up a plot showing your white and dark spectra (for example, if they are from pixel spectra, you could use the Spectral Profile tool). Then you would start the Spectral Math tool and enter the above expression. Then you would pair the variables in the equation with the different spectra and images that you already have open. I hope that helps! Peg Exelis VIS
    You are not authorized to post a reply.