/Vegetation-Indexes

A python script to apply VARI,GLI and VIGREEN vegetation indexes in a set of user defined images

Primary LanguagePython

What it is

A python script to apply VARI,GLI and VIGREEN vegetation indexes in a set of user defined images. Outputs colomapped and grayscale images of the results.

How to use it

In your virtual enviroment run pip install -r requirements.txt to install the packages used in the script

In the folder input images place the images you want to use. There are 15 sample images in that folder in case you want to run the script with some test images. Delete or remove them if you want to place your own images.

Run python indexes.py to run the script

The output images will be stored in a folder named output images after the script terminates

Samples

Original image

1jpg

Results after using VARI index(colormap image)

1jpg_colormap

Results after using VARI index(grayscale image)

1jpg_grayscale

Results after using GLI index(colormap image)

1jpg_colormap

Results after using GLI index(grayscale image)

1jpg_grayscale

Results after using VI index(colormap image)

1jpg_colormap

Results after using VI index(grayscale image)

1jpg_grayscale