Merge pull request #1042 from rionlerm/patch-1

Update formulas.py
pull/1043/head
Piero Toffanin 2021-08-27 15:12:27 +02:00 zatwierdzone przez GitHub
commit e1d04e8454
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 5 dodań i 1 usunięć

Wyświetl plik

@ -26,7 +26,11 @@ algos = {
},
'EXG': {
'expr': '(2 * G) - (R + B)',
'help': _('Excess Green Index emphasizes the greenness of leafy crops such as potatoes.',)
'help': _('Excess Green Index (derived from only the RGB bands) emphasizes the greenness of leafy crops such as potatoes.')
},
'TGI': {
'expr': '(G - 0.39) * (R - 0.61) * B',
'help': _('Triangular Greenness Index (derived from only the RGB bands) performs similarly to EXG but with improvements over certain environments.')
},
'BAI': {
'expr': '1.0 / (((0.1 - R) ** 2) + ((0.06 - N) ** 2))',