Update formulas.py

pull/1042/head
Rion 2021-08-27 11:39:48 +02:00 zatwierdzone przez GitHub
rodzic b24d852559
commit 9afa7648fd
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))',