| RCC Algorithm Specification | ![]() |
The RCC operator algorithm computes the Red
Chromatic Coordinate from a given
product.
The RCC results from the following equation:
RCC = R / (R + G + 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 'rcc_flags' with the following bit coding:
| Bit Position | Description |
|---|---|
| Bit 0 | The computed value for RCC is NAN or is Infinite |
| Bit 1 | The computed value for RCC is less than -1 (minus one) |
| Bit 2 | The computed value for RCC is greater than 1 (one) |