Add vNDVI to formulas.py

vNDVI is a new RGB/Visible index derived from a genetic algorithm trained against citrus, grap, and sugarcane crop data.

The index is not normalized, so much care has to be taken when applying it as values will exceed the expected 0-1 range.

Reference paper:  
https://www.sciencedirect.com/science/article/pii/S016816991932383X

Requested by:  
Patrick Cochard
pull/1082/head
Saijin-Naib 2021-10-28 11:26:12 -04:00 zatwierdzone przez GitHub
rodzic e5ac6280f7
commit aa306dc94f
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -19,6 +19,10 @@ algos = {
'expr': '((N + G) - (2 * B)) / ((N + G) + (2 * B))',
'help': _('Enhanced Normalized Difference Vegetation Index is like NDVI, but uses Blue and Green bands instead of only Red to isolate plant health.')
},
'vNDVI':{
'expr': '0.5268*((R ^ -0.1294) * (G ^ 0.3389) * (B ^ -0.3118))
'help': _('Visible NDVI is an un-normalized index for RGB sensors using constants derived from citrus, grape, and sugarcane crop data.")
},
'VARI': {
'expr': '(G - R) / (G + R - B)',
'help': _('Visual Atmospheric Resistance Index shows the areas of vegetation.'),