top of page

Green Vegetation Detection Using NDVI


Determine the density of green on a patch of land. The pigment in plant leaves, chlorophyll, strongly absorbs visible light (from 0.4 to 0.7 µm) for use in photosynthesis. The cell structure of the leaves, on the other hand, strongly reflects near-infrared light (from 0.7 to 1.1 µm). The more leaves a plant has, the more these wavelengths of light are affected, respectively.


Normalized Difference Vegetation Index (NDVI) is the most common vegetation index where NDVI = (NIR-Red) / (NIR+Red). Values of NDVI are typically: 0.6 to 0.9 (dense vegetation), 0.2 to 0.5 (grasslands), -0.1 to 0.1 (bare soil, snow), -1.0 (deep water).


  1. Head to the ODC Sandbox (click here) and login with GitHub.

  2. Open the /examples folder.

  3. Open and run the /examples/Landing_Page.ipynb notebook block by block.

  4. In block [2], use the map interface to draw a small area of interest, and select a time frame.

  5. Review the number of tiles that will be downloaded and click "Query Cube". Less than 100 will run quickly.
  6. Run block [3], 'band_indices_aws_landsat8', and calculate NDVI for a small region inside your previous bounds.


Code/Python Notebooks

GitHub Resources

bottom of page