7

Though EVI coefficients have not been developed for Sentinel 2 imagery, I am using the same coefficients used for MODIS to calculate EVI for Sentinel imagery.

I know that Sentinel 2 imagery is TOA reflectance and has a scaling factor of 10000. Hence, can I use the following formula to calculate EVI

(2.5* (NIR/10000-red/10000))/(NIR/10000+(6*red/10000)- (7.5*blue/10000)+1)

I did the above calculation in Arcmap and QGIS but got completely different results- QGIS gave me a plausible range of -0.048 to 0.3915,while ArcMap included a range of -31.68 to 45.17. The mean and std in ArcMap are 0.1718 and 0.0887 leading me to believe that these extreme values are a few pixels only. How do I clip these extra pixels of in ArcMap?

4
  • Have you compared actual pixels in the imagery, or only looked at the provided image statistics? Commented Aug 4, 2016 at 14:57
  • @MikkelLydholmRasmussen- I compared the image statistics, but I also compared pixel values (using the identify tool in both softwares) and they are slightly off. Like I mentioned in the post, I am sure that the extreme values obtained using ArcMap are a few pixels which I need to clip out most likely. Can you suggest a method to do so?
    – tg110
    Commented Aug 4, 2016 at 15:14
  • 1
    @MikkelLydholmRasmussen- Also, do you have any idea whether I can use the scaling factor as above? Divide each bands reflectance value by 10000 or it the scaling factor supposed to be used towards the end?
    – tg110
    Commented Aug 4, 2016 at 15:17
  • 1
    Just a note, you should avoid asking four different questions in one post. Multiple questions doesn't really fit the format of the site. Currently, you are asking 'how to calculate EVI', 'why are the results different in QGis and ArcGIS', 'how do I remove extreme values from a raster calculation' and 'when to apply the reflectance scale factors'. Commented Aug 5, 2016 at 5:34

1 Answer 1

6

Please stick to one question per post in the future. It makes answering significantly easier.

Question 1 - How to calculate EVI:
The formula that you are using is "correct", in the sense that you are using the constants calculated for MODIS.

Question 2 - Why does QGis and ArcGIS provide different results:
Minuscule differences in results most likely originate from different resampling methods used when combining the spectral bands. It is a difficult discover the reason for the differences, without having the data available.

Question 3 - How to remove extreme values from a raster calculation:
Removing those values is best done by adjusting your raster calculation. One approach would be to simply add a parenthesis around the entire equation and multiply it by a pair of 'greater than' and 'less than' calculations.
Example:

(EVI) * (EVI > -1) * (EVI < 1) + (EVI > 1)*1 + (EVI < -1)*(-1)

The above outlined calculation would set all the values below -1 and above 1 to -1 and 1, respectively.

Question 4 - When to apply the scale factors:
The scale factors should be applied when you are using the bands. If you applied them afterwards, to the EVI, then the effect of the constants in the equation would be changed, and your calculations would become incorrect. As such, you use is currently the right one.

1
  • Thank you for your answer! And apologies for the multiple questions in one post. Will post separately in the future.
    – tg110
    Commented Aug 5, 2016 at 13:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.