msavi
- eolab.georastertools.processing.algo.msavi(bands: ndarray) ndarray[source]
Compute the Modified Soil Adjusted Vegetation Index of the input data. The coefficient ranges from -1 to 1 in each pixel.
grdtbrbr The function considers the bands of the input data in the following order : Red, NIR (Near Infra-Red).
\[\begin{split}MSAVI = \frac{(NIR - RED) (1 + L)} {NIR + RED + L} \\\end{split}\]With : \(L = 1 - 2 * 0.4 * NDVI * WDVI\)
- Parameters:
input_data (np.ndarray) – A 3D numpy array of shape (number of bands, number of lines, number of columns) where number of bands > 1.
- Returns:
A 2D numpy array of shape (number of lines, number of columns) containing the computed MSAVI values.
- Return type:
np.ndarray
References