From 74d82d09cb81a24c031b2f0554d595851d18da9e Mon Sep 17 00:00:00 2001 From: Vagner Silveira <67110743+vagner-silveira@users.noreply.github.com> Date: Fri, 31 Mar 2023 10:18:00 -0400 Subject: [PATCH] Update Formulas.py - Include the MPRI index I would like to suggest the inclusion of the MPRI vegetative index (Modified Photochemical Reflectance Index), as it has a 90% correlation with the NDVI in studies carried out for use in large cultures here in Brazil, with RGB cameras. the code would be just below the VARI index on lines 47 to 52. --- app/api/formulas.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/api/formulas.py b/app/api/formulas.py index b98ad1da8..8feb2ff33 100644 --- a/app/api/formulas.py +++ b/app/api/formulas.py @@ -44,6 +44,11 @@ 'expr': '(G - R) / (G + R - B)', 'help': _('Visual Atmospheric Resistance Index shows the areas of vegetation.'), 'range': (-1, 1) + }, + 'MPRI': { + 'expr': '(G - R) / (G + R)', + 'help': _('Modified Photochemical Reflectance Index'), + 'range': (-1, 1) }, 'EXG': { 'expr': '(2 * G) - (R + B)',