From fd2410e463dc13346c6f10728ab0502b78ae71fb Mon Sep 17 00:00:00 2001 From: Piero Toffanin Date: Wed, 18 Dec 2019 15:04:34 -0500 Subject: [PATCH] Added ENDVI, NDVI (Blue) thanks @Miguelistan --- app/api/formulas.py | 10 +++++++++- package.json | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/app/api/formulas.py b/app/api/formulas.py index c711f16c..3234a817 100644 --- a/app/api/formulas.py +++ b/app/api/formulas.py @@ -10,6 +10,14 @@ algos = { 'expr': '(N - R) / (N + R)', 'help': 'Normalized Difference Vegetation Index shows the amount of green vegetation.' }, + 'NDVI (Blue)': { + 'expr': '(N - B) / (N + B)', + 'help': 'Normalized Difference Vegetation Index shows the amount of green vegetation.' + }, + 'ENDVI':{ + 'expr': '((N + G) - (2 * B)) / ((N + G) + (2 * B))', + 'help': 'Enhanced Normalized Difference Vegetation Index is like NDVI, but uses Blue and Green bands instead of only Red to isolate plant health.' + }, 'VARI': { 'expr': '(G - R) / (G + R - B)', 'help': 'Visual Atmospheric Resistance Index shows the areas of vegetation.', @@ -82,8 +90,8 @@ algos = { camera_filters = [ 'RGB', 'RGN', - 'NRG', 'NGB', + 'NRG', 'NRB', # more? diff --git a/package.json b/package.json index ea55e663..86213ba1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "WebODM", - "version": "1.2.1", + "version": "1.2.2", "description": "Open Source Drone Image Processing", "main": "index.js", "scripts": {