/

NDVI

Calculates NDVI on imagery with RGB and NIR bands.


Introduction

For more information, please read the block description.

Block type: PROCESSING

This block computes the Normalized Difference Vegetation Index (NDVI) from Pléiades, SPOT or Hexagon images. This block can only process outputs from the data blocks Pléiades Reflectance (Download) or SPOT 6/7 Reflectance (Download). The data blocks need to first be converted to GeoTIFF with the processing blocks DIMAP -> GeoTIFF Conversion or Pan-sharpening SPOT/Pléiades.

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

NDVI=NIR-Red/NIR+Red

Supported parameters

  • output_original_raster: Output the original reflectance raster file in addition to the NDVI image is supplied as well

Example parameters using the data block Pléiades Reflectance (Download) and the processing block Pan-sharpening Pléiades/SPOT:

{
  "oneatlas-pleiades-fullscene:1": {
    "ids": null,
    "bbox": [
      112.92237013578416,
      0.8438737493332328,
      112.93480049818756,
      0.8715453455591357
    ],
    "time": null,
    "limit": 1,
    "order_ids": null,
    "time_series": null
  },
  "pansharpen:1": {
    "method": "SFIM",
    "include_pan": false
  },
  "ndvi:1": {
    "output_original_raster": false
    }
}

Output format

Output and input format are both GeoTIFF, but 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.

Capabilities

Input

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

Output

To know more please check the block capabilities specifications.