Skip to content

Files

Latest commit

1d0db61 · Jan 12, 2023

History

History
This branch is 410 commits behind sentinel-hub/custom-scripts:main.

ndvi

Normalized difference vegetation index, PlanetScope

Show script or download{:target="_blank"} it.

{% highlight javascript %} {% include_relative script.js %} {% endhighlight %}

Evaluate and visualize

As PlanetScope is commercial data, brought into Sentinel Hub as Bring Your Own Data, direct EO Browser and Sentinel Playgorund links are not possible due to the personalized data credentials.

General description

The well known and widely used NDVI is a simple, but effective index for quantifying green vegetation. It normalizes green leaf scattering in Near Infra-red wavelengths with chlorophyll absorption in red wavelengths.

The value range of the NDVI is -1 to 1. Negative values of NDVI (values approaching -1) correspond to water. Values close to zero (-0.1 to 0.1) generally correspond to barren areas of rock, sand, or snow. Low, positive values represent shrub and grassland (approximately 0.2 to 0.4), while high values indicate temperate and tropical rainforests (values approaching 1). It is a good proxy for live green vegetation; see [1] for details.

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

N D V I := Index ( N I R , R E D ) = N I R R E D N I R + R E D .

For PlanetScope, the index looks like this:

N D V I := Index ( B 4 , B 3 ) = B 4 B 3 B 4 + B 3 .

Description of representative images

NDVI of Rome.

NDVI of Rome

References

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