brightness_index2

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

Compute the Brightness Index of the input data.

The function considers the first 3 bands of the input data to be Red, Green, Blue.

\[BI = \sqrt{ \frac{RED^2 + BLUE^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 > 2.

Returns:

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