| GLI Algorithm Specification | ![]() |
The GLI operator algorithm computes the Green
Leaf Index from a given product.
The GLI results from the following equation:
GLI = (2.0 * G - R - B) / (2.0 * G + R + B)
, where:
The bands are:
- B is the Blue band
- G is the Green band
- R is the Red band
Also the processor computes an additional flags band called 'gli_flags' with the following bit coding:
| Bit Position | Description |
|---|---|
| Bit 0 | The computed value for GLI is NAN or is Infinite |
| Bit 1 | The computed value for GLI is less than -1 (minus one) |
| Bit 2 | The computed value for GLI is greater than 1 (one) |