X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 30 Mar 2014 11:44 PM by  anon
Band Math for NDWI
 3 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
30 Mar 2014 11:44 PM
    Hi, I am very new to this forum and I am wonder how to calculate the (NDWI....WATER INDEX) of WorldView-2 and SPOT-5 images in ENVI 5.0. I just tried of using band math by inserting (b1-b8) / (b1+b8) for WV-2 but it gave values not in the range of -1 to +1), hundred something. How should I address this issue or else any alternative? Thanks for your anticipation. Zana

    MariM



    Veteran Member


    Posts:2396
    Veteran Member


    --
    31 Mar 2014 05:46 AM
    Did you first calibrate the data to TOA reflectance or radiance?

    Deleted User



    New Member


    Posts:
    New Member


    --
    31 Mar 2014 09:23 PM
    I just proceed with dark pixel subtraction.

    Deleted User



    New Member


    Posts:
    New Member


    --
    26 Apr 2014 11:58 AM
    You are advised to first calibrate surface reflectance of the image. Then, you should check the minimum and maximum reflectance values in each band. If your minimum values are showing negative values just replace them with zero (0). Use this formula in Envi Band math>>> (b1 le 0)*0+(b1 ge 10000)*1+(b1 gt 0 and b1 lt10000)*float(b1)/10000 where b1 is band number. for NDWI calculation, you can write your formula in Envi band math like... (((float(bi)-float(bj))/(float(bi)+float(bj)))) where bi and bj are bands that are use for calculating NDWI. After all these steps, you can get the NDWI ranging from -1 to 1. Cheers!! Rajesh
    You are not authorized to post a reply.