GithubHelp home page GithubHelp logo

ndvi_calculation's Introduction

NDVI_calculation

Introduction

Normalized Difference Vegetation Index (NDVI) quantifies vegetation by measuring the difference between near-infrared (which vegetation strongly reflects) and red light (which vegetation absorbs). Its value ranges from -1 to 1. The formula for calculation of NDVI is:

This program can be used to:

  1. Crop imagery to the study area extent
  2. Calculate NDVI values from landsat imagery
  3. Compare the ndvi values of different periods
  4. Visualise the difference of different time periods using subplotting.

The initial user interface of this program looks as shown below:

There are two canvas in this UI namely: Button canvas and Main Canvas, whose contents are described below:

Button canvas

Button canvas holds five buttons whose tasks are as follows:

  1. Add: A user shall input the required georeferenced imageries from the local directories. Two imageries(NIR and Red band) of one time (say summer) and two of other imageries (say winter) are preferred.

  2. Calculate: After clicking this button, another interface appears as shown below. Please choose the input Red band and NIR band imagery in the respective section and press "calculate and Save As button " to calculate and save NDVI imagery to your desired location.

  3. Compare: For comparing the NDVI values of two time frames, first calculate the NDVI values using Calculate button for the two timespace.After you click the Clickbutton a new interface appears, where you need to choose the NDVI imagery of two periods calculated from dropdown buttons

  4. Subplot: A interface containing space for three inputs appears after you click Sub Plot button. Please choose two calculated NDVI values and the compared image from respective dropdown buttons to view the difference between NDVI values and the amount changed during the gap

  5. Mask image: After you click this Mask Image button, a new interface containing three button appears.Firstly, open the shapefile of your region of intererst using Open Shape File button, secondly open the georeferenced imagery using Open Tif File button, and then press Mask and Save As button to mask the imagery with the shapefile and save it to your desired local directory.

Main canvas

The main canvas is for holding the input image and outputs from the program. A user can click on the files to view the imagery on another window. For clear visualization of the main canvas and flow of program, a tutorial video in the 'gif format' is presented below: Manual

ndvi_calculation's People

Watchers

Asim Shrestha avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.