Question: how to calculate ndvi in envi?
Answer: From the Toolbox, select Spectral > Vegetation > NDVI. ...  Select an input file and perform optional spatial subsetting, then click OK. ...  ENVI automatically determines the bands needed to calculate NDVI in the Red and Near IR fields. ...  Select output to File or Memory.