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