});

custom-scripts

A repository of custom scripts that can be used with Sentinel-Hub services.

Normalized difference vegetation index

Show script or download it.

Evaluate and visualize

General description

The normalized difference vegetation index, abbreviated NDVI, is defined as

It is a good proxy for live green vegetation; see [1] for details.

Color legend

NDVI range HTLM color code Color
NDVI < -0.2 #000000
-.2 < NDVI ≤ 0 #a50026
0 < NDVI ≤ .1 #d73027
.1 < NDVI ≤ .2 #f46d43
.2 < NDVI ≤ .3 #fdae61
.3 < NDVI ≤ .4 #fee08b
.4 < NDVI ≤ .5 #ffffbf
.5 < NDVI ≤ .6 #d9ef8b
.6 < NDVI ≤ .7 #a6d96a
.7 < NDVI ≤ .8 #66bd63
.8 < NDVI ≤ .9 #1a9850
.9 < NDVI ≤ 1.0 #006837

References

[1] Wikipedia, Normalized Difference Vegetation Index . Accessed on October 4th 2017.