brightness_index

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

Compute the Brightness Index of the input data.

The function considers the first 2 bands of the input data to be Red and Green.

\[BI = \sqrt{ \frac{RED^2 + GREEN^2} {2} }\]
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 Brightness Index.