From ff5db6975418aa4e6c77215831371d95d8ba4c05 Mon Sep 17 00:00:00 2001 From: cvandenbergTrace Date: Thu, 7 Aug 2025 10:09:30 -0600 Subject: [PATCH] Update formulas.py https://github.com/OpenDroneMap/WebODM/issues/1722#issuecomment-3164835316 Updated equation to match online sources cited in the issues list above. --- app/api/formulas.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/formulas.py b/app/api/formulas.py index 320878bf..6bac1239 100644 --- a/app/api/formulas.py +++ b/app/api/formulas.py @@ -97,7 +97,7 @@ algos = { 'help': _('Optimized Soil Adjusted Vegetation Index is based on SAVI, but tends to work better in areas with little vegetation where soil is visible.') }, 'LAI': { - 'expr': '3.618 * (2.5 * (N - R) / (N + 6*R - 7.5*B + 1)) * 0.118', + 'expr': '3.618 * (2.5 * (N - R) / (N + 6*R - 7.5*B + 1)) - 0.118', 'help': _('Leaf Area Index estimates foliage areas and predicts crop yields.'), 'range': (-1, 1) },