SAVI
Resumen
Calculates the Soil Adjusted Vegetation Index (SAVI) from a multiband raster object and returns a raster object with the index values.
Debate
The Soil-Adjusted Vegetation Index (SAVI) method is a vegetation index that attempts to minimize soil brightness influences using a soil-brightness correction factor. This is often used in arid regions where vegetative cover is low, and it outputs values between -1.0 and 1.0.
\(SAVI \space = \space ((NIR \space - \space Red)/(NIR \space + \space Red \space + \space L)) \space * \space (1 \space + \space L)\)
- L—The amount of green vegetation cover. For example, 0.5.
For information about other multiband raster indexes, see the Band Arithmetic raster function.
The referenced raster dataset for the raster object is temporary. To make it permanent, you can call the raster object's save method.
Sintaxis
SAVI(raster, {nir_band_id}, {red_band_id}, {l})
| El parámetro | Explicación | Tipo de datos |
|---|---|---|
|
raster |
The input raster. |
Raster |
|
nir_band_id |
The band ID of the near-infrared band. The ID index uses one-based indexing. The default value is 7. |
Integer |
|
red_band_id |
The band ID of the red-edge band. The band ID index uses one-based indexing. The default value is 6. |
Integer |
|
l |
The amount of green vegetative cover. The default value is 0.33. |
Double |
Valor de retorno
| Tipo de datos | Explicación |
|---|---|
|
Raster |
The output raster with SAVI index values. |
Muestra de código
Calculates the Soil Adjusted Vegetation Index for a Landsat 8 image.
import arcpy
SAVI_raster = arcpy.sa.SAVI("Landsat8.tif",5,4,0.5)