compute_ndvi
Calculate NDVI (Normalized Difference Vegetation Index) from input raster bands, specifying red and near-infrared band indices, and save the result as a GeoTIFF file for vegetation analysis.
Instructions
Compute NDVI (Normalized Difference Vegetation Index) and save to GeoTIFF.
Parameters:
- source: input raster path.
- red_band_index: index of red band (1-based).
- nir_band_index: index of near-infrared band (1-based).
- destination: output NDVI raster path.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
destination | Yes | ||
nir_band_index | Yes | ||
red_band_index | Yes | ||
source | Yes |
Input Schema (JSON Schema)
{
"properties": {
"destination": {
"title": "Destination",
"type": "string"
},
"nir_band_index": {
"title": "Nir Band Index",
"type": "integer"
},
"red_band_index": {
"title": "Red Band Index",
"type": "integer"
},
"source": {
"title": "Source",
"type": "string"
}
},
"required": [
"source",
"red_band_index",
"nir_band_index",
"destination"
],
"title": "compute_ndviArguments",
"type": "object"
}