| NDMI Algorithm Specification | ![]() |
The NDMI operator algorithm computes the
Normalized Difference
Moisture Index from a given
product.
The NDMI results from the following equation:
NDMI = (N - S1) / (N + S1)
, where:
The bands are:
- N is the NIR band
- S1 is the SWIR 1 band
Also the processor computes an additional flags band called 'ndmi_flags' with the following bit coding:
| Bit Position | Description |
|---|---|
| Bit 0 | The computed value for NDMI is NAN or is Infinite |
| Bit 1 | The computed value for NDMI is less than -1 (minus one) |
| Bit 2 | The computed value for NDMI is greater than 1 (one) |