WDVI Algorithm Specification |

### WDVI

The Weighted Difference Vegetation Index algorithm was introduced by Clevers (1988).
This has a relationship to PVI similar to the relationship IPVI has to NDVI.
WDVI is a mathematically simpler version of PVI, but it has an unrestricted range.
Like PVI, WDVI is very sensitive to atmospheric variations (Qi et al., 1994).

The WDVI results from the following equation:

WDVI = (IR_factor * near_IR - g * red_factor * red)

where: g is the slope of the soil line.

### WDVI-Flags

Also the processor computes an additional flags band called 'wdvi_flags' with the following bit coding:

Bit Position | Description
--- | ---
Bit 0 | The computed value for WDVI is NAN or is Infinite
Bit 1 | The computed value for WDVI is less than -Infinity
Bit 2 | The computed value for WDVI is greater than Infinity