custom-scripts

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

Landsat 7 ETM+ NDVI

Show script or download it.

Evaluate and Visualize

General description of the script

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

NDVI = (NIR - RED) / (NIR + RED)

For Landsat 7 ETM+, the index looks like this:

NDVI = (B04 - B03) / (B04 + B03)

See also this page.

Description of representative images

NDVI over northern Tunisia. Acquired on 2001-06-23. The script example 1