savi

eolab.georastertools.processing.algo.savi(bands: ndarray) ndarray[source]

Compute the Soil Adjusted Vegetation Index The coefficient ranges from -1 to 1 in each pixel.

The function considers the bands of the input data in the following order : Red, NIR (Near Infra-Red).

\[SAVI = \frac{(NIR - RED) (1 + 0.5)}{NIR + RED + 0.5}\]
Parameters:

input_data (np.ndarray) – Numpy array of 3 dimensions (number of bands, number of lines, number of columns) with number of bands > 1.

Returns:

Numpy array of the size (number of lines, number of columns) containing the computed SAVI.

References

Huete A.R., 1988. A soil-adjusted vegetation index (SAVI). Remote Sens Environ 25:295-309