NDVI

Calculates NDVI on imagery with RGB and NIR bands.


Analytics platform discontinued after January 31, 2024

The current analytics platform will be discontinued after January 31, 2024, and will be replaced by new advanced processing functionalities. This change will affect projects, workflows, jobs, data blocks, processing blocks, and custom blocks. For more information, see the blog post.

Description

A processing block that computes the Normalized Difference Vegetation Index (NDVI).

See this block on the marketplace.

How it works

NDVI is used as an indicator for vegetation health, and it's computed via the following formula:

NDVI=NIRRedNIR+RedNDVI=\frac{NIR - Red}{NIR + Red}

Input bands are of data type unsigned integer, while the output is of type float. All metadata elements provided by the input dataset as properties are propagated to the output tiles.

ParameterOverview
output_original_rasterboolean / required
If true, the output of the original reflectance raster file is supplied ain addition to the NDVI image. The default value is false.

Compatibility

Data blocks

Catalog collections

Use in combination with Processing from Storage.

Example

A workflow with the following blocks:

{
  "up42-processing-from-storage:1": {
    "asset_ids": ["00210895-5405-4c0r-9bca-ccca551776f9"]
  },
  "ndvi:1": {
    "output_original_raster": false
  }
}

Capabilities

Input

raster
up42_standard
bands
[
  "red",
  "nir"
]
dtype
{
  "or": [
    "uint16",
    "uint8"
  ]
}
formatGTiff
sensor
{
  "or": [
    "Pleiades",
    "SPOT",
    "Hexagon",
    "Sentinel2",
    "Landsat8",
    "PNEO"
  ]
}

Output

To know more please check the block capabilities specifications.