redness_index
- eolab.georastertools.processing.algo.redness_index(bands: ndarray) ndarray[source]
Compute the Redness Index of the input data.
\[RI = \frac{RED^2} {GREEN^3}\]The function considers the bands of the input data in the following order : Red, Green.
- 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 size (number of lines, number of columns) containing the computed Redness Index.