Skip to content

Commit

Permalink
Update Formulas.py - Include the MPRI index
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
vagner-silveira authored Mar 31, 2023
1 parent 3ef4c04 commit 74d82d0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/api/formulas.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)',
Expand Down

0 comments on commit 74d82d0

Please sign in to comment.