X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 26 Jan 2006 03:04 AM by  anon
calculation NDVI
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
26 Jan 2006 03:04 AM
    hi everybody I am working with temporal modis coposite 16 days images. I did a stack layer choosing the NDVI band per one year and I would like to calculate the NDVI per this year. The range of values are betweenn -3000 and 10000. I would like to divide by 10000 in this way I can get the NDVI. the problem is that I dont find the expresion to introduce in bandmath or IDL. Can you help me?? thanks

    Deleted User



    New Member


    Posts:
    New Member


    --
    26 Jan 2006 03:04 AM
    In IDL dividing a band by 10000 is as simple as: my_output_band = my_input_band / 10000.0 Dividing a whole 3D array of bands can be done with the exact same expression. Is this all you are really needing to do? I notice in ENVI's "Vegetation Indices" topic that the NDVI calculation is defined as: (near_infrared_band - red_band) / (near_infrared_band + red_band) which should produce a resulting band with values between -1 and 1. James Jones
    You are not authorized to post a reply.